Fix a sacrifice message
[crawl.git] / crawl-ref / source / sacrifice-data.h
1 struct sacrifice_def
2 {
3     ability_type  sacrifice;        // The ability that executes the sacrifice.
4     mutation_type mutation;         // The mutation that will be inflicted.
5     const char*   sacrifice_text;   // Format: "sacrifice your hand"
6                                     // in case of variable sacrifices or sac
7                                     // hand, this will be extended later
8     const char*   milestone_text;   // Format: "sacrificed <foo>"
9                                     // in case of variable sacrifices this will
10                                     // be extended later
11     int           base_piety;       // The piety that will be gained, modified
12                                     // by the skill points in the skill below.
13     skill_type    sacrifice_skill;  // This skill will be eliminated.
14     const char*   sacrifice_vector; // This is used for sacrifices which give
15                                     // multiple mutations. It is a key into
16                                     // you.props, yielding a list of mutations
17                                     // granted by the sacrifice.
18 };
19
20 static const sacrifice_def sac_data[] =
21 {
22
23 { ABIL_RU_SACRIFICE_PURITY, MUT_NON_MUTATION,
24   "corrupt yourself with",
25   "sacrificed purity",
26
27   0,
28   SK_NONE,
29   "current_purity_sacrifice",
30 },
31
32 { ABIL_RU_SACRIFICE_WORDS, MUT_NO_READ,
33   "your ability to read while threatened",
34   "sacrificed words",
35
36   28,
37   SK_NONE,
38   NULL,
39 },
40
41 { ABIL_RU_SACRIFICE_DRINK, MUT_NO_DRINK,
42   "your ability to drink while threatened",
43   "sacrificed drink",
44
45   28,
46   SK_NONE,
47   NULL,
48 },
49
50 { ABIL_RU_SACRIFICE_ESSENCE, MUT_NON_MUTATION,
51   "corrupt yourself with",
52   "sacrificed essence",
53
54   0,
55   SK_NONE,
56   "current_essence_sacrifice",
57 },
58
59 { ABIL_RU_SACRIFICE_HEALTH, MUT_NON_MUTATION,
60   "corrupt yourself with",
61   "sacrificed health",
62
63   20,
64   SK_NONE,
65   "current_health_sacrifice",
66 },
67
68 { ABIL_RU_SACRIFICE_STEALTH, MUT_NO_STEALTH,
69   "sacrifice your ability to go unnoticed",
70   "sacrificed stealth",
71
72   15,
73   SK_STEALTH,
74   NULL,
75 },
76
77 { ABIL_RU_SACRIFICE_ARTIFICE, MUT_NO_ARTIFICE,
78   "sacrifice all use of magical tools",
79   "sacrificed evocations",
80
81   70,
82   SK_EVOCATIONS,
83   NULL,
84 },
85
86 { ABIL_RU_SACRIFICE_LOVE, MUT_NO_LOVE,
87   "sacrifice your ability to be loved",
88   "sacrificed love",
89
90   22,
91   SK_NONE,
92   NULL,
93 },
94
95 { ABIL_RU_SACRIFICE_COURAGE, MUT_COWARDICE,
96   "sacrifice your courage",
97   "sacrificed courage",
98
99   25,
100   SK_NONE,
101   NULL,
102 },
103
104 { ABIL_RU_SACRIFICE_ARCANA, MUT_NON_MUTATION,
105   "sacrifice all use of",
106   "sacrificed arcana",
107
108   25,
109   SK_NONE,
110   "current_arcane_sacrifices",
111 },
112
113 { ABIL_RU_SACRIFICE_NIMBLENESS, MUT_NO_DODGING,
114   "sacrifice your ability to dodge",
115   "sacrificed dodging",
116
117   28,
118   SK_DODGING,
119   NULL,
120 },
121
122 { ABIL_RU_SACRIFICE_DURABILITY, MUT_NO_ARMOUR,
123   "sacrifice your ability to wear armour well",
124   "sacrificed armour",
125
126   28,
127   SK_ARMOUR,
128   NULL,
129 },
130
131 { ABIL_RU_SACRIFICE_HAND, MUT_MISSING_HAND,
132   "sacrifice one of your ",
133   "sacrificed a hand",
134
135   70,
136   SK_SHIELDS,
137   NULL,
138 },
139 };