skip navigation

Welcome, Guest [log in · register]
Cwn Annwn
Search
Page 2 of 2 « 1 2
Siege
Avatar
GET IT FUCKING DONE SO I CAN QUIT USING ZMUD YOU FUCKING HALFLING PIECE OF CRAP.

DO.
IT.
NOW!!!!!!!!!!!!!!!!!!!!
Tamlin Because it was messing up shop displays i made it a bit different. It still needs further updates to scrolls but I think it looks better.

It adds the scroll id to the end of the shop list and after its done it re-enables the inventory display.


#CLASS {scroll ID}
#VAR Spells {summon mount|combat blink|calm|underwater breathing|slow|fireshield|find familiar|magic lock|magic unlock|detect illusion|plane travel|ice storm|kill|recharge item|reveal|summon|iceball|chill touch|identify|poison|call lightning|spark|tremor|light|harm|icebolt|create food|counterspell|fountain|firebolt|abjure|awaken|spell shield|warp|shield|thunder clap|curse|concealment|lightning shroud|ice whip|blink|stone skin|flame wind|cure blindness|detect magic|armor|frost|reanimate|multiply magic|cure disease|thunderstorm|detect alignment|room shield|acid mist|energy orb|glamour|acid blast|remove curse|create water|control weather|silence|dispel magic|blindness|detect invisibility|antimagic sphere|shocking grasp|nexus|cure criticial|momentary darkness|color spray|magic map|cure serious|cause serious|cause light|summon elemental|improved invisibility|great shout|sense life|imprint aura|swarm|lightning bolt|magic dart|cure light|magic bomb|ice wind|levitation|dispel area|reflective fireball|circle of fire|invisibility|cure poison|protection from good|enhanced strength|heal|haste|sanctuary|charm|faerie fire|poison gas|enervation|sleep|web|chain lightning|create spring|bless|cause critical|fireball|refresh|plague|teleport|circle of thorns|hands of wind|change sex|word of recall|control winds|wizard eye|magic carpet|weaken|protection from evil|gate travel|erase|pass door|resurrect|animate dead|farsight|energy drain|infravision|paralyze|summon creature|deathgrip|shadow golem|fatigue|shadow image|shadow armor|shadow door|shadow imp|shadow guide|confusion|impede movement|immobilize|evil eye|insanity|disjunction|jinx|malediction|pentacle|malignancy|leech|deafen|shadow light|reflective fireball|augment aura|haste|sanctify|thunderstorm|lightning shroud|delay reincarnation|warp|antimagic sphere|pentacle|famine|negation|hex|disease cloud|binding curse|Firebolt|Read aura|shadow image|Conjure boulder|Mass animate dead|Siphon|Consecrete Weapon|Magic Message|Desecrate Armor|Elemental Shield|Consecrate Food|Summon Shade|Consecrate Armor}
#VAR Scrolls {a brown scroll smelling of dung|a scroll crafted of llama hide|an amber scroll made of cowhide|antique copper|antique ivory|bedraggled|beige|bewitching cerulean|bewitching purple|blue colored sable|brilliant amethyst|brilliant sky-colored|bronze-colored|burnt-sienna|charcoal lambskin|charred cobalt|chilled transluscent|cobalt blue|copper-colored|crimson|damp white|didactic|dirty brown|dirty ebony|dirty white|dragon hide|ebony colored icy|ebony cotton|ecru spell|emu hide|enchanted crimson-colored|enchanted emerald|enchanted onionskin|enchanted plantinum|enchanted vellum|faded antique|faded green|faded vellum|fizzling prismatic|frosted translucent|frozen cherry colored|gaudy granite|glazed coal-black|glazed crystal|glazed pink|glossy lime|glossy yellow-green|glowing crystalline|glowing octarine|glowing powder blue|glowing sorcerous|gold-leafed papyrus|greasy aqua|hissing yellow|humming electric blue|icy azure|icy silver|immaculate violet|indigo|indigo papyrus|inky blue|ivory|ivory-yellow papyrus|jet black cowhide|leopard skin|lightning blue|lime-green|luminescent mother-of-pearl|luminescent silver|lustrous jade green|mandarin orange|mauve|mauve colored cowhide|midnight-blue|mildewed magenta|milky-white glowing|moldy green|moldy yellow|moth-eaten|musty black|mystical ivory|navy blue|off-white|opalescent|opalescent blue|platinum-colored|powder blue buckskin|rattlesnake skin|ripped olive|rose-colored cotton|shimmering|shimmering crystalline|shimmering saffron|shimmering sapphire|shining fuchsia|shining quartz|silk magenta|silvery rawhide|smeared green spell|smelly metallic|smoky transparent|smudged sticky|soggy blue|soggy cobalt|soggy, yellow-green|soiled blue|soiled red|sterling silver|swamp green|tainted teal|tangerine spell|tattered transparent|teal rawhide|textured indigo|thick lambskin|thick parchment|thin lambskin|tightly-wound|torn sandy|translucent|translucent amber|translucent azure|translucent mother-of-pearl|unpleasant pink|unpleasant-smelling silver|verdant colored papyrus|weathered|wrinkled gold|wrinkled-gold|yellow cotton|a waxen hodden|a zinnober crepon scroll|a waxed sable scroll|a waxen kalamkari scroll|a waxed piceous scroll|a waxed corbeau scroll|a waxed burnet scroll|a tangled drabbet scroll|a stiff crinoline scroll|a starched crinoline scroll|a spotted melanic scroll|a pink cordovan scroll|a mottled vomit-yellow scroll|a kente scroll|a dark maroon scroll|a blood red scroll|an atrous scroll|a scroll crafted of annelid skin|an invisible-inked scroll|a wax burnet scroll|a scroll made of rattlesnake skin|a niveous lambskin scroll|a shining fuschia scroll|a glowing mother-of-pearl scroll|a sorcerous glowing scroll|a fizzling prismatic spell scroll|a brittle feuillemort scroll|a glossy platinum scroll|a scroll made of leopard skin|a blood-red scroll|a withered cornhusk scroll|a shiny metallic scroll|a damp coquelicot scroll|a pustulant verdigris scroll|a rigid cinerious scroll|a scroll crafted of emu hide|a scroll crafted of snow leopard hide|a waxen sable scroll|a sandy tawny scroll|a glowing bone scroll|a cold oxblood leather scroll|a transluscent golden scroll|a glossy red scroll|a translucent uranium scroll|a shimmering rainbow-colored scroll|a translucent bronze scroll|a blackened, burned cobalt scroll|a translucent silver scroll}
#VAR Scrolls {a brown scroll smelling of dung|a scroll crafted of llama hide|an amber scroll made of cowhide|antique copper|antique ivory|bedraggled|beige|bewitching cerulean|bewitching purple|blue colored sable|brilliant amethyst|brilliant sky-colored|bronze-colored|burnt-sienna|charcoal lambskin|charred cobalt|chilled transluscent|cobalt blue|copper-colored|crimson|damp white|didactic|dirty brown|dirty ebony|dirty white|dragon hide|ebony colored icy|ebony cotton|ecru spell|emu hide|enchanted crimson-colored|enchanted emerald|enchanted onionskin|enchanted plantinum|enchanted vellum|faded antique|faded green|faded vellum|fizzling prismatic|frosted translucent|frozen cherry colored|gaudy granite|glazed coal-black|glazed crystal|glazed pink|glossy lime|glossy yellow-green|glowing crystalline|glowing octarine|glowing powder blue|glowing sorcerous|gold-leafed papyrus|greasy aqua|hissing yellow|humming electric blue|icy azure|icy silver|immaculate violet|indigo|indigo papyrus|inky blue|ivory|ivory-yellow papyrus|jet black cowhide|leopard skin|lightning blue|lime-green|luminescent mother-of-pearl|luminescent silver|lustrous jade green|mandarin orange|mauve|mauve colored cowhide|midnight-blue|mildewed magenta|milky-white glowing|moldy green|moldy yellow|moth-eaten|musty black|mystical ivory|navy blue|off-white|opalescent|opalescent blue|platinum-colored|powder blue buckskin|rattlesnake skin|ripped olive|rose-colored cotton|shimmering|shimmering crystalline|shimmering saffron|shimmering sapphire|shining fuchsia|shining quartz|silk magenta|silvery rawhide|smeared green spell|smelly metallic|smoky transparent|smudged sticky|soggy blue|soggy cobalt|soggy, yellow-green|soiled blue|soiled red|sterling silver|swamp green|tainted teal|tangerine spell|tattered transparent|teal rawhide|textured indigo|thick lambskin|thick parchment|thin lambskin|tightly-wound|torn sandy|translucent|translucent amber|translucent azure|translucent mother-of-pearl|unpleasant pink|unpleasant-smelling silver|verdant colored papyrus|weathered|wrinkled gold|wrinkled-gold|yellow cotton|a waxen hodden|a zinnober crepon scroll|a waxed sable scroll|a waxen kalamkari scroll|a waxed piceous scroll|a waxed corbeau scroll|a waxed burnet scroll|a tangled drabbet scroll|a stiff crinoline scroll|a starched crinoline scroll|a spotted melanic scroll|a pink cordovan scroll|a mottled vomit-yellow scroll|a kente scroll|a dark maroon scroll|a blood red scroll|an atrous scroll|a scroll crafted of annelid skin|an invisible-inked scroll|a wax burnet scroll|a scroll made of rattlesnake skin|a niveous lambskin scroll|a shining fuschia scroll|a glowing mother-of-pearl scroll|a sorcerous glowing scroll|a fizzling prismatic spell scroll|a brittle feuillemort scroll|a glossy platinum scroll|a scroll made of leopard skin|a blood-red scroll|a withered cornhusk scroll|a shiny metallic scroll|a damp coquelicot scroll|a pustulant verdigris scroll|a rigid cinerious scroll|a scroll crafted of emu hide|a scroll crafted of snow leopard hide|a waxen sable scroll|a sandy tawny scroll|a glowing bone scroll|a cold oxblood leather scroll|a transluscent golden scroll|a glossy red scroll|a translucent uranium scroll|a shimmering rainbow-colored scroll|a translucent bronze scroll|a blackened, burned cobalt scroll|a translucent silver scroll}
#TRIGGER {^No.%sItem%sName%sLevel%sAmount%sCost} {#T- Inventory;#T+ Shops}
#CLASS 0
#CLASS {scroll ID|Shops} {enable}
#TRIGGER {%s%d~)%s({@scrolls})%s%d%s*%s~[%s%d%s%w~]} { #SUBSTITUTE {%trigger %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#TRIGGER {%s%d~)%s*({@scrolls}) scroll%s%d%s*%s~[%s%d%s%w~]} { #SUBSTITUTE {%trigger %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#TRIGGER {*~<*hp*sp*st~> } {#T+ Inventory;#T- Shops}
#CLASS 0
#CLASS {scroll ID|Inventory}
#TRIGGER {({@Scrolls})} {#IF (%match( "%1", "scroll") > 0) {#SUBSTITUTE {%1 %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}}
#TRIGGER {({@Scrolls}) scroll} {#SUBSTITUTE {%1 scroll %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#CLASS 0
Tamlin Sorry made one mistake with the ones valued over 999 because of the comma

Here its fixed


#CLASS {scroll ID}
#VAR Spells {summon mount|combat blink|calm|underwater breathing|slow|fireshield|find familiar|magic lock|magic unlock|detect illusion|plane travel|ice storm|kill|recharge item|reveal|summon|iceball|chill touch|identify|poison|call lightning|spark|tremor|light|harm|icebolt|create food|counterspell|fountain|firebolt|abjure|awaken|spell shield|warp|shield|thunder clap|curse|concealment|lightning shroud|ice whip|blink|stone skin|flame wind|cure blindness|detect magic|armor|frost|reanimate|multiply magic|cure disease|thunderstorm|detect alignment|room shield|acid mist|energy orb|glamour|acid blast|remove curse|create water|control weather|silence|dispel magic|blindness|detect invisibility|antimagic sphere|shocking grasp|nexus|cure criticial|momentary darkness|color spray|magic map|cure serious|cause serious|cause light|summon elemental|improved invisibility|great shout|sense life|imprint aura|swarm|lightning bolt|magic dart|cure light|magic bomb|ice wind|levitation|dispel area|reflective fireball|circle of fire|invisibility|cure poison|protection from good|enhanced strength|heal|haste|sanctuary|charm|faerie fire|poison gas|enervation|sleep|web|chain lightning|create spring|bless|cause critical|fireball|refresh|plague|teleport|circle of thorns|hands of wind|change sex|word of recall|control winds|wizard eye|magic carpet|weaken|protection from evil|gate travel|erase|pass door|resurrect|animate dead|farsight|energy drain|infravision|paralyze|summon creature|deathgrip|shadow golem|fatigue|shadow image|shadow armor|shadow door|shadow imp|shadow guide|confusion|impede movement|immobilize|evil eye|insanity|disjunction|jinx|malediction|pentacle|malignancy|leech|deafen|shadow light|reflective fireball|augment aura|haste|sanctify|thunderstorm|lightning shroud|delay reincarnation|warp|antimagic sphere|pentacle|famine|negation|hex|disease cloud|binding curse|Firebolt|Read aura|shadow image|Conjure boulder|Mass animate dead|Siphon|Consecrete Weapon|Magic Message|Desecrate Armor|Elemental Shield|Consecrate Food|Summon Shade|Consecrate Armor}
#VAR Scrolls {a brown scroll smelling of dung|a scroll crafted of llama hide|an amber scroll made of cowhide|antique copper|antique ivory|bedraggled|beige|bewitching cerulean|bewitching purple|blue colored sable|brilliant amethyst|brilliant sky-colored|bronze-colored|burnt-sienna|charcoal lambskin|charred cobalt|chilled transluscent|cobalt blue|copper-colored|crimson|damp white|didactic|dirty brown|dirty ebony|dirty white|dragon hide|ebony colored icy|ebony cotton|ecru spell|emu hide|enchanted crimson-colored|enchanted emerald|enchanted onionskin|enchanted plantinum|enchanted vellum|faded antique|faded green|faded vellum|fizzling prismatic|frosted translucent|frozen cherry colored|gaudy granite|glazed coal-black|glazed crystal|glazed pink|glossy lime|glossy yellow-green|glowing crystalline|glowing octarine|glowing powder blue|glowing sorcerous|gold-leafed papyrus|greasy aqua|hissing yellow|humming electric blue|icy azure|icy silver|immaculate violet|indigo|indigo papyrus|inky blue|ivory|ivory-yellow papyrus|jet black cowhide|leopard skin|lightning blue|lime-green|luminescent mother-of-pearl|luminescent silver|lustrous jade green|mandarin orange|mauve|mauve colored cowhide|midnight-blue|mildewed magenta|milky-white glowing|moldy green|moldy yellow|moth-eaten|musty black|mystical ivory|navy blue|off-white|opalescent|opalescent blue|platinum-colored|powder blue buckskin|rattlesnake skin|ripped olive|rose-colored cotton|shimmering|shimmering crystalline|shimmering saffron|shimmering sapphire|shining fuchsia|shining quartz|silk magenta|silvery rawhide|smeared green spell|smelly metallic|smoky transparent|smudged sticky|soggy blue|soggy cobalt|soggy, yellow-green|soiled blue|soiled red|sterling silver|swamp green|tainted teal|tangerine spell|tattered transparent|teal rawhide|textured indigo|thick lambskin|thick parchment|thin lambskin|tightly-wound|torn sandy|translucent|translucent amber|translucent azure|translucent mother-of-pearl|unpleasant pink|unpleasant-smelling silver|verdant colored papyrus|weathered|wrinkled gold|wrinkled-gold|yellow cotton|a waxen hodden|a zinnober crepon scroll|a waxed sable scroll|a waxen kalamkari scroll|a waxed piceous scroll|a waxed corbeau scroll|a waxed burnet scroll|a tangled drabbet scroll|a stiff crinoline scroll|a starched crinoline scroll|a spotted melanic scroll|a pink cordovan scroll|a mottled vomit-yellow scroll|a kente scroll|a dark maroon scroll|a blood red scroll|an atrous scroll|a scroll crafted of annelid skin|an invisible-inked scroll|a wax burnet scroll|a scroll made of rattlesnake skin|a niveous lambskin scroll|a shining fuschia scroll|a glowing mother-of-pearl scroll|a sorcerous glowing scroll|a fizzling prismatic spell scroll|a brittle feuillemort scroll|a glossy platinum scroll|a scroll made of leopard skin|a blood-red scroll|a withered cornhusk scroll|a shiny metallic scroll|a damp coquelicot scroll|a pustulant verdigris scroll|a rigid cinerious scroll|a scroll crafted of emu hide|a scroll crafted of snow leopard hide|a waxen sable scroll|a sandy tawny scroll|a glowing bone scroll|a cold oxblood leather scroll|a transluscent golden scroll|a glossy red scroll|a translucent uranium scroll|a shimmering rainbow-colored scroll|a translucent bronze scroll|a blackened, burned cobalt scroll|a translucent silver scroll}
#TRIGGER {^No.%sItem%sName%sLevel%sAmount%sCost} {#T- Inventory;#T+ Shops}
#CLASS 0
#CLASS {scroll ID|Shops} {enable}
#TRIGGER {%s%d~)%s({@scrolls})%s%d%s*%s~[%s*%s%w~]} { #SUBSTITUTE {%trigger %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#TRIGGER {%s%d~)%s*({@scrolls}) scroll%s%d%s*%s~[%s*%s%w~]} { #SUBSTITUTE {%trigger %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#TRIGGER {*~<*hp*sp*st~> } {#T+ Inventory;#T- Shops}
#CLASS 0
#CLASS {scroll ID|Inventory}
#TRIGGER {({@Scrolls})} {#IF (%match( "%1", "scroll") > 0) {#SUBSTITUTE {%1 %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}}
#TRIGGER {({@Scrolls}) scroll} {#SUBSTITUTE {%1 scroll %ansi(def)~(%ansi(high, white)%item( @Spells, %ismember( %lower( "%1"), @Scrolls))%ansi( def)~)}}
#CLASS 0

Page 2 of 2 « 1 2