Custom wire/pipe

Learn here how to create and use plugins.

Moderators: Plugin Moderators, Scenario Moderators

User avatar
NotPFA
Townsman
Posts: 70
Joined: 28 Jan 2023, 17:34
Plugins: Showcase Store

Plugin Creator

Platform

Custom wire/pipe

#1

Post by NotPFA »

Code: Select all    Reset

[
{
"id":"$custom_wire00",
"type":"wire",
"width":1,
"height":1,
"frames":[
{"bmp":"wire.png","w":32,"h":32,"count":16},
{"bmp":"wire.png","y":32,"w":32,"h":32,"count":16}
],
"spacing":3,
"max spacing":8,
"price":30,
"monthly price":0,
"connectable":false,
"level":0,
"power":-0.1,
"water":0,
"energy radius":5,
"super conductive":false
},
{
"id":"$custom_pipe00",
"type":"pipe",
"frames":[{"bmp":"pipe.png","w":32,"count":16}],
"price":50,
"water radius":4
}
]
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...
wire.png
wire.png (7.61 KiB) Viewed 3410 times
pipe.png
pipe.png (5.69 KiB) Viewed 3408 times

User avatar
NotPFA
Townsman
Posts: 70
Joined: 28 Jan 2023, 17:34
Plugins: Showcase Store

Plugin Creator

Platform

Re: Custom wire/pipe

#2

Post by NotPFA »

The last 16 wire frames are rarely used by the game

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”