annotate itemfixes.inc.php @ 25:892c904b5e9d

Fix the itemfixes.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 Mar 2011 14:54:05 +0200
parents 35f0c0ce0c51
children 36b4d3982590
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',
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
13 "^bracelet mades of green crystal" => "bracelet made of green crystal",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
14 "^alchemist moulded rings" => "alchemist moulded ring",
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 // Generic rings
25
892c904b5e9d Fix the itemfixes.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
17 "^(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
18
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 // Damiens
25
892c904b5e9d Fix the itemfixes.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
20 "^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
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 // Containers
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
23 "^white cloth packs for holding salves" => "white cloth pack for holding salves",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
24 "^(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
25 "^(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
26 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 $fixNumbers = array(
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
30 "two" => 2,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
31 "three" => 3,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
32 "four" => 4,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
33 "five" => 5,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
34 "six" => 6,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
35 "seven" => 7,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
36 "eight" => 8,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
37 "nine" => 9,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
38 "ten" => 10
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41 ?>