2 Commits

Author SHA1 Message Date
2eb5841472 Allow Super and Ultra Plastic nodes to be colored (#90)
Add `"colorable": true` to Super and Ultra Plastic nodes to enable unified dyes integration
2025-07-21 09:55:38 +02:00
689a17a80e fix sunlight propagation in transparent mesh3 2025-05-16 07:55:59 +02:00
2 changed files with 6 additions and 2 deletions

View File

@ -14,12 +14,14 @@
},
"super_white": {
"description": "Super Plastic",
"colorable": true,
"light": 11,
"sounds": "stone",
"texture_name": "white2"
},
"ultra_white": {
"description": "Ultra Plastic",
"colorable": true,
"light": 14,
"sounds": "stone",
"texture_name": "white2"
@ -122,7 +124,8 @@
"description": "transparent metal floormesh",
"texture_name": "mesh",
"texture_modifier": "^[contrast:10:-50^[makealpha:0,0,0",
"drawtype": "glasslike"
"drawtype": "glasslike",
"sunlight_propagates": true
},
"pipe": {
"description": "wall pipe"
@ -322,4 +325,4 @@
"description": "Black plate",
"paramtype2": "none"
}
}
}

View File

@ -520,6 +520,7 @@ for name, def in pairs(nodes) do
local node_def = {
description = def.description,
drawtype = def.drawtype or "normal",
sunlight_propagates = def.sunlight_propagates,
tiles = tiles,
groups = {cracky=1, dig_generic = 3},
is_ground_content = false,