Debian Codegraph @

lib/gamedata/shape.txt

raw
1 # File: shape.txt
2
3 # This file is used to initialize the player shape information for Angband.
4
5 # === Understanding shape.txt ===
6
7 # Format:
8 # name:shape name
9 # combat:to-h:to-d:to-a
10 # skill-disarm-phys:change
11 # skill-disarm-magic:change
12 # skill-save:change
13 # skill-stealth:change
14 # skill-search:change
15 # skill-melee:change
16 # skill-throw:change
17 # skill-dig:change
18 # obj-flags:object flags
19 # player-flags:player flags
20 # values:resistances and modifiers
21 # effect:effect:subtype (if needed):radius (if needed):parameter (if needed)
22 # dice:dice string
23 # expr:dice expression
24 # effect-msg:message
25 # blow:blow verb
26
27 # 'name' is the name of the shape.
28
29 # 'combat' is for modifiers to hit, to damage and to armor class.
30
31 # 'skill-<skill name>' is for modifications to player skills - physical
32 # and magical disarming, saving throws, stealth, searching, to hit (normal),
33 # to hit (throwing), digging.
34
35 # 'obj-flags' is for object flags (as in src/list-obj-flags.h) gained
36 # from the shapechange.
37
38 # 'play-flags' is for player flags (as in src/list-player-flags.h) gained
39 # from the shapechange.
40
41 # 'values' is for resistances and modifiers gained from the shapechange.
42
43 # 'effect' defines any effect which happens on taking the new shape,
44 # and optionally parameters for effect subtype, effect radius and
45 # an extra parameter for various things
46
47 # 'dice' provides a random value to be used by an effect (for damage,
48 # healing, etc). As well as the normal random value fields described above,
49 # it can contain expressions like $B, which refer forward to an 'expr' line.
50
51 # 'expr' provides an expression for use in effect dice. It consists of a
52 # code letter (eg B) for the expression, a base function to use (for example
53 # PLAYER_LEVEL), and a sequence of operations to perform on that base.
54
55 # 'effect-msg' provides a message which can be used in whatever way the effect
56 # needs, typically to print during the effect, or as a death message.
57
58 # 'blow' is for verbs for how the shapechanged character will hit monsters.
59 # Frequencies can be adjusted by having more than one line the same.
60
61 name:normal
62
63 name:fox
64 combat:-3:-3:3
65 obj-flags:FEATHER | FREE_ACT
66 values:STR[-3] | STEALTH[5] | BLOWS[1] | MOVES[1]
67 blow:bite
68 blow:claw
69
70 name:Pukel-man
71 combat:0:5:20
72 skill-save:20
73 obj-flags:SUST_STR | SUST_CON | PROT_STUN | REGEN | HOLD_LIFE
74 player-flags:ROCK
75 values:STR[4] | CON[4] | STEALTH[-2] | SPEED[-5] | RES_POIS[3] | RES_SHARD[1]
76 values:DAM_RED[10]
77 effect:CURE:POISONED
78 effect:CURE:STUN
79 blow:punch
80 blow:crush
81 blow:thump
82 blow:strike
83
84 name:bear
85 combat:15:15:5
86 skill-disarm-phys:-5
87 skill-disarm-magic:-10
88 skill-melee:10
89 obj-flags:PROT_FEAR
90 values: STR[3] | INT[-2] | CON[2] | INFRA[1] | STEALTH[-3] | BLOWS[1]
91 blow:cuff
92 blow:clout
93 blow:claw
94 blow:hit
95 blow:hit
96 blow:swipe
97 blow:slash
98
99 name:eagle
100 combat:5:0:10
101 obj-flags:SUST_WIS | PROT_BLIND | PROT_CONF | PROT_FEAR | SEE_INVIS | FREE_ACT
102 obj-flags:TRAP_IMMUNE
103 values:MOVES[3]
104 blow:peck
105 blow:claw
106 blow:claw
107 blow:strike
108 blow:tear
109
110 name:bat
111 combat:0:-10:10
112 obj-flags:FEATHER | SEE_INVIS | PROT_BLIND
113 values:SPEED[3] | STEALTH[3] | INFRA[5]
114 effect:DAMAGE
115 dice:5
116 effect-msg:taking bat form
117 blow:bite
118 blow:scratch
119
120 name:warg
121 combat:5:5:0
122 values:BLOWS[2]
123 effect:DAMAGE
124 dice:1d$S
125 expr:S:PLAYER_LEVEL:+ 0
126 effect-msg:taking warg form
127 effect:CURE:AFRAID
128 effect:TIMED_INC:SHERO
129 dice:5+1d20
130 blow:bite
131 blow:bite
132 blow:claw
133 blow:tear
134
135 name:vampire
136 combat:3:3:-5
137 obj-flags:SEE_INVIS | HOLD_LIFE
138 values:LIGHT[-1] | STEALTH[5] | INFRA[5] | SPEED[5]
139 effect:DAMAGE
140 dice:$B
141 expr:B:PLAYER_HP:/ 4
142 effect-msg:taking vampire form
143 effect:TIMED_INC:ATT_VAMP
144 dice:10+1d20
145 blow:bite
146
147 name:werewolf
148 combat:5:5:0
149 obj-flags:REGEN
150 values:BLOWS[1] | MOVES[1]
151 effect-msg:taking werewolf form
152 effect:PROJECT_LOS:TURN_ALL
153 dice:$B
154 expr:B:PLAYER_LEVEL:+ 0
155 effect:CURE:AFRAID
156 effect:TIMED_INC:SHERO
157 dice:5+1d20
158 blow:bite
159 blow:bite
160 blow:slash
161 blow:tear