Menu functionality improved

Lootkit implemented
Loot price and further stats considered
This commit is contained in:
CharonInferar
2014-04-18 20:57:56 +02:00
parent 2b4527e165
commit 4f60260e53
51 changed files with 764 additions and 73 deletions
@@ -53,7 +53,7 @@ import engine.resources.scene.Planet;
import engine.resources.scene.Point3D;
import engine.resources.scene.Quaternion;
@Persistent(version=10)
@Persistent(version=11)
public class TangibleObject extends SWGObject {
// TODO: Thread safety
@@ -89,6 +89,8 @@ public class TangibleObject extends SWGObject {
@NotPersistent
private boolean lootItem = false;
private boolean stackable = false;
private int stackCount = 1;
private boolean noSell = false;
private byte junkType = -1;
private int junkDealerPrice = 0;
@@ -504,6 +506,22 @@ public class TangibleObject extends SWGObject {
this.lootItem = lootItem;
}
public boolean isStackable() {
return stackable;
}
public void setStackable(boolean stackable) {
this.stackable = stackable;
}
public int getStackCount() {
return stackCount;
}
public void setStackCount(int stackCount) {
this.stackCount = stackCount;
}
public boolean isNoSell() {
return noSell;
}