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
37 lines
743 B
Zig
37 lines
743 B
Zig
.{
|
|
.tags = .{.wood},
|
|
.blockHealth = 4,
|
|
.drops = .{
|
|
.{.items = .{.auto}},
|
|
},
|
|
.absorbedLight = 0x202830,
|
|
.rotation = .branch,
|
|
.model = .{
|
|
.radius = 4,
|
|
},
|
|
.texture0 = "cubyz:branch/pine/dot",
|
|
.texture1 = "cubyz:branch/pine/half_line",
|
|
.texture2 = "cubyz:branch/pine/line",
|
|
.texture3 = "cubyz:branch/pine/bend",
|
|
.texture4 = "cubyz:branch/pine/intersection",
|
|
.texture5 = "cubyz:branch/pine/cross",
|
|
.item = .{
|
|
.material = .{
|
|
.density = 0.25,
|
|
.elasticity = 2.5,
|
|
.hardness = 1.0,
|
|
.textureRoughness = 0.7,
|
|
.colors = .{
|
|
0xff312a1e, 0xff3c3324, 0xff4a3c28, 0xff614e33, 0xff4a3c28,
|
|
},
|
|
.modifiers = .{
|
|
.{
|
|
.id = "fragile",
|
|
.strength = 0.10,
|
|
},
|
|
},
|
|
},
|
|
.texture = "branch/pine.png",
|
|
},
|
|
}
|