Added harvesting and milking of creatures, fixed odb save bug

This commit is contained in:
Light2
2014-05-04 17:37:58 +02:00
parent 44678d8c18
commit e78f1ec8fa
11 changed files with 403 additions and 44 deletions
+67 -1
View File
@@ -51,9 +51,11 @@ public class MobileTemplate {
private int minSpawnDistance = 0;
private int maxSpawnDistance = 0;
private boolean deathblow = false;
private String socialGroup; // see prima guide
private String socialGroup = ""; // see prima guide
private int assistRange; // use prima guide for ranges
private boolean isStalker = false;
private String meatType, milkType, boneType, hideType;
private int meatAmount, milkAmount, boneAmount, hideAmount;
public Vector<String> getTemplates() {
return templates;
@@ -262,4 +264,68 @@ public class MobileTemplate {
public void setStalker(boolean isStalker) {
this.isStalker = isStalker;
}
public String getMeatType() {
return meatType;
}
public void setMeatType(String meatType) {
this.meatType = meatType;
}
public String getMilkType() {
return milkType;
}
public void setMilkType(String milkType) {
this.milkType = milkType;
}
public String getBoneType() {
return boneType;
}
public void setBoneType(String boneType) {
this.boneType = boneType;
}
public String getHideType() {
return hideType;
}
public void setHideType(String hideType) {
this.hideType = hideType;
}
public int getMeatAmount() {
return meatAmount;
}
public void setMeatAmount(int meatAmount) {
this.meatAmount = meatAmount;
}
public int getMilkAmount() {
return milkAmount;
}
public void setMilkAmount(int milkAmount) {
this.milkAmount = milkAmount;
}
public int getBoneAmount() {
return boneAmount;
}
public void setBoneAmount(int boneAmount) {
this.boneAmount = boneAmount;
}
public int getHideAmount() {
return hideAmount;
}
public void setHideAmount(int hideAmount) {
this.hideAmount = hideAmount;
}
}