akkappap Newbie
Joined: 04 Feb 2006 Posts: 5
|
Posted: Sat Feb 04, 2006 11:29 am
DATABASE from triggers |
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 |
|