From d8e220a006f7eed94ad973fff37df461a80a9e27 Mon Sep 17 00:00:00 2001 From: kacperks Date: Sun, 8 Jan 2023 14:04:18 +0100 Subject: [PATCH] new items added --- mods/amogus_blocks/textures/crt.png | Bin 0 -> 167 bytes mods/amogus_blocks/textures/crt2.png | Bin 0 -> 122 bytes mods/amogus_items/init.lua | 31 +++++++++++++++++- mods/amogus_items/textures/coke.png | Bin 0 -> 169 bytes mods/amogus_items/textures/fanta.png | Bin 0 -> 200 bytes mods/amogus_items/textures/flashlight.png | Bin 0 -> 158 bytes .../amogus_items/textures/lightsaber_blue.png | Bin 0 -> 152 bytes .../textures/lightsaber_green.png | Bin 0 -> 159 bytes mods/amogus_items/textures/lightsaber_red.png | Bin 0 -> 152 bytes mods/amogus_items/textures/sprite.png | Bin 0 -> 181 bytes mods/amogus_items/textures/sugar.png | Bin 0 -> 179 bytes mods/amogus_items/textures/tomato.png | Bin 0 -> 194 bytes mods/amogus_items/textures/water.png | Bin 0 -> 284 bytes 13 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 mods/amogus_blocks/textures/crt.png create mode 100644 mods/amogus_blocks/textures/crt2.png create mode 100644 mods/amogus_items/textures/coke.png create mode 100644 mods/amogus_items/textures/fanta.png create mode 100644 mods/amogus_items/textures/flashlight.png create mode 100644 mods/amogus_items/textures/lightsaber_blue.png create mode 100644 mods/amogus_items/textures/lightsaber_green.png create mode 100644 mods/amogus_items/textures/lightsaber_red.png create mode 100644 mods/amogus_items/textures/sprite.png create mode 100644 mods/amogus_items/textures/sugar.png create mode 100644 mods/amogus_items/textures/tomato.png create mode 100644 mods/amogus_items/textures/water.png diff --git a/mods/amogus_blocks/textures/crt.png b/mods/amogus_blocks/textures/crt.png new file mode 100644 index 0000000000000000000000000000000000000000..f8d1323bee0821b298afef0019ebade736bfca79 GIT binary patch literal 167 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|5OU+%uLKkJ-%R;?9qbiS4JLbN}lGkk{B*)W*ahJ*sB1v OjKR~@&t;ucLK6Vz7B_AH literal 0 HcmV?d00001 diff --git a/mods/amogus_blocks/textures/crt2.png b/mods/amogus_blocks/textures/crt2.png new file mode 100644 index 0000000000000000000000000000000000000000..17a36fa0e21b707007af931e0775f998f6590604 GIT binary patch literal 122 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Ogvp2LoEE0 zZR#JNt7qe4c)WsSyqD^>bP0l+XkKm8T^l literal 0 HcmV?d00001 diff --git a/mods/amogus_items/init.lua b/mods/amogus_items/init.lua index 05b0d51..1b2029c 100644 --- a/mods/amogus_items/init.lua +++ b/mods/amogus_items/init.lua @@ -32,4 +32,33 @@ minetest.register_craftitem("amogus_items:amogus", { end return itemstack end -}) \ No newline at end of file +}) + +-- add sprite, coke, fanta, tomato, and water items and make it heal 1 hp +minetest.register_craftitem("amogus_items:sprite", { + description = "Sprite", + inventory_image = "sprite.png", + on_use = minetest.item_eat(1), +}) +minetest.register_craftitem("amogus_items:coke", { + description = "Coke", + inventory_image = "coke.png", + on_use = minetest.item_eat(1), +}) +minetest.register_craftitem("amogus_items:fanta", { + description = "Fanta", + inventory_image = "fanta.png", + on_use = minetest.item_eat(1), +}) +minetest.register_craftitem("amogus_items:tomato", { + description = "Tomato", + inventory_image = "tomato.png", + on_use = minetest.item_eat(1), +}) +minetest.register_craftitem("amogus_items:water", { + description = "Water", + inventory_image = "water.png", + on_use = minetest.item_eat(1), +}) +-- add sprite, coke, fanta, tomato, and water crafting recipes + diff --git a/mods/amogus_items/textures/coke.png b/mods/amogus_items/textures/coke.png new file mode 100644 index 0000000000000000000000000000000000000000..76a4afc2b8a836c8f5c4a9320c839031e756c834 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|l0976w9`n-QYtDJ~L6YHG56gyCM^hPgrOmLEc*VYwal-*;{)C*y&a2!Z zh7Hx{J=@mnJ>xNu3NLw7%D7AM%U7mtB3@g#B_t%+>=Xs(x_^A;mgK|8uy=}{V47!x Q9?&`lPgg&ebxsLQ0JVWRxBvhE literal 0 HcmV?d00001 diff --git a/mods/amogus_items/textures/fanta.png b/mods/amogus_items/textures/fanta.png new file mode 100644 index 0000000000000000000000000000000000000000..cfb528470f0bc3573590d324d5c5255d804aaaaf GIT binary patch literal 200 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|nmk<`LoEE0 zQx*sqJi7efe)>auk9mbg%zmX7s{hV6WVA6J<9XATV9F3{Z0F3jn(@K`Xa0no#?HIk z0n9aXnGU4o+}qCRGdYLB`K~ovo0=k{lSP~}*x+14t-6k^Db z!ci5m;J2)pUqmcJG3zGr4VLmt@~$*oG&nGuujA}fhOg<7f){W11xw=I{?*6W04c^8lgl)If`94#t^iJf#Lp~biqlT+wTJ{VeoYIb6Mw< G&;$TxQ#Bj_ literal 0 HcmV?d00001 diff --git a/mods/amogus_items/textures/lightsaber_red.png b/mods/amogus_items/textures/lightsaber_red.png new file mode 100644 index 0000000000000000000000000000000000000000..faa6869dfb9ede57840ea135f7f6713eb7046dbb GIT binary patch literal 152 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|f;?RuLoEE0 zQw}iivzYz&`OWGs!TC~iCMldfGi@7BeZPF#f%FqA7!MY;#@}c>VeRUw(}wn}np~##KkPI@U?fS8Tq*5bV!Z literal 0 HcmV?d00001 diff --git a/mods/amogus_items/textures/tomato.png b/mods/amogus_items/textures/tomato.png new file mode 100644 index 0000000000000000000000000000000000000000..8c0c175f7beb37fb358b1c7dd827fc42ede99487 GIT binary patch literal 194 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|YCK&WLoEE0 zQx*sq1g)6Qc$i`SSH}O2ZF!t`4s@J3mMRz~e!%1q&!OjDbMzdpu@vzJ>iu|>!&YXe zcVP2(kv7Ky#*(vVrfuV?@0U+wxM;xeXt8wDWrmXQ13WSo%n5o*w^>6B8I5Sv=T q%aD0sI^Tv&wwDX*(v(cgnHU~?a}Z=+_k|Pa4hBzGKbLh*2~7YoRYI%) literal 0 HcmV?d00001 diff --git a/mods/amogus_items/textures/water.png b/mods/amogus_items/textures/water.png new file mode 100644 index 0000000000000000000000000000000000000000..154136cd44690dccaa54d65c2ebfa43f16600c69 GIT binary patch literal 284 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|u6epRhFJI~ zryOAX_y7NYd9|Y_PMqlQmi6Q8;`w0z=kNZN0>X!1mj6E>mS6d8`onw+{;<;qERM4r zXDxaXd0^Ib+ds|M1$dZegxCGNzv3|0HI^dAGpajc94|0Ta8#9A!((e+XPmR;>5%|` zph$RL{lDV@^-s;O6&#RaJHgm-M(q^q3B!gpl21ez@irV~(qT*J?8sntFk5__>7pKk z>tiGDvVsGO?#d_G8s_kKRR_#!Sn9E84}-Udg0BK|&5{`pO)jz>FloGGf5KtHXU8NL g$p-D)kA&D6IG#=y+{BpQ4D=y`r>mdKI;Vst0RJR!`~Uy| literal 0 HcmV?d00001