source: ps/trunk/binaries/data/mods/public/simulation/templates/template_gaia_fish.xml

Last change on this file was 25940, checked in by Freagarach, 3 years ago

Let fish and fruit regenerate slightly.

This adds minor regeneration to fish (when not gathered) and fruit (always) as a nice extra for casual players.
The values are chosen to be low, as to not affect competitive play much.

Patch by: @Nescio
Differential revision: https://code.wildfiregames.com/D3868
Comments by: @chrstgtr, @marder, @Stan, @wraitii

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Entity parent="template_gaia">
3 <Footprint>
4 <Circle radius="10.0"/>
5 <Height>2.5</Height>
6 </Footprint>
7 <Identity>
8 <GenericName>Fish</GenericName>
9 <Classes datatype="tokens">SeaCreature</Classes>
10 <Tooltip>Catch fish for food.</Tooltip>
11 </Identity>
12 <Minimap>
13 <Type>food</Type>
14 <Color r="227" g="130" b="141"/>
15 </Minimap>
16 <Obstruction>
17 <Unit/>
18 <BlockMovement>false</BlockMovement>
19 <BlockPathfinding>false</BlockPathfinding>
20 <BlockFoundation>false</BlockFoundation>
21 <DeleteUponConstruction>true</DeleteUponConstruction>
22 </Obstruction>
23 <Position>
24 <Altitude>-2.0</Altitude>
25 <Floating>true</Floating>
26 </Position>
27 <ResourceSupply>
28 <KillBeforeGather>false</KillBeforeGather>
29 <Max>1000</Max>
30 <Type>food.fish</Type>
31 <MaxGatherers>4</MaxGatherers>
32 <Change>
33 <Spawn>
34 <Value>1</Value>
35 <Interval>2000</Interval>
36 <State>notGathered</State>
37 </Spawn>
38 </Change>
39 </ResourceSupply>
40 <Selectable>
41 <Overlay>
42 <Outline>
43 <LineThickness>0.2</LineThickness>
44 </Outline>
45 </Overlay>
46 </Selectable>
47 <StatusBars>
48 <BarWidth>4.0</BarWidth>
49 <BarHeight>0.666</BarHeight>
50 <HeightOffset>5.0</HeightOffset>
51 </StatusBars>
52</Entity>
Note: See TracBrowser for help on using the repository browser.