diff --git a/mods/mapgen/init.lua b/mods/mapgen/init.lua index 5569082e..d2001773 100644 --- a/mods/mapgen/init.lua +++ b/mods/mapgen/init.lua @@ -21,20 +21,22 @@ minetest.register_biome({ height_max = 160, }) --- Obsidian Biome +-- Basalt Biome minetest.register_biome({ - name = "plains", - node_top = "default:obsidian", - node_bottom = "moontest:stone", - depth_top = 8, + name = "basalt", + node_top = "moontest:basalt", + depth_top = 2, + node_filler = "moontest:stone", + depth_filler = 3, node_dust = "air", - height_min = -30, - height_max = 20, + height_min = -50, + height_max = 2, + heat_point = 54, + humidity_point = 51, }) -- Aliases -minetest.register_alias("mapgen_water_source", "moontest:vacuum") -minetest.register_alias("mapgen_lava_source", "default:lava_source") +minetest.register_alias("mapgen_lava_source", "moontest:hlsource") +minetest.register_alias("mapgen_water_source", "moontest:hlsource") minetest.register_alias("mapgen_stone", "moontest:stone") -minetest.register_alias("mapgen_dirt", "moontest:dust") diff --git a/mods/moontest/nodes.lua b/mods/moontest/nodes.lua index ffc02c81..041f79ec 100644 --- a/mods/moontest/nodes.lua +++ b/mods/moontest/nodes.lua @@ -1,3 +1,6 @@ +-- Nodes + +-- Natural Blocks minetest.register_node("moontest:stone", { description = "Moon Stone", tiles = {"moontest_stone.png"}, @@ -14,6 +17,14 @@ minetest.register_node("moontest:dust", { }), }) +minetest.register_node("moontest:basalt", { + description = "Basalt", + tiles = {"moontest_basalt.png"}, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +-- Footsteps minetest.register_node("moontest:dustprint1", { description = "Moon Dust Footprint1", tiles = {"moontest_dustprint1.png", "moontest_dust.png"}, @@ -96,7 +107,7 @@ minetest.register_node("moontest:waterice", { }) minetest.register_node("moontest:hlflowing", { - description = "Flowing Hydroponics", + description = "Flowing Hydroponic Liquid", inventory_image = minetest.inventorycube("moontest_hl.png"), drawtype = "flowingliquid", tiles = {"moontest_hl.png"}, @@ -127,18 +138,18 @@ minetest.register_node("moontest:hlflowing", { }) minetest.register_node("moontest:hlsource", { - description = "Hydroponic Source", + description = "Hydroponic Liquid Source", inventory_image = minetest.inventorycube("moontest_hl.png"), drawtype = "liquid", tiles = {"moontest_hl.png"}, special_tiles = { { - image="moontest_hl_animated.png", + image="moontest_hlflowing_animated.png", backface_culling=false, animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2} }, { - image="moontest_hl_animated.png", + image="moontest_hlflowing_animated.png", backface_culling=true, animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2} }, @@ -147,14 +158,14 @@ minetest.register_node("moontest:hlsource", { paramtype = "light", walkable = false, pointable = false, - diggable = false, + diggable = false buildable_to = true, liquidtype = "source", liquid_alternative_flowing = "moontest:hlflowing", liquid_alternative_source = "moontest:hlsource", liquid_viscosity = 1, post_effect_color = {a=224, r=115, g=55, b=24}, - groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1}, + groups = {water=3, liquid=3, puts_out_fire=1}, }) minetest.register_node("moontest:soil", { @@ -282,17 +293,14 @@ minetest.register_node("moontest:stonestair", { minetest.register_craftitem("moontest:spacesuit", { description = "Spacesuit", inventory_image = "moontest_spacesuit.png", - groups = {not_in_creative_inventory=1}, }) minetest.register_craftitem("moontest:helmet", { description = "Helmet", inventory_image = "moontest_helmet.png", - groups = {not_in_creative_inventory=1}, }) minetest.register_craftitem("moontest:lifesupport", { description = "Life Support", inventory_image = "moontest_lifesupport.png", - groups = {not_in_creative_inventory=1}, }) diff --git a/mods/moontest/textures/moontest_basalt.png b/mods/moontest/textures/moontest_basalt.png new file mode 100644 index 00000000..66b4bb75 Binary files /dev/null and b/mods/moontest/textures/moontest_basalt.png differ diff --git a/mods/sky/init.lua b/mods/sky/init.lua index 29fe52f7..88084c30 100644 --- a/mods/sky/init.lua +++ b/mods/sky/init.lua @@ -16,15 +16,15 @@ end) -- Sky textures minetest.register_on_joinplayer(function(player) minetest.after(0, function() - skytex ={ - "pink_planet_pos_y.png", - "pink_planet_neg_y.png", - "pink_planet_pos_z.png", - "pink_planet_neg_z.png", - "pink_planet_neg_x.png", - "pink_planet_pos_x.png", + skytextures ={ + "sky_pos_y.png", + "sky_neg_y.png", + "sky_pos_z.png", + "sky_neg_z.png", + "sky_neg_x.png", + "sky_pos_x.png", } - player:set_sky({r=0, g=0, b=0, a=0},"skybox", skytex) + player:set_sky({r=0, g=0, b=0, a=0},"skybox", skytextures) end) end) diff --git a/mods/sky/textures/sky_neg_x.png b/mods/sky/textures/sky_neg_x.png new file mode 100644 index 00000000..7f302bc8 Binary files /dev/null and b/mods/sky/textures/sky_neg_x.png differ diff --git a/mods/sky/textures/sky_neg_y.png b/mods/sky/textures/sky_neg_y.png new file mode 100644 index 00000000..be625c42 Binary files /dev/null and b/mods/sky/textures/sky_neg_y.png differ diff --git a/mods/sky/textures/sky_neg_z.png b/mods/sky/textures/sky_neg_z.png new file mode 100644 index 00000000..e71d3443 Binary files /dev/null and b/mods/sky/textures/sky_neg_z.png differ diff --git a/mods/sky/textures/sky_pos_x.png b/mods/sky/textures/sky_pos_x.png new file mode 100644 index 00000000..6e7543e0 Binary files /dev/null and b/mods/sky/textures/sky_pos_x.png differ diff --git a/mods/sky/textures/sky_pos_y.png b/mods/sky/textures/sky_pos_y.png new file mode 100644 index 00000000..ab4e7d98 Binary files /dev/null and b/mods/sky/textures/sky_pos_y.png differ diff --git a/mods/sky/textures/sky_pos_z.png b/mods/sky/textures/sky_pos_z.png new file mode 100644 index 00000000..bbb348ec Binary files /dev/null and b/mods/sky/textures/sky_pos_z.png differ