Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
akkappap
Newbie


Joined: 04 Feb 2006
Posts: 5

PostPosted: Sat Feb 04, 2006 11:29 am   

DATABASE from triggers
 
Very Happy
Here's a brainache for you smart people out there :)
I would like to start storing equipment in my database, but instead of doing each equipment manually, i want it to be some when i ident something and its automaticly put in the database.

Here's an example.
Object 'balanced adamantite longsword long sword' is type weapon, extra flags glow bless.
Weight is 30, value is 17800, level is 70.
Weapon type is sword.
Damage is 2d22 (average 23).
Weapons flags: sharp
Affects hit roll by 15.
Affects damage roll by 15.

So the type is weapon, then it goes into the weapon section and all the datas are filled into their appropriate places.

Object 'necromancers hood' is type armor, extra flags glow magic burn_proof.
Weight is 1, value is 75000, level is 48.
Armor class_ is 15 pierce, 15 bash, 15 slash, and 15 vs. magic.
Affects save vs spell by -5.
Affects damage roll by 7.
Affects hit roll by 6.

And the type is armor, so it goes into the armor section, etc etc etc.

Can it be done? I reckon its pretty complex atleast and way way WAAAAY above my head. So i turned here for some expert help :)

Anyway, thanks a lot to anyone should they find interest in this.



Heh, i noticed i wasnt so original in my thinking (dream on boy)
But anyway, if you could adress me here with maybe a solution to the problem i would be grateful.
Also, i'm quite new at this.. so explain it as if you would explain it to a 4 year old Laughing
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Sat Feb 04, 2006 1:39 pm   
 
might want to search for an inventory database script using the handy-dandy search feature right here on this page at the top.
There's no shortage of entries and different types.
_________________
http://www.Aardwolf.com
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net