Making additional farming field

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Making additional farming field

#1

Post by mdk_813 »

Hi there,
I've created two new farm field types which are currently mere decorations and I would like to ask, if it is possible to turn them into proper farming fields. So, they should grow alongside the ingame farming fields and, ideally, also show up in the industrial menu in sandbox mode. And, of course, the should also have the same gameplay effect as the other fields.
The fields are 1x1 and rotational aware, albeit with only two different views (like: A-B-A-B).
Is this possible and how would I be able to achieve it?

Thanks!

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

Platform

Re: Making additional farming field

#2

Post by Lobby »

Currently not possible, but will be added.

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Making additional farming field

#3

Post by mdk_813 »

@Lobby
Hm, okay.
Would you want to add them yourself then now? As a donation so to speak?

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

Platform

Re: Making additional farming field

#4

Post by Lobby »

I would like to add any donation that fits into the game :bc

Here is a sample that shows how you can define it yourself in the future:

Code: Select all

[
  {
    "id":"$my_own_farmfield00",
    "type":"farm",
    "width":1,
    "height":1,
    "frames":[{...}], // Provide 4 frames for all 4 roatations
    "rotation aware":true,
    "auto build":false, // Ensures that it won't be built as farm building on it's own
    "water":0,
    "power":0,
    "needs road":false,
    "build time":0,
    "meta":{ // That's the essential part that tells the game that this is a "decoration" for farm buildings
      "tags":{
        "farm field":{}
      }
    }
  }
]
It's a bit more complicated as you have to configure it's properties manually. However, I think that shouldn't be an issue by using Copy'n'Paste.

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: Making additional farming field

#5

Post by 22Alpha »

What is the meta flag/tag for residential, commercial and industrial?

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: Making additional farming field

#6

Post by 22Alpha »

Oh thanks Mr. @former member. It is code for deco/meta, right? Just to be sure I'm not misinterpreted.

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

Plugin Creator

Platform

Re: Making additional farming field

#7

Post by CommanderABab »

No. There might not be "meta" for them.

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: Making additional farming field

#8

Post by 22Alpha »

Oh, so it was wrong.

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: Making additional farming field

#9

Post by 22Alpha »

Okay haha

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”