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 WEAPON;
void create() {
::create();
set_name("sword");
set_short("a rather large two-handed sword");
set_long("The sword is rather large and extreamly heavy. You would "
"need to use two handed to use it.");
set_id(({"sword", "two handed sword", "two-handed sword"}));
set_mass(22);
set_value(180);
set_type("blade");
set_hands(2);
set_wc(12); // Weapon Class 12 2-handed, a mid's weapon
set_ac(2); // Armour Class 2, protects hands a lot
set_material(({"metal","steel"}));
}
|