Custom Item Template

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Custom Item Template
Triad Mage
Member # 7
Profile Homepage #0
Custom Item Template:

//Note: all fields are filled in with their default values
begindefineitem (number);
clear;
it_name = "";
it_full_name = "";
it_variety = 0;
it_damage_per_level = 0;
it_bonus = 0;
it_weapon_skill_used = 4;
it_protection = 0;
it_charges = 0;
it_encumbrance = 0;
it_ability_1 = -1;
it_ability_str_1 = 0;
it_ability_2 = -1;
it_ability_str_2 = 0;
it_ability_3 = -1;
it_ability_str_3 = 0;
it_ability_4 = -1;
it_ability_str_4 = 0;
it_special_class = 0;
it_value = 0;
it_weight = 0;
it_identified = 0;
it_magic = 0;
it_cursed = 0;
it_once_per_day = 0;
it_junk_item = 0;
it_floor_which_sheet = 0;
it_floor_which_icon = 0;
it_icon_adjust = 0;
it_inventory_icon = 0;
it_missile_anim_type = 0;


--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Warrior
Member # 2711
Profile #1
Le what?
Posts: 126 | Registered: Wednesday, February 26 2003 08:00
Triad Mage
Member # 7
Profile Homepage #2
When you're creating a custom item, you can just copy this into the file and change the values you want, instead of typing it all up again.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Post Navel Trauma ^_^
Member # 67
Profile Homepage #3
I prefer just to import an item like mine, then change a few values.

--------------------
Barcoorah: I even did it to a big dorset ram.

New Mac BoE
Posts: 1798 | Registered: Thursday, October 4 2001 07:00
Warrior
Member # 2711
Profile #4
thank god i gave up scenario design after the firs half hour...the worst was yet to come...
Posts: 126 | Registered: Wednesday, February 26 2003 08:00