Action Index

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

cesareborgia94
Inhabitant of a Continent
Reactions:
Posts: 1277
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: Action Index

#21

Post by cesareborgia94 » Wed Jul 04, 2018 20:14

Thank you all for explaining :)
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 :(

ElephantEthan
Inhabitant of a Megacity
Reactions:
Posts: 294
Joined: Sun Aug 26, 2018 14:07
Plugins: Show

Platform

Re: Action Index

#22

Post by ElephantEthan » Tue Sep 04, 2018 19:58

Any way to make a building place water?

Code: Select all

"actions":[{"type":"build","id":"$water00","x":1}]
Doesn't build anything.

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 793
Joined: Sun May 28, 2017 0:07
Location: On an xkcd binge
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Action Index

#23

Post by FranchuFranchu » Tue Sep 04, 2018 23:41

ElephantEthan wrote:
Tue Sep 04, 2018 19:58
Any way to make a building place water?

Code: Select all

"actions":[{"type":"build","id":"$water00","x":1}]
Doesn't build anything.
Also related: Any way to remove and place terrain?
Did you know you can't blink while smiling :) ?

User avatar
Kulche
Inhabitant of a Country
Reactions:
Posts: 971
Joined: Wed Jun 07, 2017 20:28
Location: 2hot2tell
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Action Index

#24

Post by Kulche » Sat Sep 15, 2018 11:57

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!
...blame lobby for that

User avatar
CommanderABab
AB
Reactions:
Posts: 7910
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Action Index

#25

Post by CommanderABab » Sat Sep 15, 2018 16:06

Road frames update automatically with map rotation.
777!777Currently using alpha 777. 777 What's new? :)
online maps!!
:)

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

User avatar
Kulche
Inhabitant of a Country
Reactions:
Posts: 971
Joined: Wed Jun 07, 2017 20:28
Location: 2hot2tell
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Action Index

#26

Post by Kulche » Sat Sep 15, 2018 18:27

I haven't mean rotation of map.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

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

Platform

Plugin Creator

Re: Action Index

#27

Post by KINGTUT10101 » Thu Oct 24, 2019 2:25

Is there a way to set the performance of a building with Lua?

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

Platform

Re: Action Index

#28

Post by Lobby » Sun Oct 27, 2019 16:24

Right now there is no easy function for that. However, you could use:

Code: Select all

City.getCity():getTile(x, y).building:setPerformance(performance)
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.
...Have a nice stay

Imran M
Inhabitant of a Conurbation
Reactions:
Posts: 530
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Platform

Plugin Creator

Re: Action Index

#29

Post by Imran M » Mon Oct 28, 2019 22:13

There's 2 toasts.

I like toast, but this is one toast too many.
https://m.youtube.com/watch?v=AqpYHdv3S00 gives 404 error.

Post Reply Previous topicNext topic

Return to “Fun attribute”