From ff41e447491dbf01e228256706d4c1da3450d492 Mon Sep 17 00:00:00 2001 From: Ruterm <155300134+Ruterm@users.noreply.github.com> Date: Sun, 31 Dec 2023 19:15:25 +0200 Subject: [PATCH 1/2] Add files via upload add cooked apple --- mods/cooked_apple.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mods/cooked_apple.js diff --git a/mods/cooked_apple.js b/mods/cooked_apple.js new file mode 100644 index 00000000..e098a899 --- /dev/null +++ b/mods/cooked_apple.js @@ -0,0 +1,26 @@ +//В этом моде я добавил печёное яблоко +elements.cooked_apple = { + color: "#271f1c", + behavior: behaviors.POWDER, + temp: 20, + category: "food", + state: "solid", + tempHigh: 345, + stateHigh: "ash", + tempLow: -30, + stateLow: iced_apple, + density: 475 +}; + +elements.iced_apple = { + color: "#f7a37e", + behavior: behaviors.WALL, + temp: 20, + category: "states", + state: "solid", + tempHigh: 10, + stateHigh: "cooked_apple", + density: 745 +}; + + \ No newline at end of file From 6b79abf9202d9fc067a962469b1b8c55f187b763 Mon Sep 17 00:00:00 2001 From: Ruterm <155300134+Ruterm@users.noreply.github.com> Date: Sun, 31 Dec 2023 20:41:39 +0200 Subject: [PATCH 2/2] cooked_apple.js --- mods/cooked_apple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/cooked_apple.js b/mods/cooked_apple.js index e098a899..a23a5a5b 100644 --- a/mods/cooked_apple.js +++ b/mods/cooked_apple.js @@ -8,7 +8,7 @@ elements.cooked_apple = { tempHigh: 345, stateHigh: "ash", tempLow: -30, - stateLow: iced_apple, + stateLow: "iced_apple", density: 475 }; @@ -23,4 +23,4 @@ elements.iced_apple = { density: 745 }; - \ No newline at end of file +