dry attribute for ground

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Platform

Plugin Creator

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

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

Platform

Plugin Creator

Re: dry attribute for ground

#2

Post by CommanderABab »

Not if you hijack the normal ground id. :)
Image

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 445
Joined: Sat Sep 23, 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?
:mine

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

Platform

Plugin Creator

Re: dry attribute for ground

#4

Post by CommanderABab »

Roads could be built on dry ground also.
Image

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 445
Joined: Sat Sep 23, 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?
:mine

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

Platform

Plugin Creator

Re: dry attribute for ground

#6

Post by CommanderABab »

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

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”