1
0
forked from 0ad/0ad

[Gameplay] Slightly reduce cost of Carthaginian apartment and allow their house to upgrade to apartment

Patch by: @real_tabasco_sauce
Accepted by: @wowgetoffyourcellphone
Supportive Comments by: @borg-
Other comments by: @chrstgtr
Differential revision: https://code.wildfiregames.com/D5117
This was SVN commit r27852.
This commit is contained in:
wowgetoffyourcellphone 2023-09-22 06:23:55 +00:00
parent 4c8c08af8e
commit f810418cb6
3 changed files with 23 additions and 6 deletions

View File

@ -50,6 +50,15 @@
</props>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="upgrading">
<props>
<prop actor="props/structures/construction/scaf_4x4.xml" attachpoint="root"/>
<prop actor="particle/destruction_dust_small.xml" attachpoint="root"/>
</props>
</variant>
</group>
<group>
<variant name="alive" frequency="1"/>
<variant file="structures/cart/light_damage.xml"/>

View File

@ -4,9 +4,9 @@
<CapturePoints op="mul">2</CapturePoints>
</Capturable>
<Cost>
<BuildTime op="mul">1.5</BuildTime>
<BuildTime>90</BuildTime>
<Resources>
<wood op="add">50</wood>
<wood op="add">25</wood>
<stone op="add">50</stone>
</Resources>
</Cost>
@ -23,11 +23,7 @@
<GenericName>Apartment Building</GenericName>
<SpecificName>Bet</SpecificName>
<Classes datatype="tokens">CivSpecific</Classes>
<VisibleClasses datatype="tokens">-Village Town</VisibleClasses>
<Icon>structures/apartment.png</Icon>
<Requirements>
<Techs datatype="tokens">-phase_village phase_town</Techs>
</Requirements>
</Identity>
<Loot>
<wood op="add">10</wood>

View File

@ -10,6 +10,18 @@
<Obstruction>
<Static width="13.0" depth="13.0"/>
</Obstruction>
<Upgrade>
<Apartment>
<Entity>structures/cart/apartment</Entity>
<Tooltip>Add a second story to make an Apartment with a greater population bonus.</Tooltip>
<Cost>
<wood>50</wood>
<stone>50</stone>
</Cost>
<Variant>upgrading</Variant>
<Time>55</Time>
</Apartment>
</Upgrade>
<VisualActor>
<FoundationActor>structures/carthaginians/fndn_house.xml</FoundationActor>
<Actor>structures/carthaginians/house.xml</Actor>