From 373a92a55c8c6f3997216e9c7631c9de557b1fbd Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 2 Mar 2021 19:09:03 -0500 Subject: [PATCH] Put humans back into the food category (still in creatures) --- presets/food.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/presets/food.js b/presets/food.js index bab2810d..fde6af6f 100644 --- a/presets/food.js +++ b/presets/food.js @@ -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();