Page 4 of 11

Re: Advanced tags for building plugins

Posted: 16 Jan 2018, 02:00
by Lobby
@JustAnyone any building can have a build time

@former member regarding power and water, isn't it the needed amount?

Sorry for the long delay in my answer, there are so many things to do...

Re: Advanced tags for building plugins

Posted: 16 Jan 2018, 13:46
by Lobby
Next version of the game will contain two new building attributes:

Code: Select all

"people":1234,  // Replaces habitants and workers-attributes; interpretation depends on building type
"pickable":false  // Cannot be picked by the eye dropper tool

Re: Advanced tags for building plugins

Posted: 16 Jan 2018, 15:17
by JustAnyone
Yes. That new attribute is for my broccoli stuff.

Re: Advanced tags for building plugins

Posted: 16 Jan 2018, 18:41
by Lobby
@former member I've learnt that removing plugin functionality is a really bad idea :space

Re: Advanced tags for building plugins

Posted: 21 Feb 2018, 23:13
by Lobby
Thank you, both variants will work in the future.

Re: Advanced tags for building plugins

Posted: 09 Apr 2018, 20:24
by cesareborgia94
@Lobby, sorry for bothering you, but can you explain more on recent plugin tags such as "rebuild" and "icon frames" attribute introduced recently? Just needed explainations on how to use them...

Re: Advanced tags for building plugins

Posted: 09 Apr 2018, 20:31
by CommanderABab

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.

Re: Advanced tags for building plugins

Posted: 10 Apr 2018, 00:11
by BetterBear
CommanderABab wrote:
09 Apr 2018, 20:31

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.
Is there an option to set a building in rebuild mode in the game?

Re: Advanced tags for building plugins

Posted: 10 Apr 2018, 01:22
by CommanderABab
No, ...

Re: Advanced tags for building plugins

Posted: 10 Apr 2018, 08:01
by Lobby
Exactly @CommanderABab :bc

Rebuild mode is on my default for all buildings. To prevent rebuilding manually you can make them untouchable.

Re: Advanced tags for building plugins

Posted: 23 Apr 2018, 20:57
by KINGTUT10101
Would it be possible for me to make a road that can only be placed in water @Lobby ?

Re: Advanced tags for building plugins

Posted: 23 Apr 2018, 21:07
by CommanderABab
Roads can't be placed on water only bridges.

Re: Advanced tags for building plugins

Posted: 02 May 2018, 03:03
by FranchuFranchu
You should update the first post to make it a list of all tags
@Lobby

Re: Advanced tags for building plugins

Posted: 02 May 2018, 12:08
by Lobby
It is a list :bq

Re: Advanced tags for building plugins

Posted: 03 May 2018, 00:22
by FranchuFranchu
I mean, to add the new tags like "population", "droppable" and others.

Re: Advanced tags for building plugins

Posted: 20 May 2018, 10:45
by PrathamK
The Influence key words List is Whole repeated from "influence pollution".

Re: Advanced tags for building plugins

Posted: 20 May 2018, 17:22
by FranchuFranchu
Fixed :bc

Re: Advanced tags for building plugins

Posted: 22 May 2018, 10:46
by PrathamK
:json How to add Monthly Income?
:bd Diamonds as price instead of Theos?
:bb Negative Values of monthly Price don't work.

Re: Advanced tags for building plugins

Posted: 22 May 2018, 13:05
by JustAnyone
You cant add income because it could be used as a way to cheat.

Re: Advanced tags for building plugins

Posted: 22 May 2018, 15:38
by cesareborgia94
Then what if you want to add income to a building for instance? Maybe set game mechanics to only recognize plugins with monthly income to less than 100TT so that people would not cheat.