coworotel Posted June 3, 2019 Share Posted June 3, 2019 Hi people. Is it possible to add two upgrades for a building (tower in this case)? I tried the following: <Upgrade> <Tower> <Entity>structures/{civ}_stone_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower> </Upgrade> <Upgrade> <Tower> <Entity>structures/{civ}_wooden_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower> </Upgrade> I didn't work, only one appears. Am I doing something wrong? Link to comment Share on other sites More sharing options...
borg- Posted June 3, 2019 Share Posted June 3, 2019 (edited) Try change names to tower1 and tower2. <Upgrade> <Tower1> <Entity>structures/{civ}_stone_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower1> </Upgrade> <Upgrade> <Tower2> <Entity>structures/{civ}_wooden_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower2> </Upgrade> Edited June 3, 2019 by borg- 1 Link to comment Share on other sites More sharing options...
coworotel Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) Thanks borg! That works! Valeu! Edited June 3, 2019 by coworotel 2 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted June 4, 2019 Share Posted June 4, 2019 8 hours ago, coworotel said: Thanks borg! That works! Valeu! You should also put both upgrades wrapped within the same component. So no need to double up on <Upgrade> just use it once. 2 1 Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted June 4, 2019 Share Posted June 4, 2019 30 minutes ago, wowgetoffyourcellphone said: You should also put both upgrades wrapped within the same component. So no need to double up on <Upgrade> just use it once. how you does that ? Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted June 4, 2019 Share Posted June 4, 2019 <Upgrade> <Tower1> <Entity>structures/{civ}_stone_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower1> <Tower2> <Entity>structures/{civ}_wooden_tower</Entity> <Tooltip></Tooltip> <Cost> <wood>50</wood> <stone>50</stone> </Cost> <Time>10</Time> </Tower2> </Upgrade> 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now