Page 1 of 1

Riot .Json?

Posted: 02 May 2018, 05:11
by Cloaked_Gamer
I'm searching about for the source code for the riot scenario, but can't find it anywhere. I'm hoping to create a custom riot situation as a plug-in, though am not sure where to start.

Re: Riot .Json?

Posted: 02 May 2018, 06:25
by JustAnyone
Such json doesn't exist.

Re: Riot .Json?

Posted: 02 May 2018, 20:14
by Cloaked_Gamer
JustAnyone wrote:
02 May 2018, 06:25
Such json doesn't exist.
And so how does the riot take place in game?

Re: Riot .Json?

Posted: 02 May 2018, 20:29
by CommanderABab
By happiness being very low in a building.

Re: Riot .Json?

Posted: 02 May 2018, 20:35
by CommanderABab
You can make a riot happen by using this code:

Code: Select all

"on click fun":[
  {
    "actions":[{"type":"disaster","id":"riot"}]
  }
]
Example by Lobby.

Re: Riot .Json?

Posted: 02 May 2018, 20:42
by Cloaked_Gamer
CommanderABab wrote:
02 May 2018, 20:35
You can make a riot happen by using this code:

Code: Select all

"on click fun":[
  {
    "actions":[{"type":"disaster","id":"riot"}]
  }
]
Example by Lobby.

So I know how riots are <..>, but is there any way to edit them? It appears as though that isn't possible.

Re: Riot .Json?

Posted: 02 May 2018, 21:04
by CommanderABab
No, I don't think that you can edit how the riot functions.

Re: Riot .Json?

Posted: 02 May 2018, 22:45
by Cloaked_Gamer
Alrighty, thanks

Re: Riot .Json?

Posted: 03 May 2018, 00:04
by DobermanKaiser
CommanderABab wrote:
02 May 2018, 21:04
No, I don't think that you can edit how the riot functions.
I bet you could, just have to ask lobby and a lot of work

Re: Riot .Json?

Posted: 03 May 2018, 00:08
by CommanderABab
A plugin could keep a riot going all the time, so I see no reason to change how the riot itself functions.