diff options
-rw-r--r-- | crystal.lua | 10 | ||||
-rw-r--r-- | dirt.lua | 13 | ||||
-rw-r--r-- | extra.lua | 9 | ||||
-rw-r--r-- | food.lua | 5 | ||||
-rw-r--r-- | init.lua | 4 | ||||
-rw-r--r-- | schematics/waterlily.lua | 9 | ||||
-rw-r--r-- | stairs.lua | 17 | ||||
-rw-r--r-- | textures/bucket_cactus.png | bin | 188 -> 276 bytes | |||
-rw-r--r-- | water.lua | 4 |
9 files changed, 44 insertions, 27 deletions
diff --git a/crystal.lua b/crystal.lua index 343b9fc..2e9ecd2 100644 --- a/crystal.lua +++ b/crystal.lua @@ -13,7 +13,7 @@ minetest.register_node("ethereal:crystal_spike", { sunlight_propagates = true, walkable = false, damage_per_second = 1, - groups = {cracky = 1, falling_node = 1, puts_out_fire = 1}, + groups = {cracky = 1, falling_node = 1, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_glass_defaults(), selection_box = { type = "fixed", @@ -50,7 +50,7 @@ minetest.register_node("ethereal:crystal_block", { tiles = {"crystal_block.png"}, light_source = 9, is_ground_content = false, - groups = {cracky = 1, level = 2, puts_out_fire = 1}, + groups = {cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_glass_defaults(), }) @@ -110,8 +110,8 @@ minetest.register_tool("ethereal:axe_crystal", { groupcaps = { choppy = { times = {[1] = 2.00, [2] = 0.80, [3] = 0.40}, - uses = 30, - maxlevel = 2 + uses = 40, + maxlevel = 3 }, }, damage_groups = {fleshy = 7}, @@ -152,7 +152,7 @@ minetest.register_tool("ethereal:pick_crystal", { maxlevel = 3 }, }, - damage_groups = {fleshy = 7}, + damage_groups = {fleshy = 6}, }, sound = {breaks = "default_tool_breaks"}, }) @@ -408,3 +408,16 @@ minetest.register_node("ethereal:quicksand2", { groups = {crumbly = 3, sand = 1, liquid = 3, disable_jump = 1}, sounds = default.node_sound_sand_defaults(), }) + +-- craft quicksand +minetest.register_craft({ + output = "ethereal:quicksand2", + recipe = { + {"group:sand", "group:sand", "group:sand"}, + {"group:sand", "group:water_bucket", "group:sand"}, + {"group:sand", "group:sand", "group:sand"}, + }, + replacements = { + {"group:water_bucket", "bucket:bucket_empty"} + } +}) @@ -42,6 +42,8 @@ minetest.register_craft({ } }) +if ethereal.xcraft == true then + -- X pattern craft recipes (5x 'a' in X pattern gives 5 of 'b') local cheat = { {"default:cobble", "default:gravel", 5}, @@ -63,6 +65,8 @@ for n = 1, #cheat do }) end +end -- END if + -- Paper (2x3 string = 4 paper) minetest.register_craft({ output = "default:paper 4", @@ -215,10 +219,9 @@ minetest.register_node("ethereal:glostone", { }) minetest.register_craft({ + type = "shapeless", output = "ethereal:glostone", - recipe = { - {"default:torch", "default:stone", "dye:yellow"}, - } + recipe = {"default:torch", "default:stone", "dye:yellow"} }) -- Charcoal Lump @@ -1,11 +1,6 @@ local S = ethereal.intllib --- fix apples hanging in sky when no tree around -minetest.override_item("default:apple", { - drop = "default:apple", -}) - -- Banana (Heals one heart when eaten) minetest.register_node("ethereal:banana", { description = S("Banana"), @@ -1,6 +1,6 @@ --[[
- Minetest Ethereal Mod (1st December 2016)
+ Minetest Ethereal Mod (6th December 2016)
Created by ChinChow
@@ -14,6 +14,8 @@ ethereal.leafwalk = false -- true for walkable leaves, false to fall through ethereal.cavedirt = true -- caves chop through dirt when true
ethereal.torchdrop = true -- torches drop when touching water
ethereal.papyruswalk = true -- papyrus can be walked on
+ethereal.lilywalk = true -- waterlilies can be walked on
+ethereal.xcraft = true -- allow cheat crafts for cobble->gravel->dirt->sand, ice->snow, dry dirt->desert sand
-- Set following to 1 to enable biome or 0 to disable
ethereal.glacier = 1 -- Ice glaciers with snow
diff --git a/schematics/waterlily.lua b/schematics/waterlily.lua index 1936b04..0373a88 100644 --- a/schematics/waterlily.lua +++ b/schematics/waterlily.lua @@ -12,6 +12,9 @@ ethereal.waterlily = { }, } -minetest.override_item("flowers:waterlily", { - walkable = true, -}) +if ethereal.lilywalk == true then + + minetest.override_item("flowers:waterlily", { + walkable = true, + }) +end @@ -12,14 +12,14 @@ stairs.register_all("crystal_block", "ethereal:crystal_block", default.node_sound_glass_defaults()) stairs.register_all("icebrick", "ethereal:icebrick", - {crumbly = 3, melts = 1}, + {cracky = 3, puts_out_fire = 1, cools_lava = 1}, {"brick_ice.png"}, S("Ice Brick Stair"), S("Ice Brick Slab"), default.node_sound_glass_defaults()) stairs.register_all("snowbrick", "ethereal:snowbrick", - {crumbly = 3, melts = 1}, + {crumbly = 3, puts_out_fire = 1, cools_lava = 1}, {"brick_snow.png"}, S("Snow Brick Stair"), S("Snow Brick Slab"), @@ -118,14 +118,14 @@ stairsplus:register_all("ethereal", "crystal_block", "ethereal:crystal_block", { stairsplus:register_all("ethereal", "icebrick", "ethereal:icebrick", { description = S("Ice Brick"), tiles = {"brick_ice.png"}, - groups = {crumbly = 3, melts = 1}, + groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_glass_defaults(), }) stairsplus:register_all("ethereal", "snowbrick", "ethereal:snowbrick", { description = S("Snow Brick"), tiles = {"brick_snow.png"}, - groups = {crumbly = 3, melts = 1}, + groups = {crumbly = 3, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_dirt_defaults({ footstep = {name = "default_snow_footstep", gain = 0.25}, dug = {name = "default_snow_footstep", gain = 0.75}, @@ -220,20 +220,21 @@ stairs.register_stair_and_slab("crystal_block", "ethereal:crystal_block", default.node_sound_glass_defaults()) stairs.register_stair_and_slab("icebrick", "ethereal:icebrick", - {crumbly = 3, melts = 1}, + {cracky = 3, puts_out_fire = 1, cools_lava = 1}, {"brick_ice.png"}, S("Ice Brick Stair"), S("Ice Brick Slab"), default.node_sound_glass_defaults()) stairs.register_stair_and_slab("snowbrick", "ethereal:snowbrick", - {crumbly = 3, melts = 1}, + {crumbly = 3, puts_out_fire = 1, cools_lava = 1}, {"brick_snow.png"}, S("Snow Brick Stair"), S("Snow Brick Slab"), default.node_sound_dirt_defaults({ - footstep = {name = "default_snow_footstep", gain = 0.25}, - dug = {name = "default_snow_footstep", gain = 0.75}, + footstep = {name = "default_snow_footstep", gain = 0.15}, + dug = {name = "default_snow_footstep", gain = 0.2}, + dig = {name = "default_snow_footstep", gain = 0.2} })) stairs.register_stair_and_slab("dry_dirt", "ethereal:dry_dirt", diff --git a/textures/bucket_cactus.png b/textures/bucket_cactus.png Binary files differindex 520707b..7d5fd0b 100644 --- a/textures/bucket_cactus.png +++ b/textures/bucket_cactus.png @@ -8,7 +8,7 @@ minetest.register_node("ethereal:icebrick", { paramtype = "light", freezemelt = "default:water_source", is_ground_content = false, - groups = {cracky = 3, melts = 1}, + groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_glass_defaults(), }) @@ -27,7 +27,7 @@ minetest.register_node("ethereal:snowbrick", { paramtype = "light", freezemelt = "default:water_source", is_ground_content = false, - groups = {crumbly = 3, melts = 1}, + groups = {crumbly = 3, puts_out_fire = 1, cools_lava = 1}, sounds = default.node_sound_dirt_defaults({ footstep = {name = "default_snow_footstep", gain = 0.15}, dug = {name = "default_snow_footstep", gain = 0.2}, |