Merentha Website
- Overview
- About LPC Coding
- Header Files
- The Problem Sets
- Rooms
- Normal Rooms
- Monster Rooms
- Search Rooms
- Exit Rooms
- Door Rooms
- Monsters
- Normal Monster
- Random/Emote Monster
- Patrol/Talking Monster
- Skills/Interactive Monster
- Armour
- A Vest
- A Ring
- Cursed Armour
- Weapons
- Normal Staff
- Two Handed Sword
- Special Attack Weapon
- Cursed Weapon
- Talkin Weapon
- Lights
- A Match
- A Torch
- A Lantern
- Bags
- A Normal Bag
- A Backpack (wearable)
- An Expanding Bag
- Misc Objects
- A Leaf
- A Sea Shell
- A Key
- A Snowball
|
// Petrarch
#include
inherit LIGHT;
void create() {
light::create();
set_name("lantern");
set_id( ({ "lantern" }) );
set_adjectives( ({ "lantern" }) );
set_short("a silver lantern");
set_long("This silver lantern is a very good light source for those "
"dark nights, or when then Mer-people turn off thir day "
"lights..... how on the name of Poseidon do they do that?");
set_light(2, "light", "extinguish");
set_fire(1);
set_fuel_required(1);
set_fuel(5000);
set_source_required(0);
set_mass(4);
set_value(150+random(20));
set_burnt_value(10);
set_material(({"metal","silver"}));
}
|