Farms and Harbors
Moderators: Scenario Moderators, Plugin Moderators
- KINGTUT10101
- 1,000,000 inhabitants
- Posts: 2228
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Farms and Harbors
Will we ever have the ability to make farm or harbor plug-ins?
- CommanderABab
- AB
- Posts: 11252
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- Lobby
- Developer
- Posts: 3719
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
I think it should be possible...
A farm is just a building of type "farm".
A farm field may look like
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".
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
},
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".