fixed lighting issue and ethereal check, changed coal->coal dust recipe to give 10

This commit is contained in:
TenPlus1 2017-02-28 15:27:29 +00:00
parent 38b47450c6
commit 7da22e8960
3 changed files with 4 additions and 5 deletions

3
3d.lua
View File

@ -15,7 +15,6 @@ minetest.register_node("real_torch:torch", {
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
liquids_pointable = false, liquids_pointable = false,
light_source = 13,
groups = {choppy=2, dig_immediate=3, flammable=1, attached_node=1}, groups = {choppy=2, dig_immediate=3, flammable=1, attached_node=1},
drop = "real_torch:torch", drop = "real_torch:torch",
selection_box = { selection_box = {
@ -64,7 +63,6 @@ minetest.register_node("real_torch:torch_wall", {
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
light_source = 13,
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1}, groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
drop = "real_torch:torch", drop = "real_torch:torch",
selection_box = { selection_box = {
@ -87,7 +85,6 @@ minetest.register_node("real_torch:torch_ceiling", {
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
light_source = 13,
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1}, groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
drop = "real_torch:torch", drop = "real_torch:torch",
selection_box = { selection_box = {

View File

@ -68,7 +68,7 @@ minetest.register_craft({
-- 2x coal lumps = 8x coal powder -- 2x coal lumps = 8x coal powder
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "real_torch:coal_powder 8", output = "real_torch:coal_powder 10",
recipe = {"default:coal_lump", "default:coal_lump"}, 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 -- 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 -- if torch touches water then drop as unlit torch
minetest.register_abm({ minetest.register_abm({

View File

@ -15,3 +15,5 @@ Changelog:
- 0.2 - Punching unlit torch with coal powder relights torch - 0.2 - Punching unlit torch with coal powder relights torch
- 0.3 - Torches are 2D and override any that are 3D - 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.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