Cubyz/assets/cubyz/blocks/marble.zig.zon
OneAvargeCoder193 4898012311
Use comptime modding for rotation loading (#1509)
Related to: #1507
closes #1533 

I'm pretty sure that the rest of the moving into a comptime mod
interface can be done in a future pr

---------

Co-authored-by: Krzysztof Wiśniewski <argmaster.world@gmail.com>
2025-06-17 18:13:48 +02:00

35 lines
609 B
Zig

.{
.tags = .{.stone, .marble},
.blockHealth = 28,
.drops = .{
.{.items = .{.auto}},
},
.item = .{
.material = .{
.density = 2.6,
.elasticity = 0.0,
.hardness = 4.0,
.textureRoughness = 1.0,
.colors = .{
0xffA89B94, 0xffC9C0BB, 0xffECE9E3, 0xffFBF8F1, 0xffECE9E3,
},
.modifiers = .{
.{
.id = "good_at",
.strength = 0.5,
.tag = .marble,
.restriction = .{
.id = .encased,
.tag = .precious,
.amount = 2,
},
},
},
},
},
.allowOres = true,
.rotation = "cubyz:stairs",
.model = "cubyz:cube",
.texture = "cubyz:marble",
}