Riot .Json?
Moderator: Plugin Moderators
- Cloaked_Gamer
- Settler
- Reactions:
- Posts: 5
- Joined: 01 May 2018, 21:42
- Plugins: Showcase Store
Riot .Json?
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.
- JustAnyone
- Developer
- Reactions:
- Posts: 3474
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Riot .Json?
Such json doesn't exist.
- Cloaked_Gamer
- Settler
- Reactions:
- Posts: 5
- Joined: 01 May 2018, 21:42
- Plugins: Showcase Store
Re: Riot .Json?
And so how does the riot take place in game?
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Riot .Json?
By happiness being very low in a building.
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Riot .Json?
You can make a riot happen by using this code:
Example by Lobby.
Code: Select all
"on click fun":[
{
"actions":[{"type":"disaster","id":"riot"}]
}
]
- Cloaked_Gamer
- Settler
- Reactions:
- Posts: 5
- Joined: 01 May 2018, 21:42
- Plugins: Showcase Store
Re: Riot .Json?
CommanderABab wrote: ↑02 May 2018, 20:35You can make a riot happen by using this code:
Example by Lobby.Code: Select all
"on click fun":[ { "actions":[{"type":"disaster","id":"riot"}] } ]
So I know how riots are <..>, but is there any way to edit them? It appears as though that isn't possible.
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Riot .Json?
No, I don't think that you can edit how the riot functions.
- Cloaked_Gamer
- Settler
- Reactions:
- Posts: 5
- Joined: 01 May 2018, 21:42
- Plugins: Showcase Store
Re: Riot .Json?
Alrighty, thanks
- DobermanKaiser
- Townsman
- Reactions:
- Posts: 61
- Joined: 02 Nov 2017, 11:39
-
Platform
Re: Riot .Json?
I bet you could, just have to ask lobby and a lot of workCommanderABab wrote: ↑02 May 2018, 21:04No, I don't think that you can edit how the riot functions.
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Riot .Json?
A plugin could keep a riot going all the time, so I see no reason to change how the riot itself functions.