1package com.runehive.util.parser.old.defs;
3import com.runehive.Config;
63 public ItemDefinition(
int id, String
name,
boolean members,
boolean tradeable,
boolean stackable,
boolean droppable,
boolean noteable,
boolean noted,
int notedId,
int street_value,
int base_value,
int highAlch,
int lowAlch, String
examine, String
destroyMessage,
double weight) {
147 public boolean isNoteable() {
157 public int getParentId() {
169 public int getNotedId() {
181 public boolean isStackable() {
190 public boolean isDroppable() {
199 public boolean isTradeable() {
208 public boolean isMembers() {
217 public int getStreetValue() {
226 public int getBaseValue() {
235 public int getValue() {
236 return getStreetValue();
244 public int getHighAlch() {
253 public int getLowAlch() {
262 public double getWeight() {
The class that contains setting-related constants for the server.
static final int ITEM_DEFINITION_LIMIT
The limit of the item identification.
String name
The item name definition.
int id
The item identification definition.
ItemDefinition(int id, String name, boolean members, boolean tradeable, boolean stackable, boolean droppable, boolean noteable, boolean noted, int notedId, int street_value, int base_value, int highAlch, int lowAlch, String examine, String destroyMessage, double weight)
boolean droppable
The droppable item state definition.
String getName()
Gets the item name.
double weight
The item's weight definition.
String examine
The item examine definition.
int street_value
The item street value definition.
boolean tradeable
The tradable item state.
int base_value
The item base value definition.
int lowAlch
The low alchemy value definition.
String getDestroyMessage()
Gets the item destroy message.
String destroyMessage
The item destroy message definition.
boolean isNoted()
Gets the item note state.
boolean noted
The noted item state definition.
String getExamine()
Gets the item examine.
boolean noteable
The item notability state definition.
int highAlch
The high alchemy value definition.
boolean stackable
The stackable item state definition.
static final ItemDefinition[] DEFINITIONS
An array of item definitions.
boolean members
The gameMembers item state.
int notedId
The noted item identification definition.
int getId()
Gets the item id.