Page 1 of 1
Farms and Harbors
Posted: 21 Apr 2017, 04:53
by KINGTUT10101
Will we ever have the ability to make farm or harbor plug-ins?
Posted: 21 Apr 2017, 05:06
by CommanderABab
It's there now.
Farms, I don't know. I've put water pumps there before. You have to wait for them.
Posted: 21 Apr 2017, 09:29
by Lobby
I think it should be possible...
A farm is just a building of type "farm".
A farm field may look like
Code: Select all
{
"id":"$farmfield00",
"type":"farm",
"width":1,
"height":1,
"frames":[{"x":384,"y":256,"w":32,"h":16,"count":4},{"x":384,"y":272,"w":32,"h":16,"count":4}],
"rotation aware":true,
"auto build":false,
"water":0,
"power":0,
"needs road":false
},
In order to be used your own farm tile has to be named $farmfield0x with x being 0, 1, 2 or 3 (similar to cars you currently have to replace existing fields).
You can define harbor industry by using the type "harbor ind". The tag for piers is "harbor pier", however they aren't meant to be replaced.
Although they have not much use you can define buoys with type "buoy".