1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/entities/template_structure_economic_mill.xml
Matei 1bedd9457a - Fixed the issue that was causing crashes when you tried to place one of them. They had 2 problems: first the template_structure_special whose parent was itself, as Phillip pointed out, but second also incorrect actor names. I also made the Carthaginian wall refer to the right parent template.
- Added a "dropsite" aura to mills, farmsteads and civil centers, and
modified the gathering code so you can only gather objects that have
this aura on them from one of these buildings. You can also add a
traits.supply.forageable tag to an entity to make it ignore the
requirement for dropsites and gather it wherever it is. I did this for
hunting, so you can hunt without being near a farmstead.

This was SVN commit r3265.
2005-12-17 09:28:26 +00:00

45 lines
793 B
XML

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity
Parent="template_structure_economic"
>
<Traits>
<Id>
<Internal_Only />
<Generic>Mill</Generic>
<Icon_Cell>52</Icon_Cell>
<Classes>Village</Classes>
<Rollover>A Mill must be constructed near a source of Wood, Stone or Ore in order to collect them. It also provides technologies that improve gathering of these resources.</Rollover>
</Id>
<Footprint>
<Width>12.0</Width>
<Depth>12.0</Depth>
<Height>8.0</Height>
</Footprint>
<Health>
<Max>50</Max>
</Health>
<Auras>
<Dropsite>
<Radius>50</Radius>
<Types>
<Wood/>
<Stone/>
<Ore/>
</Types>
</Dropsite>
</Auras>
</Traits>
</Entity>