add transparent vent and mesh

This commit is contained in:
BuckarooBanzay
2024-05-03 11:02:46 +02:00
parent 4bbe29fcd3
commit d4ec06f888
3 changed files with 36 additions and 0 deletions

View File

@ -598,9 +598,15 @@ for name, def in pairs(nodes) do
tiles = {"scifi_nodes_" .. def.texture_name .. ".png"}
end
-- optional texture modifier
if def.texture_modifier then
tiles[1] = tiles[1] .. def.texture_modifier
end
-- Node Definition
local node_def = {
description = def.description,
drawtype = def.drawtype or "normal",
tiles = tiles,
groups = {cracky=1, dig_generic = 3},
is_ground_content = false,