Changeset 555
- Timestamp:
- 09/14/07 14:48:59 (1 year ago)
- Files:
-
- trunk/lib/edit/object.txt (modified) (2 diffs)
- trunk/src/obj-info.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/edit/object.txt
r543 r555 2814 2814 P:0:1d1:0:0:0 2815 2815 F:EASY_KNOW 2816 D:It is equippable as a light source with a radius of 1 square.2817 D: It may also be used to fuel another torch, up to a maximum of 50002818 D: turns of light.2819 2816 2820 2817 N:347:& Lantern~ … … 2825 2822 P:0:1d1:0:0:0 2826 2823 F:EASY_KNOW | IGNORE_FIRE 2827 D:It is equippable as a light source with a radius of 2 squares.2828 D: It may also be used to fuel another lantern.2829 2824 2830 2825 N:348:& Flask~ of oil trunk/src/obj-info.c
r532 r555 442 442 text_out(". "); 443 443 444 if (o_ptr->tval == TV_LITE) 445 { 446 const char *name = (o_ptr->sval == SV_LITE_TORCH) ? "torch" : "lantern"; 447 int turns = (o_ptr->sval == SV_LITE_TORCH) ? FUEL_TORCH : FUEL_LAMP; 448 449 text_out("It can refill another %s, up to %d turns of fuel. ", name, turns); 450 } 451 444 452 something = TRUE; 445 453 } … … 451 459 if (f3 & (TR3_FEATHER)) good[gc++] = "makes you fall like a feather"; 452 460 if (f3 & (TR3_REGEN)) good[gc++] = "speeds your regeneration"; 453 454 if ((o_ptr->tval == TV_LITE) || (f3 & TR3_LITE))455 good[gc++] = "lights the dungeon around you";456 if (f3 & TR3_NO_FUEL) good[gc++] = "does not require fuel";457 461 458 462 /* Describe */
