Death Dealer wrote:How about the portal takes you to a different dimension full of triangle blocksXD lol or a weird 2d plain.
Jordach wrote:sky world = no, will cause perma shadow.
nether = yes, only if -1000 or less.
minetest.register_node("default:glass", {
description = "Glass",
drawtype = "glasslike",
tile_images = {"default_glass.png"},
inventory_image = minetest.inventorycube("default_glass.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
lord_james wrote:Jordach wrote:sky world = no, will cause perma shadow.
nether = yes, only if -1000 or less.
Are you sure about this?Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("default:glass", {
description = "Glass",
drawtype = "glasslike",
tile_images = {"default_glass.png"},
inventory_image = minetest.inventorycube("default_glass.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
Sounds very good +10
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
"Aether material have new properties: light and soft, more than ever earth's material. So it propagates sunlight and float to X in less than X. Also if you build a normal node on a aetherian node, It will sink like nodes in water.
This is a example of description for aethian material. paramtype = "light" and sunlight_propagates = true are useful for this idea, like a modification of falling mod fo float and sink. This answer the shadow's issue and add new extraordinaries nodes for the gameplay.
sdzen wrote:what ever happened to nyancat heaven?
Users browsing this forum: No registered users and 10 guests