{
"name": "Fish",
"desc": "Fish aquarium example",
"vars": {
"sf": "#random(@smin, @smax)",
"wf": "@fishw * @sf",
"hf": "@fishh * @sf",
"xf": "#random(0, @w - @wh)",
"yf": "#random(0, @h - @hf)",
"url": "@resources/fish#random(1,5).png"
},
"layers": [
{
"use": "sprite.pmod",
"x": "@xf",
"y": "@yf",
"width": "@wf",
"height": "@hf"
}
]
}