Browse Source

sync nftools (& cut nftools_legacy dups) & nftools_legacy with Bucket_Game

master
poikilos 5 years ago
committed by Jacob Gustafson
parent
commit
244a48d621
  1. 23
      patches/deprecated/merged-upstream/Bucket_Game/mods/coderbuild/nftools/init.lua
  2. 3
      patches/mods-stopgap/nftools_legacy/init.lua

23
patches/deprecated/merged-upstream/Bucket_Game/mods/coderbuild/nftools/init.lua

@ -12,7 +12,7 @@ minetest.register_node ("nftools:light", {
cracky = 3, oddly_breakable_by_hand=2, cracky = 3, oddly_breakable_by_hand=2,
} , } ,
sounds = default.node_sound_stone_defaults() , sounds = default.sound_stone() ,
}) })
-- =================================================================== -- ===================================================================
@ -49,7 +49,7 @@ minetest.register_node ("nftools:stool",{
tiles = {"nftools_stool.png"}, tiles = {"nftools_stool.png"},
drop = 'nftools:stool', drop = 'nftools:stool',
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(), sounds = default.sound_wood(),
drawtype="nodebox", drawtype="nodebox",
paramtype = "light", paramtype = "light",
node_box = { node_box = {
@ -72,7 +72,7 @@ minetest.register_node ("nftools:quartz_crystals", {
tiles = {"nftools_quartz_crystal.png"}, tiles = {"nftools_quartz_crystal.png"},
is_ground_content = true, is_ground_content = true,
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(), sounds = default.sound_stone(),
drawtype="nodebox", drawtype="nodebox",
paramtype = "light", paramtype = "light",
paramtype2="facedir", paramtype2="facedir",
@ -135,6 +135,9 @@ minetest.register_ore({
y_min = -256 , y_min = -256 ,
}) })
minetest.register_alias ("nftools:amethyst_ore",
"nftools:stone_with_blackopal")
-- =================================================================== -- ===================================================================
minetest.register_ore ({ minetest.register_ore ({
@ -157,8 +160,6 @@ minetest.register_craftitem ("nftools:bismuth", {
inventory_image = "nftools_bismuth.png", inventory_image = "nftools_bismuth.png",
}) })
minetest.register_alias ("nftools:alexandrite", "nftools:bismuth")
minetest.register_node ("nftools:stone_with_bismuth", { minetest.register_node ("nftools:stone_with_bismuth", {
description = "Raw Bismuth", description = "Raw Bismuth",
tiles = {"default_stone.png^nftools_mineral_bismuth.png"}, tiles = {"default_stone.png^nftools_mineral_bismuth.png"},
@ -167,8 +168,6 @@ minetest.register_node ("nftools:stone_with_bismuth", {
drop = "nftools:stone_with_bismuth", drop = "nftools:stone_with_bismuth",
}) })
minetest.register_alias ("nftools:alexandrite_ore", "nftools:stone_with_bismuth")
-- =================================================================== -- ===================================================================
-- Smelting (only metals). -- Smelting (only metals).
@ -191,8 +190,6 @@ minetest.register_node ("nftools:stone_with_amber", {
minetest.register_alias ("nftools:amber", minetest.register_alias ("nftools:amber",
"nftools:stone_with_amber") "nftools:stone_with_amber")
-- (formerly called amber but dropped chip; use conventions instead)
minetest.register_craftitem ("nftools:amber_chip", { minetest.register_craftitem ("nftools:amber_chip", {
description = "Amber", description = "Amber",
@ -210,15 +207,11 @@ minetest.register_node ("nftools:stone_with_turquoise", {
drop = "nftools:turquoise", drop = "nftools:turquoise",
}) })
minetest.register_alias ("nftools:aquamarine_ore", "nftools:stone_with_turquoise")
minetest.register_craftitem ("nftools:turquoise", { minetest.register_craftitem ("nftools:turquoise", {
description = "Turquoise", description = "Turquoise",
inventory_image = "nftools_turquoise.png", inventory_image = "nftools_turquoise.png",
}) })
minetest.register_alias ("nftools:aquamarine", "nftools:turquoise")
-- =================================================================== -- ===================================================================
-- Black Opal (formerly Amethyst). -- Black Opal (formerly Amethyst).
@ -227,8 +220,6 @@ minetest.register_craftitem ("nftools:blackopal", {
inventory_image = "nftools_blackopal.png", inventory_image = "nftools_blackopal.png",
}) })
minetest.register_alias ("nftools:amethyst", "nftools:blackopal")
minetest.register_node ("nftools:stone_with_blackopal", { minetest.register_node ("nftools:stone_with_blackopal", {
description = "Rough Black Opal", description = "Rough Black Opal",
tiles = {"default_stone.png^nftools_mineral_blackopal.png"}, tiles = {"default_stone.png^nftools_mineral_blackopal.png"},
@ -237,8 +228,6 @@ minetest.register_node ("nftools:stone_with_blackopal", {
drop = "nftools:blackopal", drop = "nftools:blackopal",
}) })
minetest.register_alias ("nftools:amethyst_ore", "nftools:stone_with_blackopal")
-- =================================================================== -- ===================================================================
-- Sunflower. -- Sunflower.

3
patches/mods-stopgap/nftools_legacy/init.lua

@ -12,5 +12,6 @@ minetest.register_alias("nftools:amber", "nftools:stone_with_amber")
minetest.register_alias("nftools:aquamarine_ore", "nftools:stone_with_turquoise") minetest.register_alias("nftools:aquamarine_ore", "nftools:stone_with_turquoise")
minetest.register_alias("nftools:aquamarine", "nftools:turquoise") minetest.register_alias("nftools:aquamarine", "nftools:turquoise")
minetest.register_alias("nftools:amethyst_ore", "nftools:stone_with_blackopal")
-- minetest.register_alias("nftools:amethyst_ore", "nftools:stone_with_blackopal") -- merged with Bucket_Game
minetest.register_alias("nftools:amethyst", "nftools:blackopal") minetest.register_alias("nftools:amethyst", "nftools:blackopal")

Loading…
Cancel
Save