Advanced tags for building plugins

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#76

Post by Lobby » Tue Jan 16, 2018 2:00

[mention]JustAnyone[/mention] any building can have a build time

[mention]former member[/mention] 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...
...Have a nice stay

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#77

Post by Lobby » Tue Jan 16, 2018 13:46

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
...Have a nice stay

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2581
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Advanced tags for building plugins

#78

Post by JustAnyone » Tue Jan 16, 2018 15:17

Yes. That new attribute is for my broccoli stuff.

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#79

Post by Lobby » Tue Jan 16, 2018 18:41

[mention]former member[/mention] I've learnt that removing plugin functionality is a really bad idea :space
...Have a nice stay

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#80

Post by Lobby » Wed Feb 21, 2018 23:13

Thank you, both variants will work in the future.
...Have a nice stay

User avatar
cesareborgia94
Inhabitant of a Continent
Reactions:
Posts: 1232
Joined: Sun Nov 12, 2017 9:23
Location: The Kingdom of Babilandia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy 360H

Platform

Plugin Creator

Re: Advanced tags for building plugins

#81

Post by cesareborgia94 » Mon Apr 09, 2018 20:24

[mention]Lobby[/mention], 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...
I rarely make plugins now, but I still make them in spare time.
Disclaimer Please no request, I'm busy with real life stuff, I hope you understand ;)
You can find me here only. Discord is sh**, sorry JA :(

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7478
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#82

Post by CommanderABab » Mon Apr 09, 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.
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2888
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone model: Have 3, all too long

Platform

Re: Advanced tags for building plugins

#83

Post by BetterBear » Tue Apr 10, 2018 0:11

CommanderABab wrote:
Mon Apr 09, 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?
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7478
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#84

Post by CommanderABab » Tue Apr 10, 2018 1:22

No, ...
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#85

Post by Lobby » Tue Apr 10, 2018 8:01

Exactly [mention]CommanderABab[/mention] :bc

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

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1876
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: Advanced tags for building plugins

#86

Post by KINGTUT10101 » Mon Apr 23, 2018 20:57

Would it be possible for me to make a road that can only be placed in water [mention]Lobby[/mention] ?

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7478
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#87

Post by CommanderABab » Mon Apr 23, 2018 21:07

Roads can't be placed on water only bridges.
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 781
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#88

Post by FranchuFranchu » Wed May 02, 2018 3:03

You should update the first post to make it a list of all tags
[mention]Lobby[/mention]
Doing nothing productive, at all
......Affirmative=Positive=True=Yeah=Yes=OK=K=Potassium=K=0°K=-237°C

User avatar
Lobby
Developer
Reactions:
Posts: 3327
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#89

Post by Lobby » Wed May 02, 2018 12:08

It is a list :bq
...Have a nice stay

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 781
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#90

Post by FranchuFranchu » Thu May 03, 2018 0:22

I mean, to add the new tags like "population", "droppable" and others.
Doing nothing productive, at all
......Affirmative=Positive=True=Yeah=Yes=OK=K=Potassium=K=0°K=-237°C

PrathamK
Settler
Reactions:
Posts: 6
Joined: Tue Mar 06, 2018 14:29
Plugins: Show
Phone model: Xiaomi Redmi Note 4

Re: Advanced tags for building plugins

#91

Post by PrathamK » Sun May 20, 2018 10:45

The Influence key words List is Whole repeated from "influence pollution".

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 781
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#92

Post by FranchuFranchu » Sun May 20, 2018 17:22

Fixed :bc
Doing nothing productive, at all
......Affirmative=Positive=True=Yeah=Yes=OK=K=Potassium=K=0°K=-237°C

PrathamK
Settler
Reactions:
Posts: 6
Joined: Tue Mar 06, 2018 14:29
Plugins: Show
Phone model: Xiaomi Redmi Note 4

Re: Advanced tags for building plugins

#93

Post by PrathamK » Tue May 22, 2018 10:46

:json How to add Monthly Income?
:bd Diamonds as price instead of Theos?
:bb Negative Values of monthly Price don't work.

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2581
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Advanced tags for building plugins

#94

Post by JustAnyone » Tue May 22, 2018 13:05

You cant add income because it could be used as a way to cheat.

User avatar
cesareborgia94
Inhabitant of a Continent
Reactions:
Posts: 1232
Joined: Sun Nov 12, 2017 9:23
Location: The Kingdom of Babilandia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy 360H

Platform

Plugin Creator

Re: Advanced tags for building plugins

#95

Post by cesareborgia94 » Tue May 22, 2018 15:38

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.
I rarely make plugins now, but I still make them in spare time.
Disclaimer Please no request, I'm busy with real life stuff, I hope you understand ;)
You can find me here only. Discord is sh**, sorry JA :(

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest