Riot .Json?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: 01 May 2018, 21:42
Plugins: Showcase Store

Riot .Json?

#1

Post 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.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Riot .Json?

#2

Post by JustAnyone »

Such json doesn't exist.

User avatar
Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: 01 May 2018, 21:42
Plugins: Showcase Store

Re: Riot .Json?

#3

Post 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?

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Riot .Json?

#4

Post by CommanderABab »

By happiness being very low in a building.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Riot .Json?

#5

Post 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.

User avatar
Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: 01 May 2018, 21:42
Plugins: Showcase Store

Re: Riot .Json?

#6

Post 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.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Riot .Json?

#7

Post by CommanderABab »

No, I don't think that you can edit how the riot functions.

User avatar
Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: 01 May 2018, 21:42
Plugins: Showcase Store

Re: Riot .Json?

#8

Post by Cloaked_Gamer »

Alrighty, thanks

User avatar
DobermanKaiser
Townsman
Reactions:
Posts: 61
Joined: 02 Nov 2017, 11:39

Platform

Re: Riot .Json?

#9

Post 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

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Riot .Json?

#10

Post by CommanderABab »

A plugin could keep a riot going all the time, so I see no reason to change how the riot itself functions.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”