mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Menu functionality improved
Lootkit implemented Loot price and further stats considered
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user