45public class ItemDefinition {
57 private boolean members;
60 private boolean tradeable;
63 private boolean stackable;
66 private boolean droppable;
69 private boolean noteable;
72 private boolean noted;
78 private int street_value;
81 private int base_value;
90 private String examine;
93 private String destroyMessage;
96 private double weight;
98 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) {
101 this.members = members;
102 this.tradeable = tradeable;
103 this.stackable = stackable;
104 this.droppable = droppable;
105 this.noteable = noteable;
107 this.notedId = notedId;
108 this.street_value = street_value;
109 this.base_value = base_value;
110 this.highAlch = highAlch;
111 this.lowAlch = lowAlch;
112 this.examine = examine;
113 this.destroyMessage = destroyMessage;
114 this.weight = weight;
124 public static final ItemDefinition
get(
int id) {
165 return destroyMessage;
182 public boolean isNoteable() {
192 public int getParentId() {
196 return noted ? notedId :
get(notedId).notedId;
204 public int getNotedId() {
216 public boolean isStackable() {
225 public boolean isDroppable() {
234 public boolean isTradeable() {
243 public boolean isMembers() {
252 public int getStreetValue() {
261 public int getBaseValue() {
270 public int getValue() {
271 return getStreetValue();
279 public int getHighAlch() {
288 public int getLowAlch() {
297 public double getWeight() {