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

* add pipes, which are like branches but you can have different textures on each mode * fix formatting * remove testing block * fix more formatting issues * fix more formatting issues * simplify fromRelPos * fix fromRelPos and give pipe same properties as branch * fix flashing dots caused by floating point inaccuracies * remove debug object * fix formatting issues * fix a couple things * remove debug textures * fix formatting and also make dir an enum * fix more formatting issues * remove branches * rename pipe to branch * remove floating point fix * remove branch model * Add back branches and add temporary textures * add back the branches * fix some stuff * small changes * fix compiler error --------- Co-authored-by: Carrie <carriecapp9@gmail.com>
39 lines
806 B
Zig
39 lines
806 B
Zig
.{
|
|
.tags = .{.wood},
|
|
.blockHealth = 4,
|
|
.drops = .{
|
|
.{.items = .{.auto}},
|
|
},
|
|
.absorbedLight = 0x202830,
|
|
.rotation = .branch,
|
|
.model = .{
|
|
.radius = 4,
|
|
},
|
|
.texture_top = "cubyz:branch/pine/dot",
|
|
.texture_bottom = "cubyz:branch/pine/half_line",
|
|
.texture_right = "cubyz:branch/pine/line",
|
|
.texture_left = "cubyz:branch/pine/bend",
|
|
.texture_front = "cubyz:branch/pine/intersection",
|
|
.texture_back = "cubyz:branch/pine/cross",
|
|
.item = .{
|
|
.material = .{
|
|
.density = 0.25,
|
|
.strength = 0.75,
|
|
.elasticity = 2.5,
|
|
.grip = 10,
|
|
.hardness = 1.0,
|
|
.textureRoughness = 0.7,
|
|
.colors = .{
|
|
0xff312a1e, 0xff3c3324, 0xff4a3c28, 0xff614e33, 0xff4a3c28,
|
|
},
|
|
.modifiers = .{
|
|
.{
|
|
.id = "fragile",
|
|
.strength = 0.10,
|
|
},
|
|
},
|
|
},
|
|
.texture = "branch/pine.png",
|
|
},
|
|
}
|