0ad/binaries/data/mods/public/simulation/templates/structures/bench.xml
Freagarach 0c4f59d0a7 Split tasks from ProductionQueue.
The task of the production queue should first and foremost be that; a
queue for production items.
Hence, the specifics of training/researching are delegated to specific
components.

As a side effect, this improves the test coverage and fixes:
- Resource not refunding when hitting the entity limit. Introduced in
b8758c8941.
- Autoqueue changing when unable to spawn. Introduced in 956b3f96db.

Modders can change their templates using
https://code.wildfiregames.com/P256.

Differential revision: https://code.wildfiregames.com/D4333
Fixes: #6363
Comments by: @Silier
Refs. #6364

This was SVN commit r26000.
2021-11-16 07:08:39 +00:00

30 lines
739 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure">
<Footprint>
<Square width="1.5" depth="4.25"/>
<Height>4.0</Height>
</Footprint>
<Health>
<Max>75</Max>
</Health>
<Identity>
<GenericName>Bench</GenericName>
<SpecificName>Wooden Bench</SpecificName>
<Icon>gaia/special_fence.png</Icon>
</Identity>
<Minimap>
<Color r="119" g="82" b="46"/>
</Minimap>
<Obstruction>
<Static width="1.5" depth="4.0"/>
</Obstruction>
<ProductionQueue disable=""/>
<Researcher disable=""/>
<StatusBars>
<HeightOffset>6.0</HeightOffset>
</StatusBars>
<Trainer disable=""/>
<VisualActor>
<Actor>props/special/eyecandy/bench_1.xml</Actor>
</VisualActor>
</Entity>