view itemfixes.inc.php @ 22:c0dec130ce74

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Jan 2011 13:45:00 +0200
parents f9211d1917b7
children 35f0c0ce0c51
line wrap: on
line source

<?

// Multi-stack item fixups
$fixItemTable = array(
  "^(purple|green) gloves" => 'a ${1} glove',
  "^bracelet mades of green crystal" => "bracelet made of green crystal",
  "^alchemist moulded rings" => "alchemist moulded ring",

  // Generic rings
  "^(heavy black metal|steel) rings" => "a ${1} ring",

  // Damiens
  "^arm protectors called Damien \(\S+\)" => "an arm protector called Damien (${1})",
  "^a book of eternal youth ([a-z ]+)" => "a book of eternal youth",
  
  // Containers  
  "^white cloth packs for holding salves" => "white cloth pack for holding salves",
  "^(small|HUGE) shiny boxes for storing minerals" => 'a ${1} shiny box for storing minerals',
  "^(small|HUGE) sturdy packs for storing potions" => 'a ${1} sturdy pack for storing potions',
  "^small crystal box \([a-z ]+\)" => "small crystal box"
);


$fixNumbers = array(
  "one"     => 1,
  "two"     => 2,
  "three"   => 3,
  "four"    => 4,
  "five"    => 5,
  "six"     => 6,
  "seven"   => 7,
  "eight"   => 8,
  "nine"    => 9,
  "ten"     => 10
);

?>