About rebuilding the building.

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
dc11
Villager
Reactions:
Posts: 24
Joined: 13 May 2021, 02:23

About rebuilding the building.

#1

Post by dc11 »

Is it possible to create a plugin that automatically rebuilds a building that has reached TTT to the first level?
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: About rebuilding the building.

#2

Post by CommanderABab »

Code: Select all

"fun":[{
        "condition":{
          "type":"days built","min":60
        },
          
        "actions":[
          {"type":"remove"},
          
          {"type":"build","id":"$version_t"}
        ],"p":1
        
      }]
in a TTT plugin called say $version_ttt would build the T version after 60 game days. They should be the same size.
Post Reply Previous topicNext topic

Return to “Plug-In Discussion”