mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 11:17:05 -04:00

* Change how to specify tool parameters * Some mild reparammarametetrizatation and pickaxes now only have one relevant tip. * Ignore properties that couldn't be found instead of assigning some default * Remove grip and strength from materials * Ensure that all woods can break all stones, but not copper, and ensure that all stones tipped woods can break copper. Also increased weight damage slightly * Reparammamaramamararara * Update shover and axe (mostly copied from the pickaxe with less damage) * Remove the unused FunctionType struct. * Remove named slots from axe
31 lines
671 B
Zig
31 lines
671 B
Zig
.{
|
|
.tags = .{.wood},
|
|
.blockHealth = 2.5,
|
|
.drops = .{
|
|
.{.items = .{.auto}},
|
|
},
|
|
.absorbedLight = 0x202830,
|
|
.rotation = .branch,
|
|
.model = .{
|
|
.radius = 4,
|
|
},
|
|
.texture0 = "cubyz:branch/cactus/dot",
|
|
.texture1 = "cubyz:branch/cactus/half_line",
|
|
.texture2 = "cubyz:branch/cactus/line",
|
|
.texture3 = "cubyz:branch/cactus/bend",
|
|
.texture4 = "cubyz:branch/cactus/intersection",
|
|
.texture5 = "cubyz:branch/cactus/cross",
|
|
.item = .{
|
|
.material = .{
|
|
.density = 0.8,
|
|
.elasticity = 3.0,
|
|
.hardness = 1.5,
|
|
.textureRoughness = 0.7,
|
|
.colors = .{
|
|
0xff4f6923, 0xff687630, 0xff74842d, 0xff879b2e, 0xff74842d,
|
|
},
|
|
},
|
|
.texture = "cactus_arm.png",
|
|
},
|
|
}
|