Module:Sandbox/FalterTest: Difference between revisions

From Melvor Idle
(testing stuff in Lua)
 
(Blanked the page)
Tag: Blanking
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
local p = {}


function p.test(frame)
    local thing = mw.text.jsonDecode('{"id":0,"category":"Thieving","type":"Logs","name":"Normal Logs","sellsFor":1,"media":"assets/media/bank/logs_normal.svg?2","masteryID":[2,0],"firemakingID":0}')
    --local thing = {Name = "Blah", Number = 7}
    mw.logObject(thing)
    mw.log(mw.text.jsonEncode(thing))
    mw.log("Doing stuff")
    return 7
end
return p

Latest revision as of 22:26, 29 June 2024

Documentation for this module may be created at Module:Sandbox/FalterTest/doc