Riot .Json?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: Tue May 01, 2018 21:42
Plugins: Show

Riot .Json?

#1

Post by Cloaked_Gamer » Wed May 02, 2018 5:11

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
Junior Developer
Reactions:
Posts: 2620
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Riot .Json?

#2

Post by JustAnyone » Wed May 02, 2018 6:25

Such json doesn't exist.

Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: Tue May 01, 2018 21:42
Plugins: Show

Re: Riot .Json?

#3

Post by Cloaked_Gamer » Wed May 02, 2018 20:14

JustAnyone wrote: ↑
Wed May 02, 2018 6:25
Such json doesn't exist.
And so how does the riot take place in game?

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

Platform

Plugin Creator

Re: Riot .Json?

#4

Post by CommanderABab » Wed May 02, 2018 20:29

By happiness being very low in a building.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

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

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

Platform

Plugin Creator

Re: Riot .Json?

#5

Post by CommanderABab » Wed May 02, 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.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

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

Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: Tue May 01, 2018 21:42
Plugins: Show

Re: Riot .Json?

#6

Post by Cloaked_Gamer » Wed May 02, 2018 20:42

CommanderABab wrote: ↑
Wed May 02, 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: 7706
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Riot .Json?

#7

Post by CommanderABab » Wed May 02, 2018 21:04

No, I don't think that you can edit how the riot functions.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

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

Cloaked_Gamer
Settler
Reactions:
Posts: 5
Joined: Tue May 01, 2018 21:42
Plugins: Show

Re: Riot .Json?

#8

Post by Cloaked_Gamer » Wed May 02, 2018 22:45

Alrighty, thanks

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

Platform

Re: Riot .Json?

#9

Post by DobermanKaiser » Thu May 03, 2018 0:04

CommanderABab wrote: ↑
Wed May 02, 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
Yours truly, Emperor Jim Walker of Fahnhof

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

Platform

Plugin Creator

Re: Riot .Json?

#10

Post by CommanderABab » Thu May 03, 2018 0:08

A plugin could keep a riot going all the time, so I see no reason to change how the riot itself functions.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

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

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests