From 308c5b0582df9ca23759cfc9bf499d5c7de8a113 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Tue, 2 Jun 2015 21:52:52 +0200 Subject: [PATCH] Removed xray's legacy from Carbone --- minetestforfun_game/mods/default/nodes.lua | 28 ---------------------- 1 file changed, 28 deletions(-) diff --git a/minetestforfun_game/mods/default/nodes.lua b/minetestforfun_game/mods/default/nodes.lua index 6e72ddad..31262983 100755 --- a/minetestforfun_game/mods/default/nodes.lua +++ b/minetestforfun_game/mods/default/nodes.lua @@ -2177,31 +2177,3 @@ minetest.register_node("default:nyancat_rainbow", { post_effect_color = {a = 128, r= 255, g= 128, b= 255}, sounds = default.node_sound_stone_defaults(), }) - -if minetest.setting_getbool("xray") then - -- Nodes to make partially see-through: - minetest.override_item("default:stone_with_coal", {tiles = {"default_mineral_coal.png"}}) - minetest.override_item("default:stone_with_iron", {tiles = {"default_mineral_iron.png"}}) - minetest.override_item("default:stone_with_copper", {tiles = {"default_mineral_copper.png"}}) - minetest.override_item("default:stone_with_gold", {tiles = {"default_mineral_gold.png"}}) - minetest.override_item("default:stone_with_mese", {tiles = {"default_mineral_mese.png"}}) - minetest.override_item("default:stone_with_diamond", {tiles = {"default_mineral_diamond.png"}}) - minetest.override_item("default:stone_with_coin", {tiles = {"maptools_gold_coin.png"}}) - - -- Nodes to hide: - minetest.override_item("default:stone", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:dirt", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:dirt_with_grass", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:dirt_with_grass_footsteps", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:dirt_with_snow", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:water_source", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:water_flowing", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:leaves", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:jungleleaves", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:gravel", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:sand", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:desert_sand", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:desert_stone", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:cobble", {drawtype = "airlike", pointable = false,}) - minetest.override_item("default:desert_cobble", {drawtype = "airlike", pointable = false,}) -end