製作模擬器(craft.html)使用的第三方程式與資料
==============================================
1. craft/sim.js — FFXIV crafting simulator
@ffxiv-teamcraft/simulator v3.7.3 https://github.com/ffxiv-teamcraft/simulator
MIT License, Copyright (c) 2019 Flavien Normand
(原封不動打包成瀏覽器用的單一檔案)
2. craft/raphael.wasm — Raphael crafting solver
raphael-rs https://github.com/KonaeAkira/raphael-rs
Apache License 2.0(全文:https://www.apache.org/licenses/LICENSE-2.0)
修改:
- 新增一個最小的 C-ABI 介面(raphael-wasm-min),讓它可以在一般的 Web Worker 裡執行,不需要 wasm-bindgen。
- raphael-solver/src/utils/mod.rs:在 wasm32 上停用 ScopedTimer(它只用來記錄 log 時間)。
其餘求解邏輯沒有改動。
3. craft/quick-solver.js — 快速版求解(本站自寫)
其中的製作規則對照 raphael-rs 的 raphael-sim(Apache-2.0)重寫成 JavaScript。
4. data/craft-data.js、data/craft-recipes.js — 技能、配方、食物、藥水資料
來源:FFXIV Teamcraft 資料(https://github.com/ffxiv-teamcraft/ffxiv-teamcraft,MIT)
5. 技能與職業圖示:XIVAPI(https://v2.xivapi.com),遊戲素材版權屬於 SQUARE ENIX。