Cubyz/assets/cubyz/blocks/obsidian.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

30 lines
510 B
Zig

.{
.tags = .{.stone},
.blockHealth = 16,
.blockResistance = 2,
.drops = .{
.{.items = .{.auto}},
},
.item = .{
.material = .{
.density = 3.0,
.elasticity = 0.5,
.hardness = 5.25,
.textureRoughness = 0.1,
.colors = .{
0xff0F0811, 0xff19121C, 0xff312436, 0xff69486B, 0xff462F47,
},
.modifiers = .{
.{
.id = "fragile",
.strength = 0.33,
},
},
},
},
.allowOres = true,
.rotation = "cubyz:stairs",
.model = "cubyz:cube",
.texture = "cubyz:obsidian",
}