-
-
Notifications
You must be signed in to change notification settings - Fork 444
/
Copy pathmecha.dm
36 lines (31 loc) · 1.24 KB
/
mecha.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#define MECHA_INT_FIRE (1<<0)
#define MECHA_INT_TEMP_CONTROL (1<<1)
#define MECHA_INT_SHORT_CIRCUIT (1<<2)
#define MECHA_INT_TANK_BREACH (1<<3)
#define MECHA_INT_CONTROL_LOST (1<<4)
#define MECHA_MELEE (1<<0)
#define MECHA_RANGED (1<<1)
#define FRONT_ARMOUR 1
#define SIDE_ARMOUR 2
#define BACK_ARMOUR 3
#define MECHA_MAX_COOLDOWN 30 // Prevents long cooldown equipment from messing up combat
/// Minimum overheat to show an alert to the pilot
#define OVERHEAT_WARNING 50
/// Minimum overheat required to cause slowdown
#define OVERHEAT_THRESHOLD 100
/// Maximum overheat caused by EMPs, prevents permanent lockdown from ion rifles
#define OVERHEAT_EMP_MAX 130
/// Maximum overheat level possible, causes total immobilization
#define OVERHEAT_MAXIMUM 150
/// Amount of overheat reduced every process
#define PASSIVE_COOLING -5
/// Amount of cooling per decisecond-tick while stationary
#define STATIONARY_COOLING -0.1
/// Maximum cooling per second-tick from being stationary
#define STATIONARY_COOLING_MAXIMUM -10
/// Maximum heating from being in a hot environment
#define ENVIRONMENT_HEATING 5
/// Overheating per tile moved when overload is active
#define OVERLOAD_HEAT_COST 4
/// This trait is caused by overheating
#define OVERHEAT_TRAIT "overheating"