Mercurial > hg > batmud > chester
view 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 |
line wrap: on
line source
<? // Special item name fixups $fixItemTable = array( "^a book of eternal youth \([a-z ]+\)" => "a book of eternal youth", "^small crystal box \([a-z ]+\)" => "small crystal box" ); // Multi-stack item fixups $fixStackTable = array( "^(purple|green) gloves" => 'a ${1} glove', "^Blue gloves of master Conjurer" => 'Blue glove of master Conjurer', "^bracelet mades of green crystal" => "bracelet made of green crystal", "^alchemist moulded rings" => "alchemist moulded ring", "^Rings of wisdom" => "Ring of wisdom", "^Nova Arcanum, Melkior's books of necromancy" => "Nova Arcanum, Melkior's book of necromancy", // Generic rings "^(heavy black metal|steel) rings" => 'a ${1} ring', // Damiens "^arm protectors called Damien \(\S+\)" => 'an arm protector called Damien (${1})', // 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', ); $fixNumbers = array( "two" => 2, "three" => 3, "four" => 4, "five" => 5, "six" => 6, "seven" => 7, "eight" => 8, "nine" => 9, "ten" => 10 ); ?>