[Asked][1.9.20a] Fun code is not working.

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
choggoba
Townsman
Reactions:
Posts: 50
Joined: 20 Jul 2018, 08:30
Location: Korea
Plugins: Showcase Store

Platform

[Asked][1.9.20a] Fun code is not working.

#1

Post by choggoba »

I tried to build a one-way bus stop.
But unlike the road decorations, it was impossible to change the frame of the bus stop.

But I found it possible to overlap bus stops and road decorations in one location.

So I made a transparent bus stop and a road-decorated version of a bus stop and made a fun code that overlaps with it, but it doesn't work.

plz help me TT

Code: Select all    Reset

{"id":"$bus_stop_01_1_choggoba","type":"animation","frames":[{"bmp":"bus_stop.png","x":0,"w":32,"handle y":15}]}, {"id":"$bus_stop_01_2_choggoba","type":"animation","frames":,"handle y":15}]}, ... { "id":"$bus_stop_01_roaddeco_choggoba", "type":"road decoration", "title":"bus stop(one way)", "animation fg":[ {"id":"$bus_stop_01_1_choggoba"}, {"id":"$bus_stop_01_3_choggoba"} ], "frame animation fg indices":[ [],[0],[],[0], [0],[0],[0,1],[0], [1],[],[],[], [],[],[1],[], ... { "id": "$bus_stop_choggoba", "type":"bus stop", "frames": [ { {"bmp":"bus_stop.png","x":32,"y":23,"w":32,"h":23}, {"bmp":"bus_stop.png","x":32,"y":23,"w":32,"h":23}, {"bmp":"bus_stop.png","x":32,"y":23,"w":32,"h":23}, {"bmp":"bus_stop.png","x":32,"y":23,"w":32,"h":23}, {"bmp":"bus_stop.png","x":32,"y":23,"w":32,"h":23} ... ] "width": 1,"height": 1,"influence passenger bus": 30, "capacity": 32,"price":800, "fun":[{ "actions":[{"type":"build","id":"$bus_stop_01_roaddeco_choggoba","x":0,"y":0}] }] } ]
JSON checker
Check
busstop.zip
(2.61 KiB) Downloaded 91 times
Screenshot_20200812-115804_TheoTown.jpg

Return to “Problems”