Few new tweaks thanks to RQWorldblender

master
TenPlus1 2016-12-06 10:48:31 +00:00
parent f34b9b00c6
commit adabd04d7b
9 changed files with 44 additions and 27 deletions

View File

@ -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"},
})

View File

@ -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"}
}
})

View File

@ -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

View File

@ -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"),

View File

@ -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

View File

@ -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

View File

@ -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",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 276 B

View File

@ -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},