annotate itemfixes.inc.php @ 26:36b4d3982590

Added some item fixups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 26 Dec 2011 16:24:42 +0200
parents 892c904b5e9d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 <?
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2
23
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
3 // Special item name fixups
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
4 $fixItemTable = array(
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
5 "^a book of eternal youth \([a-z ]+\)" => "a book of eternal youth",
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
6 "^small crystal box \([a-z ]+\)" => "small crystal box"
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
7 );
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
8
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
9
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 // Multi-stack item fixups
23
35f0c0ce0c51 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
11 $fixStackTable = array(
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
12 "^(purple|green) gloves" => 'a ${1} glove',
26
36b4d3982590 Added some item fixups.
Matti Hamalainen <ccr@tnsp.org>
parents: 25
diff changeset
13 "^Blue gloves of master Conjurer" => 'Blue glove of master Conjurer',
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
14 "^bracelet mades of green crystal" => "bracelet made of green crystal",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
15 "^alchemist moulded rings" => "alchemist moulded ring",
26
36b4d3982590 Added some item fixups.
Matti Hamalainen <ccr@tnsp.org>
parents: 25
diff changeset
16 "^Rings of wisdom" => "Ring of wisdom",
36b4d3982590 Added some item fixups.
Matti Hamalainen <ccr@tnsp.org>
parents: 25
diff changeset
17 "^Nova Arcanum, Melkior's books of necromancy" => "Nova Arcanum, Melkior's book of necromancy",
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 // Generic rings
25
892c904b5e9d Fix the itemfixes.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
20 "^(heavy black metal|steel) rings" => 'a ${1} ring',
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 // Damiens
25
892c904b5e9d Fix the itemfixes.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
23 "^arm protectors called Damien \(\S+\)" => 'an arm protector called Damien (${1})',
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 // Containers
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
26 "^white cloth packs for holding salves" => "white cloth pack for holding salves",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
27 "^(small|HUGE) shiny boxes for storing minerals" => 'a ${1} shiny box for storing minerals',
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
28 "^(small|HUGE) sturdy packs for storing potions" => 'a ${1} sturdy pack for storing potions',
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 $fixNumbers = array(
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
33 "two" => 2,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
34 "three" => 3,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
35 "four" => 4,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
36 "five" => 5,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
37 "six" => 6,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
38 "seven" => 7,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
39 "eight" => 8,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
40 "nine" => 9,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
41 "ten" => 10
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 ?>