forked from 0ad/0ad
historic_bruno
7d9e98b00e
Makes all actors selectable in Atlas and gives them selection rings (an EditorOnly flag is used in the template for Atlas-only selectables). Adds player colors to Atlas selection rings. Fixes decal selection by falling back to old-style AABBs. Refs #1032. Replaces UnitManager selections with EntitySelection helpers. Adds DrawOverlays to Atlas views, for Atlas-specific rendering. Fixes bug where selection rings conflicted with Move/rotate tool in Atlas simulation test. This was SVN commit r11177.
29 lines
767 B
XML
29 lines
767 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Entity parent="template_gaia">
|
|
<Footprint replace="">
|
|
<Square width="2.0" depth="2.0"/>
|
|
<Height>12.0</Height>
|
|
</Footprint>
|
|
<Identity>
|
|
<GenericName>Generic Treasure</GenericName>
|
|
<SpecificName>Treasure</SpecificName>
|
|
<Tooltip>A treasure that can be quickly gathered.</Tooltip>
|
|
<Icon>gaia/special_treasure.png</Icon>
|
|
</Identity>
|
|
<Minimap>
|
|
<Type>metal</Type>
|
|
<Colour r="192" g="192" b="0"/>
|
|
</Minimap>
|
|
<Obstruction>
|
|
<Static width="1.5" depth="1.5"/>
|
|
</Obstruction>
|
|
<ResourceSupply>
|
|
<KillBeforeGather>false</KillBeforeGather>
|
|
<Amount>300</Amount>
|
|
<Type>treasure.metal</Type>
|
|
</ResourceSupply>
|
|
<Selectable>
|
|
<EditorOnly disable=""/>
|
|
</Selectable>
|
|
</Entity>
|