Money Conversion Quest
Just written a simple perl money conversion quest that converts the money given to the NPC to it's highest possible coinage.
e.g. Give the NPC 10 copper = 1 silver returned. Give the NPC 100 copper = 1 gold returned. Give the NPC 50 copper, 5 silver and 19 gold = 2 platinum returned. If you give the NPC a value that it can't upgrade it will give you the coin back and tell you it cannot be upgraded. e.g. Give the NPC 7 copper = 7 copper returned. Give the NPC 8 gold = 8 gold returned. If you give the NPC coinage that adds up to a decimal value it will be rounded down to the nearest full coin. e.g. Give the NPC 11 copper = 1 silver returned. Give the NPC 19 gold = 1 platinum returned. Give the NPC 55 copper, 97 silver and 107 gold = 117 platinum returned. Not sure if this could help anyone but it was kinda fun to do and thought someone could use it. Just stick the following into a .pl file: Code:
sub EVENT_SAY |
Pretty sweet, that could be a very good thing to add to newbie zones to guards so one doesnt have to run back to town every time one turns around.. If I put this as default.pl and put it in the quest folder, that wont overwrite quests, but will add a quest to any npc that doenst already have one right?
|
If you name it as default.pl and put it in EQEMu\quests\ then ANY mob without a quest will get this (but mobs with quests will keep their custom quest).
If you name it as default.pl and put it in EQEMu\quests\$zonesn then ANY mob witout a quest in that zone will get this (but mobs with quests will keep their custom quests). In other words, only mobs without a quest will be affected. Monrezz |
Thought so. Thanks.
|
Which is your server samandhi?
|
It is called "My Own Personal Everquest Server", but I dont leave it running all the time..Only when I play (until I get it where I want it anyhow)...:)
|
All times are GMT -4. The time now is 08:19 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.