mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2025-06-30 23:20:41 +02:00
embed dirt,wood and grass texture for proper cross-game support
This commit is contained in:
22
nodes.lua
22
nodes.lua
@ -1,19 +1,17 @@
|
||||
|
||||
--nodes
|
||||
|
||||
if minetest.get_modpath("default") then
|
||||
minetest.register_node("scifi_nodes:grassblk", {
|
||||
description = "Dirt With Alien Grass",
|
||||
tiles = {"default_grass.png^[colorize:cyan:80", "default_dirt.png",
|
||||
{name = "default_dirt.png^(default_grass_side.png^[colorize:cyan:80)",
|
||||
tileable_vertical = false}},
|
||||
light_source = 2,
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1, soil=1},
|
||||
sounds = scifi_nodes.node_sound_dirt_defaults({
|
||||
footstep = scifi_nodes.node_sound_plant_defaults().footstep,
|
||||
}),
|
||||
minetest.register_node("scifi_nodes:grassblk", {
|
||||
description = "Dirt With Alien Grass",
|
||||
tiles = {"scifi_nodes_grass.png^[colorize:cyan:80", "scifi_nodes_dirt.png",
|
||||
{name = "scifi_nodes_dirt.png^(scifi_nodes_grass_side.png^[colorize:cyan:80)",
|
||||
tileable_vertical = false}},
|
||||
light_source = 2,
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1, soil=1},
|
||||
sounds = scifi_nodes.node_sound_dirt_defaults({
|
||||
footstep = scifi_nodes.node_sound_plant_defaults().footstep,
|
||||
})
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:light", {
|
||||
description = "blue lightbox",
|
||||
|
Reference in New Issue
Block a user