Page 1 of 1
Re: Types for plug-ins
Posted: 11 Jul 2017, 10:51
by Lobby
- Anything with type "water" will be visible in the water tab, so you may use this for the filter plant. In order to give it cleaning functionality, use thise
- Try it with "award"
- It's type "bus stop", but I have no idea whether it works. Give it some influence and capacity
Code: Select all
"influence passenger bus": 12,
"capacity": 32
Re: Types for plug-ins
Posted: 11 Jul 2017, 11:39
by iborrobi
Is it possible to make plugin that can only be build after receiving a title? For ex: statue =village.... If possible, what code should i use?
Re: Types for plug-ins
Posted: 11 Jul 2017, 11:45
by Lobby
See
this thread for basic usage of requirements.
A rank requirement may look like
Code: Select all
"requirement":{
"requirements":[
{
"type":"RANK",
"data":{
"id":"$rnk_town_medium"
}
}
]
}
Re: Types for plug-ins
Posted: 11 Jul 2017, 11:54
by iborrobi
Lobby wrote: ↑11 Jul 2017, 11:45
See
this thread for basic usage of requirements.
A rank requirement may look like
Code: Select all
"requirement":{
"requirements":[
{
"type":"RANK",
"data":{
"id":"$rnk_town_medium"
}
}
]
}
Thanks Lobby
Re: Types for plug-ins
Posted: 11 Jul 2017, 15:42
by iborrobi
former member wrote: ↑11 Jul 2017, 15:30
Lobby wrote: ↑11 Jul 2017, 10:51
It's type "bus stop", but I have no idea whether it works. Give it some influence and capacity
Code: Select all
"influence passenger bus": 12,
"capacity": 32
Is it for bus stop or for bus depot?
Anyway, thank you for help
i guess it's for bus stop, because the code has "capacity": 32
Re: Types for plug-ins
Posted: 11 Jul 2017, 15:59
by Lobby
Yes, this code is for bus stops. You cannot create bus depots by yourself.
Re: Types for plug-ins
Posted: 16 Jul 2017, 20:48
by Lobby
Code: Select all
$rnk_isolateddwelling
$rnk_village_medium
$rnk_town_medium
$rnk_city_small
$rnk_city_medium
$rnk_city_big
$rnk_metropolis
$rnk_conurbation
$rnk_megalopolis
It's planned to address ranks by level instead of id.
Re: Types for plug-ins
Posted: 23 Sep 2017, 19:23
by Lobby
New ranks introduce more rank ids. However, I recommend to express rank requirements this way now:
Code: Select all
"requirement":{"requirements":[{"type":"RANK", "data":{"lvl":0}}]}
With level 0 being the first rank (isolated dwelling).