Code: Select all
"actions":[{"type":"action name",...},...],
id, x, y, z, x2, y2, frame, invert, ignore, level,inner
Moderator: Plugin Moderators
Code: Select all
"actions":[{"type":"action name",...},...],
Code: Select all
"on click fun":[
{
"actions":[{"type":"disaster","id":"nuke"}]
}
]
Code: Select all
"on event fun":[
{"actions":[{"type":"burn","x":0,"y":1}],"always":true,"ignore success":true},
{"actions":[{"type":"burn","x":0,"y":-1}],"always":true,"ignore success":true},
{"actions":[{"type":"burn","x":1,"y":0}],"always":true,"ignore success":true},
{"actions":[{"type":"burn","x":-1,"y":0}],"always":true,"ignore success":true}
],
In a json code, may be used for napalms because we can produce big fires
Code: Select all
"fun":[
{
"actions":[
{
"type":"disaster", //Makes fun disastrous
"id":"nuke", //Shoots nuke at x and y \/ look down there\/
"x":10,
"y":-10 //Specifies location
}
]
}
]
Does it apply to crime as well?Kulche wrote: ↑04 Jul 2018, 19:16For disaster action, it summons chosen disaster (earthquake, meteor, nukes, etc.) at random or specified location.Code: Select all
"fun":[ { "actions":[ { "type":"disaster", //Makes fun disastrous "id":"nuke", //Shoots nuke at x and y \/ look down there\/ "x":10, "y":-10 //Specifies location } ] } ]
Code: Select all
"actions":[{"type":"toast","id":"Hi, I am some text!"}]
Code: Select all
"actions":[{"type":"toast","id":"The value of the variable is ${$myvar}"}]