Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
Zone_Tent.cs
Go to the documentation of this file.
1
public
class
Zone_Tent
:
Zone
2
{
3
public
override
bool
PetFollow
=>
false
;
4
5
public
override
bool
AllowNewZone
=>
false
;
6
7
public
override
bool
UseFog
=>
true
;
8
9
public
override
bool
GrowPlant
=>
true
;
10
11
public
override
int
MaxSoil
=> 50 +
Evalue
(2200) * 5;
12
13
public
override
ZoneTransition.EnterState
RegionEnterState
=>
ZoneTransition
.
EnterState
.Bottom;
14
15
public
override
void
OnBeforeDeactivate
()
16
{
17
int
num = 0;
18
foreach
(
Thing
thing
in
EClass
.
_map
.
things
)
19
{
20
num += thing.
ChildrenAndSelfWeight
;
21
if
(num >= 10000000 || num < 0)
22
{
23
num = 10000000;
24
break
;
25
}
26
}
27
SetInt
(1, num);
28
}
29
}
Card.ChildrenAndSelfWeight
int ChildrenAndSelfWeight
Definition:
Card.cs:1917
EClass
Definition:
EClass.cs:5
EClass._map
static Map _map
Definition:
EClass.cs:18
Map.things
List< Thing > things
Definition:
Map.cs:49
Spatial.SetInt
void SetInt(int id, int value=0)
Definition:
Spatial.cs:566
Thing
Definition:
Thing.cs:8
ZoneTransition
Definition:
ZoneTransition.cs:4
ZoneTransition.EnterState
EnterState
Definition:
ZoneTransition.cs:6
Zone_Tent
Definition:
Zone_Tent.cs:2
Zone_Tent.GrowPlant
override bool GrowPlant
Definition:
Zone_Tent.cs:9
Zone_Tent.UseFog
override bool UseFog
Definition:
Zone_Tent.cs:7
Zone_Tent.MaxSoil
override int MaxSoil
Definition:
Zone_Tent.cs:11
Zone_Tent.AllowNewZone
override bool AllowNewZone
Definition:
Zone_Tent.cs:5
Zone_Tent.OnBeforeDeactivate
override void OnBeforeDeactivate()
Definition:
Zone_Tent.cs:15
Zone_Tent.RegionEnterState
override ZoneTransition.EnterState RegionEnterState
Definition:
Zone_Tent.cs:13
Zone_Tent.PetFollow
override bool PetFollow
Definition:
Zone_Tent.cs:3
Zone
Definition:
Zone.cs:12
Zone.Evalue
int Evalue(int ele)
Definition:
Zone.cs:518
Elin
Zone_Tent.cs
Generated by
1.9.6