From 427f31b70b48d17b0bdf775bb85bac4515292b66 Mon Sep 17 00:00:00 2001 From: MCLx86 Date: Tue, 21 Dec 2021 19:55:39 -0500 Subject: [PATCH] Payphobes 'n' shit --- mods/coconut/init.lua | 15 ++++---- mods/coconut/textures/coconut_nut.png | Bin 0 -> 159 bytes mods/coconut/textures/coconut_nut_side.png | Bin 0 -> 126 bytes mods/main/mapgen.lua | 36 +++++++++++++++++- mods/main/schematics/main_payphone.mts | Bin 0 -> 83 bytes mods/main/schematics/main_tree.mts | Bin 0 -> 199 bytes mods/main/schematics/main_tree_apple.mts | Bin 109 -> 0 bytes mods/main/schematics/main_tree_oak.mts | Bin 121 -> 0 bytes mods/main/schematics/main_tree_oak_tall.mts | Bin 155 -> 0 bytes .../schematics/main_tree_oak_tall_dead.mts | Bin 79 -> 0 bytes 10 files changed, 42 insertions(+), 9 deletions(-) create mode 100644 mods/coconut/textures/coconut_nut.png create mode 100644 mods/coconut/textures/coconut_nut_side.png create mode 100644 mods/main/schematics/main_payphone.mts create mode 100644 mods/main/schematics/main_tree.mts delete mode 100644 mods/main/schematics/main_tree_apple.mts delete mode 100644 mods/main/schematics/main_tree_oak.mts delete mode 100644 mods/main/schematics/main_tree_oak_tall.mts delete mode 100644 mods/main/schematics/main_tree_oak_tall_dead.mts diff --git a/mods/coconut/init.lua b/mods/coconut/init.lua index a12892c..a62d3cf 100644 --- a/mods/coconut/init.lua +++ b/mods/coconut/init.lua @@ -3,12 +3,12 @@ coconut = {} minetest.register_node("coconut:nut", { tiles = { - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png" + "coconut_nut.png", + "coconut_nut.png", + "coconut_nut_side.png", + "coconut_nut_side.png", + "coconut_nut_side.png", + "coconut_nut_side.png" }, drawtype = "nodebox", paramtype = "light", @@ -19,7 +19,8 @@ minetest.register_node("coconut:nut", { { {-0.25, -0.5, -0.25, 0.25, 0, 0.25}, } - } + }, + groups = {falling_node = 1, cracky = 2} }) function coconut.init() diff --git a/mods/coconut/textures/coconut_nut.png b/mods/coconut/textures/coconut_nut.png new file mode 100644 index 0000000000000000000000000000000000000000..6211b6794e3bd427f0446ffd682cf862c1f811f4 GIT binary patch literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|B0XIkLo7}w zCrGgNykL?vYx@5&b4KA4+b%h^oUR#>5f6U6EqAk+{qVUv&sLuuIaObO>N5jDvxL5J zoc;roh6!#>Yzua`+{`(EjSq%g!%<#rwiUt1zN)3>FVdQ&MBb@ E0PV^&^Z)<= literal 0 HcmV?d00001 diff --git a/mods/coconut/textures/coconut_nut_side.png b/mods/coconut/textures/coconut_nut_side.png new file mode 100644 index 0000000000000000000000000000000000000000..f6ee05ea994aefa0f15d64b85a0a781c706a4980 GIT binary patch literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|EIeHtLo7}w zCrGd^ZfI;2j8!=7_QBqc*SK$w`^CdezJkWwVTo<~bP0l+XkK6+R|e literal 0 HcmV?d00001 diff --git a/mods/main/mapgen.lua b/mods/main/mapgen.lua index fa514b5..433bcf6 100644 --- a/mods/main/mapgen.lua +++ b/mods/main/mapgen.lua @@ -30,14 +30,46 @@ minetest.register_biome( minetest.register_decoration( { deco_type = "schematic", - place_on = {"main:dirt_with_grass", "main:dirt", "main:sand", "main:dirt_with_swamp_grass"}, + place_on = {"main:grass", "main:sand"}, rotation = "random", sidelen = 16, fill_ratio = 0.004, - biomes = {"Grasslands", "Swamp", "Desert", "Wasteland"}, + biomes = {"Beach"}, flags = "place_center_x, place_center_z", schematic = minetest.get_modpath("main") .. "/schematics/main_rock_cobble_small.mts", y_min = -32000, y_max = 32000, }) + +--Tree +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"main:sand"}, + rotation = "random", + sidelen = 32, + fill_ratio = 0.003, + biomes = {"Beach"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("main") + .. "/schematics/main_tree.mts", + y_min = -32000, + y_max = 32000, +}) + +--Payphone +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"main:sand"}, + rotation = "random", + sidelen = 256, + fill_ratio = 0.001, + biomes = {"Beach"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("main") + .. "/schematics/main_payphone.mts", + y_min = -32000, + y_max = 32000, +}) diff --git a/mods/main/schematics/main_payphone.mts b/mods/main/schematics/main_payphone.mts new file mode 100644 index 0000000000000000000000000000000000000000..e3da0bcf7ce348aeba84b0ce41797c5ef84e3a6f GIT binary patch literal 83 zcmeYb3HD`RVPIrnVqmJTXJBR!$W6@5vr5XzPtJ}nE=f(zVPH4o>fk2Vp(c219x(Ma(-TEi4_nta6n}8 z(<|n@4QAv!Ai%RHkN^I4aU-KH!&s|_LYzmxuHy<|$W#$M-l6Aqk9C>Q|ht55#` literal 0 HcmV?d00001 diff --git a/mods/main/schematics/main_tree_apple.mts b/mods/main/schematics/main_tree_apple.mts deleted file mode 100644 index 5f9650356d472ae472f3ec58ae9629a2a4eac2c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 109 zcmeYb3HD`RVPIuoV_>ZZ0|sUW=ETe*2Ep9K%si`{)WovX;`qdZf}B(aK8R3$I)q;_ zCpkfZLE@mmF*R0$LyCIAGYU32teW}Y*USwwoI3ZmlqO#dwAWw^+_%V@f#LB%uUP<0 C!Y5V$ diff --git a/mods/main/schematics/main_tree_oak.mts b/mods/main/schematics/main_tree_oak.mts deleted file mode 100644 index 66c213fbf778f2f2a513f09952e429fd13674632..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmeYb3HD`RVPIuoV_>ZZ0|sUW=ETe*2L9Z{%si`{)WovX;`sc;Yz7{PKz=%iS1~6! z;Q*J!L4m198;%^}b;z2rV3)+hT^nZ~XSsf~#Z_N;&e@hkEJINtyO diff --git a/mods/main/schematics/main_tree_oak_tall_dead.mts b/mods/main/schematics/main_tree_oak_tall_dead.mts deleted file mode 100644 index 168b292076f29fde9310e2c66fdefb1c9b942185..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmeYb3HD`RVPIz9VPLLD0t`$H%!!#r3_Q7snR!+@`RVcbiP;r%k`olT4U#6@IMSi0 Z$=;K2qQS}N%4NZTlkzT%3^K*0D*(bO8a4m`