fixed lighting issue and ethereal check, changed coal->coal dust recipe to give 10
This commit is contained in:
parent
38b47450c6
commit
7da22e8960
3
3d.lua
3
3d.lua
@ -15,7 +15,6 @@ minetest.register_node("real_torch:torch", {
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
liquids_pointable = false,
|
||||
light_source = 13,
|
||||
groups = {choppy=2, dig_immediate=3, flammable=1, attached_node=1},
|
||||
drop = "real_torch:torch",
|
||||
selection_box = {
|
||||
@ -64,7 +63,6 @@ minetest.register_node("real_torch:torch_wall", {
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = 13,
|
||||
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
||||
drop = "real_torch:torch",
|
||||
selection_box = {
|
||||
@ -87,7 +85,6 @@ minetest.register_node("real_torch:torch_ceiling", {
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = 13,
|
||||
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
||||
drop = "real_torch:torch",
|
||||
selection_box = {
|
||||
|
4
init.lua
4
init.lua
@ -68,7 +68,7 @@ minetest.register_craft({
|
||||
-- 2x coal lumps = 8x coal powder
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "real_torch:coal_powder 8",
|
||||
output = "real_torch:coal_powder 10",
|
||||
recipe = {"default:coal_lump", "default:coal_lump"},
|
||||
})
|
||||
|
||||
@ -87,7 +87,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
-- Make sure Ethereal mod isn't running as this Abm already exists there
|
||||
if not minetest.get_modpath("xanadu") then
|
||||
if not minetest.get_modpath("ethereal") then
|
||||
|
||||
-- if torch touches water then drop as unlit torch
|
||||
minetest.register_abm({
|
||||
|
@ -15,3 +15,5 @@ Changelog:
|
||||
- 0.2 - Punching unlit torch with coal powder relights torch
|
||||
- 0.3 - Torches are 2D and override any that are 3D
|
||||
- 0.4 - Changed my mind, now detects old 2D or new 3D torches and works accordingly
|
||||
- 0.5 - 2x coal lumps give 10x coal dust, also fixed check for ethereal mod
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user