add condensed ice and basic torch to be able to see

This commit is contained in:
wsor 2021-03-27 23:09:19 -04:00
parent 8807070278
commit ad723ea616
9 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,4 @@
torch code MIT Nathan Salapat more_fire
nathan salapat(cc-by-sa):
more_fire_torch_*.png

View File

@ -0,0 +1,30 @@
minetest.register_node('fl_light_sources:torch', {
description = 'Torch',
drawtype = 'nodebox',
tiles = {
{name = 'more_fire_torch_top.png'},
{name = 'more_fire_torch_bottom.png'},
{name = 'more_fire_torch_side.png'},
},
inventory_image = 'more_fire_torch_inv.png',
wield_image = 'more_fire_torch_inv.png',
paramtype = 'light',
paramtype2 = 'wallmounted',
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
light_source = 14,
node_box = {
type = 'wallmounted',
wall_top = {-0.0625, -0.0625, -0.0625, 0.0625, 0.5 , 0.0625},
wall_bottom = {-0.0625, -0.5 , -0.0625, 0.0625, 0.0625, 0.0625},
wall_side = {-0.5 , -0.5 , -0.0625, -0.375, 0.0625, 0.0625},
},
selection_box = {
type = 'wallmounted',
wall_top = {-0.1, -0.05, -0.1, 0.1, 0.5 , 0.1},
wall_bottom = {-0.1, -0.5 , -0.1, 0.1, 0.0625, 0.1},
wall_side = {-0.35, -0.5 , -0.1, -0.5, 0.0625, 0.1},
},
groups = {choppy = 2, dig_immediate = 3, flammable = 1, attached_node = 1, hot = 2, kindling=1},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

View File

@ -25,3 +25,6 @@ farlands_gneiss_rubble.png
wsor(aka wsor4035):
farlands_bedrock.png
credits: Gambit, kilbith, Cisoun(CC0):
farlands_condensed_ice.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

View File

@ -15,11 +15,17 @@ minetest.register_node("fl_terrain:dirt_with_grass", {
})
minetest.register_node("fl_terrain:ice", {
description = "grass",
description = "ice",
tiles = {"farlands_ice.png"},
groups = {oddly_breakable_by_hand = 3},
})
minetest.register_node("fl_terrain:condensed_ice", {
description = "condensed ice",
tiles = {"farlands_condensed_ice.png"},
groups = {oddly_breakable_by_hand = 3},
})
minetest.register_node("fl_terrain:snow_block", {
description = "snow block",
tiles = {"farlands_snow_block.png"},