About upgrades

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

About upgrades

#1

Post by BetterBear »

What is the code if I wanted a building to be built, but it must have another building upgraded first?
:bq

User avatar
PrathamK
Settler
Reactions:
Posts: 6
Joined: 06 Mar 2018, 14:29
Plugins: Showcase Store

Re: About upgrades

#2

Post by PrathamK »

Requirements tag might be what you need, I don't know amuch about it.

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

Plugin Creator

Platform

Re: About upgrades

#3

Post by CommanderABab »

The building that needs to be built would need to set a variable when upgraded. The new building would require in a condition that that variable be set. Or possibly just check if the upgrade exists.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”