#define ITEM_FILE_EXTN ".obj" /* New information about items */ void append_to_object(IDEAS *new) { Value Changes on old items: ITEM_ARMOR: 9 /* value[1]=warmth, in tenths of degrees celsius */ /* value[2]=prestige, a bonus of sorts to charisma */ /* received from the craftmanship of any */ /* clothing, or perceived expensiveness */ ITEM_WORN 11 /* same as for ITEM_ARMOR */ Copper's new items: ITEM_BOOK: 23 /* Not used yet-stay tuned */ ITEM_BATTERY: 24 /* Not even sure what this is supposed to be */ ITEM_TELEPORT: 25 /* Triggers a teleport on a <command> object */ /* Values: [0]=dest room v-num */ /* [1]=command number which trigers */ /* [2]=charges (-1 for infinite) */ ITEM_TIMER: 26 /* Not imp'd, but will have delay between */ /* time of trigger and "detonation" */ ITEM_STONE: 27 /* It's a stone, of course. Perhaps types */ /* will follow later on... */ Copper's item_flags: ITEM_SECRET: 4096 /* The item is only detectable by "search" */ ITEM_FLOAT: 8192 /* Will float on water */ }