summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crystal.lua10
-rw-r--r--dirt.lua13
-rw-r--r--extra.lua9
-rw-r--r--food.lua5
-rw-r--r--init.lua4
-rw-r--r--schematics/waterlily.lua9
-rw-r--r--stairs.lua17
-rw-r--r--textures/bucket_cactus.pngbin188 -> 276 bytes
-rw-r--r--water.lua4
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"},
})
diff --git a/dirt.lua b/dirt.lua
index 17d02b0..b5f9355 100644
--- a/dirt.lua
+++ b/dirt.lua
@@ -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"}
+ }
+})
diff --git a/extra.lua b/extra.lua
index b8a4bc0..4c5ac47 100644
--- a/extra.lua
+++ b/extra.lua
@@ -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
diff --git a/food.lua b/food.lua
index ea62728..586dc0f 100644
--- a/food.lua
+++ b/food.lua
@@ -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"),
diff --git a/init.lua b/init.lua
index dddd4b1..6b43d2d 100644
--- a/init.lua
+++ b/init.lua
@@ -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
diff --git a/stairs.lua b/stairs.lua
index 5cf51ff..688db1f 100644
--- a/stairs.lua
+++ b/stairs.lua
@@ -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
index 520707b..7d5fd0b 100644
--- a/textures/bucket_cactus.png
+++ b/textures/bucket_cactus.png
Binary files differ
diff --git a/water.lua b/water.lua
index f5a6e24..60c4dbf 100644
--- a/water.lua
+++ b/water.lua
@@ -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},