Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
38
mods/cozylights/nodes.lua
Normal file
38
mods/cozylights/nodes.lua
Normal file
|
@ -0,0 +1,38 @@
|
|||
-- All possible light levels
|
||||
for i=1, minetest.LIGHT_MAX do
|
||||
minetest.register_node("cozylights:light"..i, {
|
||||
description = "Light Source "..i,
|
||||
paramtype = "light",
|
||||
light_source = i,
|
||||
--tiles ={"invisible.png"},
|
||||
drawtype = "airlike",
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
pointable = false,
|
||||
groups = {dig_immediate=3,not_in_creative_inventory=1},
|
||||
floodable = true,
|
||||
use_texture_alpha="clip",
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
-- two separate loops to keep content ids in order
|
||||
for i=1, minetest.LIGHT_MAX do
|
||||
minetest.register_node("cozylights:light_debug"..i, {
|
||||
description = "Light Source "..i,
|
||||
paramtype = "light",
|
||||
light_source = i,
|
||||
tiles ={"default_glass.png"},
|
||||
drawtype = "glasslike",
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
buildable_to = false,
|
||||
pointable = true,
|
||||
groups = {dig_immediate=3,not_in_creative_inventory=1},
|
||||
floodable = true,
|
||||
use_texture_alpha="clip",
|
||||
})
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue