com.planet_ink.coffee_mud.Items.interfaces
Interface Weapon
- All Superinterfaces:
- Behavable, java.lang.Cloneable, CMModifiable, CMObject, java.lang.Comparable<CMObject>, Environmental, Item, MsgListener, Rider, StatsAffecting, Tickable
- All Known Implementing Classes:
- ArchonStaff, Arquebus, BattleAxe, Broom, Cestus, Claymore, Dagger, DaggerOfVenom, Dirk, DragonClaw, DrowDagger, DrowMace, DrowQuarterstaff, DrowSword, EternityQuarterstaff, FlamingSword, GenBoffWeapon, GenBow, GenHandBow, GenLasso, GenNet, GenSling, GenSpear, GenStaff, GenWeapon, Glaive, Halberd, HolyAvenger, Javelin, Katana, Longsword, Mace, Natural, Quarterstaff, Rapier, Ruler, Sabre, Scimitar, ShieldWeapon, Shortsword, Sickle, SmallDagger, SmallMace, Staff, StdBoffWeapon, StdBow, StdLasso, StdNet, StdSling, StdSpear, StdWeapon, Stiletto, Sword, ThrowingStone, TwoHandedSword, WarHammer, Whip
public interface Weapon
- extends Item
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_CODES, WORN_DEPENDENCYGRID, WORN_DESCS, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_ORDER, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WEIGHT_POINTS, WORN_WEIGHTS, WORN_WIELD, WORNREQ_ANY, WORNREQ_UNWORNONLY, WORNREQ_WORNONLY |
| Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
amWearingAt, baseGoldValue, canWear, compareProperLocations, container, databaseID, fitsOn, material, numberOfItems, owner, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, readableText, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setDatabaseID, setMaterial, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadableText, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, whereCantWear |
TYPE_NATURAL
static final int TYPE_NATURAL
- See Also:
- Constant Field Values
TYPE_SLASHING
static final int TYPE_SLASHING
- See Also:
- Constant Field Values
TYPE_PIERCING
static final int TYPE_PIERCING
- See Also:
- Constant Field Values
TYPE_BASHING
static final int TYPE_BASHING
- See Also:
- Constant Field Values
TYPE_BURNING
static final int TYPE_BURNING
- See Also:
- Constant Field Values
TYPE_BURSTING
static final int TYPE_BURSTING
- See Also:
- Constant Field Values
TYPE_SHOOT
static final int TYPE_SHOOT
- See Also:
- Constant Field Values
TYPE_FROSTING
static final int TYPE_FROSTING
- See Also:
- Constant Field Values
TYPE_GASSING
static final int TYPE_GASSING
- See Also:
- Constant Field Values
TYPE_MELTING
static final int TYPE_MELTING
- See Also:
- Constant Field Values
TYPE_STRIKING
static final int TYPE_STRIKING
- See Also:
- Constant Field Values
TYPE_DESCS
static final java.lang.String[] TYPE_DESCS
CLASS_AXE
static final int CLASS_AXE
- See Also:
- Constant Field Values
CLASS_BLUNT
static final int CLASS_BLUNT
- See Also:
- Constant Field Values
CLASS_EDGED
static final int CLASS_EDGED
- See Also:
- Constant Field Values
CLASS_FLAILED
static final int CLASS_FLAILED
- See Also:
- Constant Field Values
CLASS_HAMMER
static final int CLASS_HAMMER
- See Also:
- Constant Field Values
CLASS_NATURAL
static final int CLASS_NATURAL
- See Also:
- Constant Field Values
CLASS_POLEARM
static final int CLASS_POLEARM
- See Also:
- Constant Field Values
CLASS_RANGED
static final int CLASS_RANGED
- See Also:
- Constant Field Values
CLASS_SWORD
static final int CLASS_SWORD
- See Also:
- Constant Field Values
CLASS_DAGGER
static final int CLASS_DAGGER
- See Also:
- Constant Field Values
CLASS_STAFF
static final int CLASS_STAFF
- See Also:
- Constant Field Values
CLASS_THROWN
static final int CLASS_THROWN
- See Also:
- Constant Field Values
CLASS_DESCS
static final java.lang.String[] CLASS_DESCS
weaponType
int weaponType()
weaponClassification
int weaponClassification()
setWeaponType
void setWeaponType(int newType)
setWeaponClassification
void setWeaponClassification(int newClassification)
setRanges
void setRanges(int min,
int max)
requiresAmmunition
boolean requiresAmmunition()
setAmmunitionType
void setAmmunitionType(java.lang.String ammo)
ammunitionType
java.lang.String ammunitionType()
ammunitionRemaining
int ammunitionRemaining()
setAmmoRemaining
void setAmmoRemaining(int amount)
ammunitionCapacity
int ammunitionCapacity()
setAmmoCapacity
void setAmmoCapacity(int amount)
hitString
java.lang.String hitString(int damageAmount)
missString
java.lang.String missString()