Module:Recipes: Difference between revisions
From Guinea Isles Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
-- Handles logic for the various crafting recipes in the game. | -- Handles logic for the various crafting recipes in the game. | ||
-- Using json databas Module:Recipes/data.json | -- Using json databas Module:Recipes/data.json | ||
local | local data = mw.loadJsonData( "/data.json" ) | ||
return data | |||
Revision as of 14:17, 20 September 2025
Module:Recipes is a module designed around managing the data of in-game recipes of all kinds. It allows users to query Module:Recipes/data.json, which contains this information in JSON format.
Functions
-- Handles logic for the various crafting recipes in the game.
-- Using json databas Module:Recipes/data.json
local data = mw.loadJsonData( "/data.json" )
return data