dry attribute for ground

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Plugin Creator

Platform

dry attribute for ground

#1

Post by CommanderABab »

If you include

Code: Select all

"dry":true
in your ground plugin, it cannot be replaced by water and can't be flooded by the flood disaster.

Requires beta 371 upward.

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

Plugin Creator

Platform

Re: dry attribute for ground

#2

Post by CommanderABab »

Not if you hijack the normal ground id. :)

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: dry attribute for ground

#3

Post by 22Alpha »

This would also mean that if buildings have dry:true with roads nearby, adding flood would only affect roads and not the buildings. Am I right?

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

Plugin Creator

Platform

Re: dry attribute for ground

#4

Post by CommanderABab »

Roads could be built on dry ground also.

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: dry attribute for ground

#5

Post by 22Alpha »

But would not load floods right? or they would but it will come back after flood?

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

Plugin Creator

Platform

Re: dry attribute for ground

#6

Post by CommanderABab »

Anything that gets flooded is removed during the disaster and replaced by new ground.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”