From 01a74b3d05c04d59414bf856122dfe4a8b89dacc Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Mon, 21 Nov 2022 23:35:57 +0100 Subject: [PATCH 1/5] added glowing block --- mods/poop/init.lua | 8 ++++++++ mods/poop/textures/glowing_block.png | Bin 0 -> 784 bytes 2 files changed, 8 insertions(+) create mode 100644 mods/poop/textures/glowing_block.png diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 311a7ca..1f7b57f 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -303,6 +303,14 @@ minetest.register_node("poop:Poop2", { drop = 'poop:Poop', groups = {cracky=3, stone=1}, }) +minetest.register_node("poop:glowing_block", { + description = "Glowing Block", + tiles = {"glowing_block.png"}, + + drop = 'poop:glowing_block', groups = {cracky=3, stone=1}, + light_source = 14 +}) + minetest.register_node("poop:flux_capacitor", { description = "Flux Capacitor from Back to the Future", tiles = {"fluxcap2.png", "fluxcap2.png","fluxcap2.png","fluxcap.png","fluxcap2.png","fluxcap2.png"}, diff --git a/mods/poop/textures/glowing_block.png b/mods/poop/textures/glowing_block.png new file mode 100644 index 0000000000000000000000000000000000000000..a23ca57a5b0f2345d066417b88b07db4ac1df937 GIT binary patch literal 784 zcmV+r1MmEaP)EX>4Tx04R}tkv&MmKpe$iQ>CI62dk(!WT;LSL`58>ibb$c+6t{Ym|XfHG-*gu zTpR`0f`cE6RRZK#~^|dGxd0CAq~&*bq^n3?;itw zOXs{#9AZUDAwDM_Gw6cEk6f2se&bwlSm2o6%Cbmia4yO8s!Ta zmle)ioYhi=HSWn@7|dzQDX!BTMhuIHBLNXID%d~?79zB2q?kz3e$>N1Lere~bWuU7%jI?eAmTuAcz@XW&X}`pY$7=9Bbl zQwtvfJ=?&=byJh~fXf|V;7OMZ$&vgtg?t`(KcjET0=>6D=c?OVV;`pvK$^N*x&aOj zfzbkGuX((?qqVnx&ouh`0doyrT_o{8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kWXdp*PO;A^X4i^9b z0QpHoK~yNuWs4X_J zp{?Ws8_b>3)Y=ySZ>2482%X{7lQk)~QQQHCxFvV7o(1l~ne%kSlG=7L74GoaDaFyQ z?7{_5xsL#|%3P+A#Ah>T7u{fWDvJ7OV~#cZj|NXhEe)<>yVvMSwnc}=NjB1)p5PEqrSp!I)4F_R$bq3RnYVR O0000 Date: Mon, 21 Nov 2022 22:38:24 +0000 Subject: [PATCH 2/5] Add ladder --- mods/poop/init.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 1f7b57f..15b17f9 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -193,6 +193,28 @@ minetest.register_node("poop:box", { } }) +minetest.register_node("poop:ladder_steel", { + description = "Ladder", + drawtype = "signlike", + tiles = {"Poop.png"}, + tiles = {"Poop.png"}, + tiles = {"Poop.png"}, + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + climbable = true, + is_ground_content = false, + selection_box = { + type = "wallmounted", + --wall_top = = + --wall_bottom = = + --wall_side = = + }, + groups = {cracky = 2}, +}) + + -- make a tool called flashlight that can be used to light up the world minetest.register_tool("poop:flashlight", { description = "Flashlight", From 239895dfe035b142d35b3dd14132a54b678dd6ac Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Mon, 21 Nov 2022 23:48:09 +0100 Subject: [PATCH 3/5] changed ladder texture --- mods/poop/init.lua | 4 +--- mods/poop/textures/ladder.png | Bin 0 -> 783 bytes 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 mods/poop/textures/ladder.png diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 15b17f9..1ae2e60 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -196,9 +196,7 @@ minetest.register_node("poop:box", { minetest.register_node("poop:ladder_steel", { description = "Ladder", drawtype = "signlike", - tiles = {"Poop.png"}, - tiles = {"Poop.png"}, - tiles = {"Poop.png"}, + tiles = {"ladder.png"}, paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, diff --git a/mods/poop/textures/ladder.png b/mods/poop/textures/ladder.png new file mode 100644 index 0000000000000000000000000000000000000000..9bd67beb25f99bab11f6f5a758714a01ab4b87e4 GIT binary patch literal 783 zcmV+q1MvKbP)EX>4Tx04R}tkv&MmKpe$iQ>9`n4ptFy$WR5rf~bh2RIvyaN?V~-2a`*`ph-iL z;^HW{799LotU9+0Yt2!bCVj!sUBE>hzE(n59U#<7Of@?u09CV$ zL^L9%GpnNS6@K(%0Auh=%+zDa#S~n}*F8LZy$ka!_j7-a9wlosz#|gRG2O6;H;898 zEuHf|agY@xh4`F!+@K2*KXP4e@Ehm6!vfC?8mYuQagbQdx3S#DtYE0b)5IY~)hJ&` zH(24k#aS&?So5Czg@LTLlH@wgVMMWn7~&8iqk5?ga5(rZq3}(WFsjM0Xko7`(p&~?E>|xZGRuzcKrnKJ_A=;%U`Ymv!A3_ zTUzJ{=-mb`u3MVC2VCv|gHO6-NRH&CDdcj%`x$*x2I#v5y4M=LHTQA)0Hmm^y{D4^000SaNLh0L z04^f{04^f|c%?sf00007bV*G`2j&YE7A+U2jKpaG000?uMObu0Z*6U5Zgc=ca%Ew3 zWn>_CX>@2HM@dakSAh-}0002yNkl+txl}*aM+jlpxPlM@ z2L+T;rv{ z=P*qZ`o1R*05HZRZ^JMo0&8s|DvBbJdGBG2`8lK3nv`W3LkOtrnq0|mnkI72p|vKv z3>afrmgS>=#u&W!#}Mx Date: Mon, 21 Nov 2022 22:53:45 +0000 Subject: [PATCH 4/5] Added "facedir" to the CRT --- mods/poop/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 1ae2e60..db9d013 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -263,7 +263,7 @@ minetest.register_node("poop:Poop", { minetest.register_node("poop:tv", { description = "CRT TV", tiles = {"PC2.png", "PC2.png","PC2.png","PC.png","PC2.png","PC2.png"}, - + paramtype2 = "facedir", drop = 'poop:Poop', groups = {cracky=3, stone=1}, }) From 34450130d5362f898efabdcabcfc134d12f448c0 Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Mon, 21 Nov 2022 23:57:06 +0100 Subject: [PATCH 5/5] fixed tv oreintation --- mods/poop/init.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mods/poop/init.lua b/mods/poop/init.lua index db9d013..a3d9415 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -262,7 +262,14 @@ minetest.register_node("poop:Poop", { minetest.register_node("poop:tv", { description = "CRT TV", - tiles = {"PC2.png", "PC2.png","PC2.png","PC.png","PC2.png","PC2.png"}, + tiles = { + "PC2.png", + "PC2.png", + "PC2.png", + "PC2.png", + "PC2.png", + "PC.png" + }, paramtype2 = "facedir", drop = 'poop:Poop', groups = {cracky=3, stone=1}, })