Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_gaia_tree.xml
- This file was moved from binaries/data/mods/public/simulation/templates/template_gaia_flora.xml.
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_gaia"> | <Entity parent="template_gaia"> | ||||
<Footprint> | |||||
<Circle radius="2.5"/> | |||||
<Height>15.0</Height> | |||||
</Footprint> | |||||
<Identity> | <Identity> | ||||
<GenericName>Tree</GenericName> | |||||
<Tooltip>Chop trees for wood.</Tooltip> | |||||
<Classes datatype="tokens">ForestPlant</Classes> | <Classes datatype="tokens">ForestPlant</Classes> | ||||
<Icon>gaia/flora_tree_generic.png</Icon> | <Icon>gaia/flora_tree_generic.png</Icon> | ||||
<Tooltip>Chop trees for wood.</Tooltip> | |||||
</Identity> | </Identity> | ||||
<Minimap> | <Minimap> | ||||
<Type>wood</Type> | <Type>wood</Type> | ||||
<Color r="69" g="107" b="68"/> | <Color r="69" g="107" b="68"/> | ||||
</Minimap> | </Minimap> | ||||
<Obstruction> | <Obstruction> | ||||
<Static width="1.6" depth="1.6"/> | <Static width="1.6" depth="1.6"/> | ||||
<!-- Trees are deleted as a workaround for gates until random maps are smart enough to not place trees inside walls --> | <!-- Trees are deleted as a workaround for gates until random maps are smart enough to not place trees inside walls. --> | ||||
<DeleteUponConstruction>true</DeleteUponConstruction> | <DeleteUponConstruction>true</DeleteUponConstruction> | ||||
Freagarach: I guess you need that for bush as well. | |||||
NescioAuthorUnsubmitted Done Inline ActionsMaybe, I wasn't sure, fruit is typically placed individually or in small numbers on maps, unlike trees, so I guessed fruit doesn't really interfere with wall placement. Nescio: Maybe, I wasn't sure, fruit is typically placed individually or in small numbers on maps… | |||||
FreagarachUnsubmitted Not Done Inline ActionsBetter safe than sorry, I guess. Although I am not fond of just adding it "because it used to be that way", I think it is quite hard to verify. Freagarach: Better safe than sorry, I guess. Although I am not fond of just adding it "because it used to… | |||||
</Obstruction> | </Obstruction> | ||||
<ResourceSupply> | <ResourceSupply> | ||||
<KillBeforeGather>false</KillBeforeGather> | <KillBeforeGather>false</KillBeforeGather> | ||||
<Amount>200</Amount> | <Amount>1</Amount> | ||||
FreagarachUnsubmitted Not Done Inline ActionsCan't you omit that here? Freagarach: Can't you omit that here? | |||||
<Type>wood.tree</Type> | <Type>wood.tree</Type> | ||||
<MaxGatherers>8</MaxGatherers> | <MaxGatherers>8</MaxGatherers> | ||||
</ResourceSupply> | </ResourceSupply> | ||||
<Selectable> | <Selectable> | ||||
<Overlay> | <Overlay> | ||||
<Outline disable=""/> | <Outline disable=""/> | ||||
<Texture> | <Texture> | ||||
<MainTexture>128x128/ellipse.png</MainTexture> | <MainTexture>128x128/ellipse.png</MainTexture> | ||||
<MainTextureMask>128x128/ellipse_mask.png</MainTextureMask> | <MainTextureMask>128x128/ellipse_mask.png</MainTextureMask> | ||||
</Texture> | </Texture> | ||||
</Overlay> | </Overlay> | ||||
</Selectable> | </Selectable> | ||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
<select>interface/select/resource/sel_tree.xml</select> | <select>interface/select/resource/sel_tree.xml</select> | ||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
<StatusBars> | |||||
<BarWidth>3.0</BarWidth> | |||||
<BarHeight>0.5</BarHeight> | |||||
<HeightOffset>10.0</HeightOffset> | |||||
</StatusBars> | |||||
<VisualActor> | <VisualActor> | ||||
<SelectionShape> | <SelectionShape> | ||||
<Footprint/> | <Footprint/> | ||||
</SelectionShape> | </SelectionShape> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
I guess you need that for bush as well.