From 46e0ef5a173567ec49b9ded11bc58a259ceaa3e7 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sat, 12 Nov 2022 10:20:54 +0000 Subject: [PATCH] add sugar cube --- README.md | 3 ++- food.lua | 17 +++++++++++++++++ textures/farming_sugar_cube.png | Bin 0 -> 342 bytes 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 textures/farming_sugar_cube.png diff --git a/README.md b/README.md index 9250f01..56c20d2 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ This farming mod provides a large selection of craftable food and items: | farming:rose_water | Rose Water | | farming:glass_water | Glass of Water | | farming:sugar | Sugar | +| farming:sugar_cube | Sugar Cube | | farming:caramel | Caramel | | farming:turkish_delight | Turkish Delight | | farming:garlic_bread | Garlic Bread | @@ -217,7 +218,7 @@ on an older map are enabled and growing properly. ### Changelog: -- 1.47 - Now blueberries can make blue dye, tweak soil types to work better with older 0.4.x clients and add spanish translation (thx mckaygerhard), add trellis setting to registered_crops and fix pea and soy crop names (thx nixnoxus), add strawberries if ethereal mod not active, added asparagus; spinach; eggplant (thx Atlante for new textures) +- 1.47 - Now blueberries can make blue dye, tweak soil types to work better with older 0.4.x clients and add spanish translation (thx mckaygerhard), add trellis setting to registered_crops and fix pea and soy crop names (thx nixnoxus), add strawberries if ethereal mod not active, added asparagus; spinach; eggplant (thx Atlante for new textures), Sugar Cube - 1.46 - Added min/max default light settings, added lettuce and blackberries with food items (thanks OgelGames), added soya, vanilla and sunflowers (thanks Felfa), added tofu, added salt crystals (thanks gorlock) - 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base, added cactus juice, added pasta, spaghetti, cabbage, korean bibimbap, code tidy options, onion soup added (thanks edcrypt), Added apple pie, added wild cotton to savanna diff --git a/food.lua b/food.lua index 70b1392..d847a58 100644 --- a/food.lua +++ b/food.lua @@ -68,6 +68,23 @@ minetest.register_craft({ recipe = "default:papyrus" }) +minetest.register_node("farming:sugar_cube", { + description = S("Sugar Cube"), + tiles = {"farming_sugar_cube.png"}, + groups = {crumbly = 2}, + floodable = true, + sounds = default.node_sound_gravel_defaults() +}) + +minetest.register_craft({ + output = "farming:sugar_cube", + recipe = { + {"farming:sugar", "farming:sugar", "farming:sugar"}, + {"farming:sugar", "farming:sugar", "farming:sugar"}, + {"farming:sugar", "farming:sugar", "farming:sugar"} + } +}) + --= Sugar caramel minetest.register_craftitem("farming:caramel", { diff --git a/textures/farming_sugar_cube.png b/textures/farming_sugar_cube.png new file mode 100644 index 0000000000000000000000000000000000000000..326652bea6c8bf08d2849f2b94e2bda2850aba4b GIT binary patch literal 342 zcmV-c0jd6pP)lt)=I7_<=;-L_>FMg~ z>g((4?d|RE?(XmJ@9^;O@$vEU^78ZZ^Y!)h_xJa$KH1d(006p4L_t&-(-n_Fb^{>{ zL)|vb4A@vUHZUZ;|2aF^X`!e8Mc-i!1LEAw-`PmVQ+*l_c3}k3y1M=)GZJiFPqND` zAeL@x!j<~e(#*hjIMtnOjVy`rh9P8uR`{x)PDOL;g}%hy`0xTq%a;)x(YxsJkZVOd zsrJj_-dxXHEWA(-ONq`Xh_Npxu5KV(D?zoruRb^rhX07*qoM6N<$f*1q3LI3~& literal 0 HcmV?d00001