Модуль:WikiBotADT/prototypes/entity sprite.json/data

Материал из Adventure Station
Версия от 20:57, 17 марта 2025; Eddiemercury (обсуждение | вклад) (Новая страница: «local title = mw.title.new("User:WikiBotADT/prototypes/entity_sprite.json", "User") local content = title and title:getContent() or "" local success, data = pcall(mw.text.jsonDecode, content) if not success or type(data) ~= "table" then data = {} end return data»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Для документации этого модуля может быть создана страница Модуль:WikiBotADT/prototypes/entity sprite.json/data/doc

local title = mw.title.new("User:WikiBotADT/prototypes/entity_sprite.json", "User")
local content = title and title:getContent() or ""

local success, data = pcall(mw.text.jsonDecode, content)
if not success or type(data) ~= "table" then
    data = {}
end

return data