Remove chains changes into fork of chains.

master
Hildigerr Vergaray 2019-10-01 22:14:09 -07:00
parent 3753ecc3e8
commit 3aec6725d5
2 changed files with 0 additions and 49 deletions

View File

@ -1,46 +0,0 @@
--Chains: --make place like rope and change textures
minetest.register_node(":chains:chain", {
description = "Chain",
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
drops = "",
inventory_image = "Chain_inv.png",
tile_images = { "Chain.png" },
drawtype = "plantlike",
on_place = place_rope,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
local num = 0
local below = {x=pos.x,y=pos.y -1,z=pos.z}
while minetest.env:get_node(below).name == "chains:chain" do
minetest.env:remove_node(below)
below.y = below.y -1
num = num + 1
end
if num ~= 0 then
digger:get_inventory():add_item("main", "chains:chain "..num)
end
end,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "chains:chain 2",
recipe = {
{'default:steel_ingot'},
{'default:steel_ingot'},
{'default:steel_ingot'},
}
})
minetest.register_craft({ --[Comment out lines 56-62]
output = 'chains:chandelier',
recipe = {
{'default:torch', 'chains:chain', 'default:torch'},
{'default:torch', 'chains:chain', 'default:torch'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
}
})

View File

@ -38,9 +38,6 @@ dofile(minetest.get_modpath("my_preference").."/plantlife_changes.lua")
---Dye Recipes (instead of Unified Dyes)
dofile(minetest.get_modpath("my_preference").."/my_dyes.lua")
--Chains: --make place like rope and change textures
dofile(minetest.get_modpath("my_preference").."/chains_changes.lua")
--Teleporters:[comment out lines 172-186]
dofile(minetest.get_modpath("my_preference").."/teleporters_changes.lua")