add condensed ice and basic torch to be able to see
This commit is contained in:
parent
8807070278
commit
ad723ea616
4
mods/fl_light_sources/README
Normal file
4
mods/fl_light_sources/README
Normal file
@ -0,0 +1,4 @@
|
||||
torch code MIT Nathan Salapat more_fire
|
||||
|
||||
nathan salapat(cc-by-sa):
|
||||
more_fire_torch_*.png
|
30
mods/fl_light_sources/init.lua
Normal file
30
mods/fl_light_sources/init.lua
Normal 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},
|
||||
})
|
BIN
mods/fl_light_sources/textures/more_fire_torch_bottom.png
Normal file
BIN
mods/fl_light_sources/textures/more_fire_torch_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 689 B |
BIN
mods/fl_light_sources/textures/more_fire_torch_inv.png
Normal file
BIN
mods/fl_light_sources/textures/more_fire_torch_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 580 B |
BIN
mods/fl_light_sources/textures/more_fire_torch_side.png
Normal file
BIN
mods/fl_light_sources/textures/more_fire_torch_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 680 B |
BIN
mods/fl_light_sources/textures/more_fire_torch_top.png
Normal file
BIN
mods/fl_light_sources/textures/more_fire_torch_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 B |
@ -25,3 +25,6 @@ farlands_gneiss_rubble.png
|
||||
|
||||
wsor(aka wsor4035):
|
||||
farlands_bedrock.png
|
||||
|
||||
credits: Gambit, kilbith, Cisoun(CC0):
|
||||
farlands_condensed_ice.png
|
||||
|
BIN
mods/fl_terrain/textures/farlands_condensed_ice.png
Normal file
BIN
mods/fl_terrain/textures/farlands_condensed_ice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
@ -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"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user