Polestar
Polestar is a free, open-source leveling guide addon for WoW: Forever: an in-game arrow and leveling routes that make sense for every race 1 to 60, plus class quests.
翻译准备中
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Helmod: Assistant for planning your factory: Updated
翻译准备中
正在加载完整 README。
查看完整 README ↗Use current profiler and JSON helpers and valid prototype debug fields; retain planning models, users and caches during ownership migration.
This derivative retains the upstream prototype, setting and remote-interface names. Factorio 2.1.24 or later is required. Native ownership migration replaces the original mod ID; do not enable both IDs together. Existing saved state is adopted as a whole. Conflicting existing destination state is rejected rather than silently overwritten.
Upstream authors, licenses and notices remain included. See the source history and changelog for the compatibility changes.
Mod Portal · Fork source · Full mod documentation
This a mod for Factorio: Mod Page
Data model here
To see the data in the game, open Helmod, click on Admin icon, choose Global tab
Name of remote interface helmod_interface
Use remote.call from your mod for request data
Methodes:
To traverse the model, start with the root block model.block_root and to traverse each block block.children
Data Class:
recipe is native recipe of Factorio, otherwise is custom recipeExamples:
-- return all models
local data = remote.call("helmod_interface", "get_models")
---Traverse model to append products and ingredients on each recipe
---@param data ModelData | BlokcData | RecipeData
function UnitTestPanel:loopDataRemoteAPI(data)
if data.class == "Model" then
for _, child in pairs(data.block_root.children) do
self:loopDataRemoteAPI(child)
end
elseif data.class == "Block" then
for _, child in pairs(data.children) do
self:loopDataRemoteAPI(child)
end
elseif data.class == "Recipe" then
local recipe = remote.call("helmod_interface", "get_recipe", data)
data.products = recipe.products
data.ingredients = recipe.ingredients
end
end