|
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sat Jul 05, 2003 1:03 pm
database questions... |
I got a problem with making my database. I was wondering if a kind soul could help me with the triggers etc to make this work.
here is the output I get from lore...
You study a sword marked with golden serpents.
Object 'serpent dragon golden sword' is type weapon, usable by all.
Wear Location: take wield two_hands
Weight is 15, value is 0, level is 100.
Weapon type is sword.
Damage is 5d24 (average 62).
Affects wisdom by -1.
Affects intelligence by -1.
Affects hp by 50.
Affects strength by 2.
what I want is to capture the all the numbers and set then into the database. I want this to be done as I lore an object automaticly.
Thank you |
|
|
|
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sat Jul 05, 2003 1:09 pm |
update, here is a few outputs for armor...
You study a light flowing dress.
Object 'light flowing dress' is type armor, usable by all.
Wear Location: take torso
Weight is 10, value is 40, level is 28.
Armor class is 8 pierce, 8 bash, 8 slash, and 8 vs. magic.
Affects strength by 2.
You study a thin veil.
Object 'red veil' is type armor, usable by all.
Wear Location: take face
Weight is 5, value is 20, level is 28.
Armor class is 8 pierce, 8 bash, 8 slash, and 8 vs. magic.
Affects damage roll by 1.
Affects wisdom by 1.
Affects hit roll by -1.
You study a serving platter.
Object 'serving platter' is type armor, usable by all.
Wear Location: take shield
Weight is 10, value is 30, level is 10.
Armor class is 5 pierce, 5 bash, 5 slash, and 5 vs. magic.
Affects strength by 1. |
|
|
|
geniusclown Magician
Joined: 23 Apr 2003 Posts: 358 Location: USA
|
Posted: Sat Jul 05, 2003 5:43 pm |
Have you studied the commands involving databases and set one up with appropriate fields yet? If so, what are the fields you're using?
|
|
|
|
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sat Jul 05, 2003 7:04 pm |
I have set for and in order
Name;Type;Damage;Hit;Dam;Level;Pierce;Bash;Slash;Magic;Int;Wis;Dex;Str;Con
Where Int,wis,dex,str and con means tha affect |
|
|
|
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sat Jul 05, 2003 7:09 pm |
However I do not know how to use the triggers in multible lines as the mud output is.
|
|
|
|
|
|
|
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
|
|