|
|
|
@@ -450,6 +450,7 @@ const config = { |
|
|
|
autoFit: false, |
|
|
|
drawYAxis: true, |
|
|
|
drawXAxis: false, |
|
|
|
autoMass: "off", |
|
|
|
autoFoodIntake: false, |
|
|
|
autoPreyCapacity: false |
|
|
|
} |
|
|
|
@@ -1206,7 +1207,7 @@ function makeEntity(info, views, sizes, forms = {}) { |
|
|
|
|
|
|
|
view.units = {}; |
|
|
|
|
|
|
|
if (config.autoMass && view.attributes.weight === undefined) { |
|
|
|
if (config.autoMass !== "off" && view.attributes.weight === undefined) { |
|
|
|
let base = undefined; |
|
|
|
switch(config.autoMass) { |
|
|
|
case "human": |
|
|
|
|