
Action Index
Moderator: Plugin Moderators
-
- Inhabitant of a Planet
- Reactions:
- Posts: 1306
- Joined: Sun Nov 12, 2017 9:23
- Location: The Kingdom of Babilandia
- Plugins: Show
- Version: Beta
Re: Action Index
Thank you all for explaining 

I rarely make plugins now, but I still make them in spare time.
Disclaimer
Disclaimer
-
- Inhabitant of a Megacity
- Reactions:
- Posts: 294
- Joined: Sun Aug 26, 2018 14:07
- Plugins: Show
Re: Action Index
Any way to make a building place water?
Doesn't build anything.
Code: Select all
"actions":[{"type":"build","id":"$water00","x":1}]
- FranchuFranchu
- Inhabitant of a Country
- Reactions:
- Posts: 798
- Joined: Sun May 28, 2017 0:07
- Location: Freezing in Argentina
- Plugins: Show
- Version: Beta
Re: Action Index
Also related: Any way to remove and place terrain?ElephantEthan wrote: ↑Tue Sep 04, 2018 19:58Any way to make a building place water?Doesn't build anything.Code: Select all
"actions":[{"type":"build","id":"$water00","x":1}]
Did you know you can't blink while smiling :) ?
Re: Action Index
Road info in build action seems bit outdated. How can I build roads at specific rotation? Also tunnels, bridges and ramps?
I'm not lazy, I'm motivated to do nothing!
...
...
- CommanderABab
- AB
- Reactions:
- Posts: 9119
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2104
- Joined: Thu Jul 07, 2016 22:50
- Location: 'Merica
- Plugins: Show
- Version: Beta
- Contact:
Re: Action Index
Is there a way to set the performance of a building with Lua?
All of my plug-ins, maps and more:
https://sites.google.com/view/retrocity ... authuser=0
YouTube channel:
https://youtube.com/c/kingtut-101
https://sites.google.com/view/retrocity ... authuser=0
YouTube channel:
https://youtube.com/c/kingtut-101
Re: Action Index
Right now there is no easy function for that. However, you could use:
with performance being a float number, 1 for 100%. The performance value will be clipped by the min and max values specified in the draft of the building.
Code: Select all
City.getCity():getTile(x, y).building:setPerformance(performance)
=^._.^= ∫
- Imran M
- Inhabitant of a Megalopolis
- Reactions:
- Posts: 716
- Joined: Wed Oct 24, 2018 13:41
- Plugins: Show
Re: Action Index
There's 2 toasts.
I like toast, but this is one toast too many.
I like toast, but this is one toast too many.
I have no clue what's happening this year