Add front distance to item dropping
This commit is contained in:
@@ -1386,6 +1386,7 @@ class ItemTypeData {
|
|||||||
this.dropRotation = toVector3(0.0, 0.0, 0.0);
|
this.dropRotation = toVector3(0.0, 0.0, 0.0);
|
||||||
this.dropScale = toVector3(0.0, 0.0, 0.0);
|
this.dropScale = toVector3(0.0, 0.0, 0.0);
|
||||||
this.dropModel = 0;
|
this.dropModel = 0;
|
||||||
|
this.dropFrontDistance = 0.0;
|
||||||
this.orderPrice = 0;
|
this.orderPrice = 0;
|
||||||
this.orderValue = 0;
|
this.orderValue = 0;
|
||||||
this.demandMultiplier = 1;
|
this.demandMultiplier = 1;
|
||||||
@@ -1426,6 +1427,7 @@ class ItemTypeData {
|
|||||||
this.dropRotation = toVector3(toFloat(dbAssoc["item_type_drop_rot_x"]), toFloat(dbAssoc["item_type_drop_rot_y"]), toFloat(dbAssoc["item_type_drop_rot_z"]));
|
this.dropRotation = toVector3(toFloat(dbAssoc["item_type_drop_rot_x"]), toFloat(dbAssoc["item_type_drop_rot_y"]), toFloat(dbAssoc["item_type_drop_rot_z"]));
|
||||||
this.dropScale = toVector3(toFloat(dbAssoc["item_type_drop_scale_x"]), toFloat(dbAssoc["item_type_drop_scale_y"]), toFloat(dbAssoc["item_type_drop_scale_z"]));
|
this.dropScale = toVector3(toFloat(dbAssoc["item_type_drop_scale_x"]), toFloat(dbAssoc["item_type_drop_scale_y"]), toFloat(dbAssoc["item_type_drop_scale_z"]));
|
||||||
this.dropModel = toInteger(dbAssoc["item_type_drop_model"]);
|
this.dropModel = toInteger(dbAssoc["item_type_drop_model"]);
|
||||||
|
this.dropFrontDistance = toFloat(dbAssoc["item_type_drop_front_distance"]);
|
||||||
this.useId = toInteger(dbAssoc["item_type_use_id"]);
|
this.useId = toInteger(dbAssoc["item_type_use_id"]);
|
||||||
this.useValue = toInteger(dbAssoc["item_type_use_value"]);
|
this.useValue = toInteger(dbAssoc["item_type_use_value"]);
|
||||||
this.maxValue = toInteger(dbAssoc["item_type_max_value"]);
|
this.maxValue = toInteger(dbAssoc["item_type_max_value"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user