From 4ec4672f016880713b9c4062032be14f6f3c98b1 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sat, 6 Dec 2014 12:50:05 +0100 Subject: [PATCH] Remove remains of weather --- mods/default/nodes.lua | 22 ++++++++-------------- mods/fire/init.lua | 2 +- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index a4fe2c3..47626e8 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -560,9 +560,8 @@ minetest.register_node("default:water_flowing", { liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", liquid_viscosity = WATER_VISC, - freezemelt = "default:snow", post_effect_color = {a=64, r=100, g=100, b=200}, - groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1}, + groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1}, }) minetest.register_node("default:water_source", { @@ -592,9 +591,8 @@ minetest.register_node("default:water_source", { liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", liquid_viscosity = WATER_VISC, - freezemelt = "default:ice", post_effect_color = {a=64, r=100, g=100, b=200}, - groups = {water=3, liquid=3, puts_out_fire=1, freezes=1}, + groups = {water=3, liquid=3, puts_out_fire=1}, }) minetest.register_node("default:lava_flowing", { @@ -689,7 +687,7 @@ minetest.register_node("default:torch", { wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1}, }, - groups = {choppy=2,dig_immediate=3,flammable=1,attached_node=1,hot=2}, + groups = {choppy=2,dig_immediate=3,flammable=1,attached_node=1}, legacy_wallmounted = true, sounds = default.node_sound_defaults(), }) @@ -1022,7 +1020,7 @@ minetest.register_node("default:furnace_active", { paramtype2 = "facedir", light_source = 8, drop = "default:furnace", - groups = {cracky=2, not_in_creative_inventory=1,hot=1}, + groups = {cracky=2, not_in_creative_inventory=1}, legacy_facedir_simple = true, is_ground_content = false, sounds = default.node_sound_stone_defaults(), @@ -1435,8 +1433,7 @@ minetest.register_node("default:ice", { tiles = {"default_ice.png"}, is_ground_content = true, paramtype = "light", - freezemelt = "default:water_source", - groups = {cracky=3, melts=1}, + groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), }) @@ -1448,16 +1445,14 @@ minetest.register_node("default:snow", { is_ground_content = true, paramtype = "light", buildable_to = true, - leveled = 7, drawtype = "nodebox", - freezemelt = "default:water_flowing", node_box = { - type = "leveled", + type = "fixed", fixed = { {-0.5, -0.5, -0.5, 0.5, -0.5+2/16, 0.5}, }, }, - groups = {crumbly=3,falling_node=1, melts=1, float=1}, + groups = {crumbly=3,falling_node=1}, sounds = default.node_sound_dirt_defaults({ footstep = {name="default_snow_footstep", gain=0.25}, dug = {name="default_snow_footstep", gain=0.75}, @@ -1475,8 +1470,7 @@ minetest.register_node("default:snowblock", { description = "Snow Block", tiles = {"default_snow.png"}, is_ground_content = true, - freezemelt = "default:water_source", - groups = {crumbly=3, melts=1}, + groups = {crumbly=3}, sounds = default.node_sound_dirt_defaults({ footstep = {name="default_snow_footstep", gain=0.25}, dug = {name="default_snow_footstep", gain=0.75}, diff --git a/mods/fire/init.lua b/mods/fire/init.lua index b56cb1a..f932b0c 100644 --- a/mods/fire/init.lua +++ b/mods/fire/init.lua @@ -11,7 +11,7 @@ minetest.register_node("fire:basic_flame", { }}, inventory_image = "fire_basic_flame.png", light_source = 14, - groups = {igniter=2,dig_immediate=3,hot=3}, + groups = {igniter=2,dig_immediate=3}, drop = '', walkable = false, buildable_to = true,