Farms and Harbors

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
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

#1

Post by KINGTUT10101 »

Will we ever have the ability to make farm or harbor plug-ins?

User avatar
CommanderABab
AB
Posts: 11252
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

#2

Post by CommanderABab »

It's there now.

Farms, I don't know. I've put water pumps there before. You have to wait for them.

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#3

Post 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".

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”