allow carthage to make use of apartments earlier as an economy bonus. reduce pricing, allow houses to upgrade to apartments.

This commit is contained in:
rca 2024-07-07 11:36:43 -07:00 committed by rts
parent 986529d9c5
commit f356585e74
3 changed files with 85 additions and 4 deletions

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Carthaginian House">
<props>
<prop actor="props/structures/decals/dirt_small.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/kart_struct.dds" name="baseTex"/>
<texture file="structural/kart_struct_norm.png" name="normTex"/>
<texture file="structural/kart_struct_spec.png" name="specTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="House 01">
<mesh>structural/kart_house_01.dae</mesh>
<props>
<prop actor="props/structures/carthaginians/house_a.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/ao/kart_house_01.png" name="aoTex"/>
</textures>
</variant>
<variant frequency="1" name="House 02">
<mesh>structural/kart_house_02.dae</mesh>
<props>
<prop actor="props/structures/carthaginians/house_b.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/ao/kart_house_02.png" name="aoTex"/>
</textures>
</variant>
<variant frequency="1" name="House 03">
<mesh>structural/kart_house_03.dae</mesh>
<props>
<prop actor="props/structures/carthaginians/house_c.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/ao/kart_house_03.png" name="aoTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="ungarrisoned"/>
<variant name="garrisoned">
<props>
<prop actor="props/special/common/garrison_flag_kart.xml" attachpoint="garrisoned"/>
</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"/>
<variant file="structures/cart/medium_damage.xml"/>
<variant file="structures/cart/heavy_damage.xml"/>
<variant file="structures/cart/destruction_small.xml"/>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>

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,9 +23,8 @@
<GenericName>Apartment Building</GenericName>
<SpecificName>Bet</SpecificName>
<Classes datatype="tokens">CivSpecific</Classes>
<VisibleClasses datatype="tokens">-Village Town</VisibleClasses>
<VisibleClasses datatype="tokens">Village</VisibleClasses>
<Icon>structures/apartment.png</Icon>
<RequiredTechnology>phase_town</RequiredTechnology>
</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>