Cubyz/assets/cubyz/blocks/ruby_ore.zig.zon
Carrie 1c22c879f4
Ruby ore + diamond texture tweaks (#1349)
* Ruby blocks and item, tweaks to diamond textures

* Tweak ruby ore and add recipes

* Change ore height

* minHeight
2025-04-27 10:58:27 +02:00

45 lines
755 B
Zig

.{
.tags = .{.stone},
.blockHealth = 100,
.blockResistance = 9,
.item = .{
.texture = "ruby.png",
.material = .{
.density = 4.0,
.elasticity = 0.25,
.hardness = 9.0,
.textureRoughness = 0.1,
.colors = .{
0xff9b2129, 0xffbd2936, 0xffda2f2f, 0xfffb4845, 0xffff7261,
},
.modifiers = .{
.{
.id = "fragile",
.strength = 0.45,
.restriction = .{
.id = .not,
.child = .{
.id = .encased,
.tag = .precious,
.amount = 4,
},
},
},
},
},
},
.ore = .{
.veins = 4.5,
.size = 3,
.height = -5000,
.minHeight = -15000,
.density = 0.05,
},
.drops = .{
.{.items = .{.auto}},
},
.rotation = .ore,
.model = "cubyz:cube",
.texture = "cubyz:ruby_ore",
}