Pārlūkot izejas kodu

Put humans back into the food category (still in creatures)

master
Fen Dweller pirms 4 gadiem
vecāks
revīzija
373a92a55c
1 mainītis faili ar 23 papildinājumiem un 0 dzēšanām
  1. +23
    -0
      presets/food.js

+ 23
- 0
presets/food.js Parādīt failu

@@ -120,6 +120,29 @@ function makeFood() {
"food"
))

results.push({
name: "Human",
constructor: () => makeObject(
"Human",
{
woman1: {
height: math.unit(5 + 7 / 12, "feet"),
mass: math.unit(140, "lbs"),
energy: math.unit(1, "peopleEaten"),
image: { source: "./media/food/humans/woman-1.svg" },
name: "Woman 1"
},
man1: {
height: math.unit(5 + 11 / 12, "feet"),
mass: math.unit(150, "lbs"),
energy: math.unit(1, "peopleEaten"),
image: { source: "./media/food/humans/man-1.svg" },
name: "Man 1"
},
}
)
})

results.sort((b1, b2) => {
e1 = b1.constructor();
e2 = b2.constructor();


Notiek ielāde…
Atcelt
Saglabāt