Making additional farming field
Moderator: Plugin Moderators
- 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
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!
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!
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Making additional farming field
I would like to add any donation that fits into the game
Here is a sample that shows how you can define it yourself in the future:
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.
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":{}
}
}
}
]
Re: Making additional farming field
What is the meta flag/tag for residential, commercial and industrial?
Re: Making additional farming field
Oh thanks Mr. @former member. It is code for deco/meta, right? Just to be sure I'm not misinterpreted.
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Making additional farming field
No. There might not be "meta" for them.
Re: Making additional farming field
Oh, so it was wrong.
Re: Making additional farming field
Okay haha