-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathtrait.h
48 lines (37 loc) · 1.65 KB
/
trait.h
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
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _TRAIT_H_
#define _TRAIT_H_
#include <string>
enum Trait_id
{
TRAIT_NULL = 0,
TRAIT_FLEET, // Terrain movement cost of 100 is effectively 90
TRAIT_QUICK, // +5% AP each turn
TRAIT_LIGHT_EATER, // Hunger increases more slowly
TRAIT_CAMEL, // Thirst increases more slowly
TRAIT_NIGHT_VISION, // Sight radius is better at night
TRAIT_DURABLE, // +15% HP
TRAIT_STURDY_CONSTITUTION, // Increased resistance to disease
TRAIT_PACKMULE, // +20% increase to volume capacity
TRAIT_ROBUST_GENETICS, // Mutations are more likely to be good
TRAIT_PAIN_RESISTANT, // Pain is reduced
TRAIT_INSIGHTFUL, // Ignore skill_required on books
TRAIT_AUTODIDACT, // Ignore skill cap by spending triple XP
TRAIT_MAX_GOOD, // Splits good traits from neutral traits
TRAIT_LIGHTWEIGHT, // Increased duration of drug effects, both good & bad
TRAIT_CHEMICAL_IMBALANCE, // Occasional random effects
TRAIT_MAX_NEUTRAL, // Splits neutral traits from bad traits
TRAIT_MYOPIC, // Limited sight range w/o glasses; start w/ glasses
TRAIT_BAD_BACK, // -20% weight capacity
TRAIT_BAD_HEARING, // Volume of sounds is decreased by 50%
TRAIT_SMELLY, // Increased smell radius
TRAIT_ILLITERATE, // Can't read books at all!
TRAIT_MAX_BAD, // Splits bad traits from mutations
TRAIT_MAX // ALWAYS last in this list
};
Trait_id lookup_trait_id(std::string name);
// An alias for the cool kids - just returns trait_id_name()
std::string trait_name(Trait_id trait);
std::string trait_id_name(Trait_id trait);
std::string trait_description(Trait_id trait);
int trait_cost(Trait_id trait);
#endif