diff --git a/assets/cubyz/tools/sickle.png b/assets/cubyz/tools/sickle.png new file mode 100644 index 000000000..7e4ad1d8a Binary files /dev/null and b/assets/cubyz/tools/sickle.png differ diff --git a/assets/cubyz/tools/sickle.zig.zon b/assets/cubyz/tools/sickle.zig.zon new file mode 100644 index 000000000..62fbc5e56 --- /dev/null +++ b/assets/cubyz/tools/sickle.zig.zon @@ -0,0 +1,91 @@ +.{ + .blockTags = .{.leaf, .cloth}, + .disabled = .{ + 1, 0, 0, 0, 1, + 0, 0, 0, 0, 0, + 0, 1, 1, 0, 0, + 1, 1, 1, 0, 1, + 1, 1, 1, 1, 0, + }, + .optional = .{ + 0, 1, 1, 1, 0, + 1, 0, 0, 0, 1, + 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, + }, + .parameters = .{ + .{ + .source = .density, + .destination = .swingTime, + .matrix = .{ + 0x0, 2.5, 2.0, 1.5, 0x0, + 2.5, 1.5, 1.5, 1.5, 1.0, + 2.0, 0x0, 0x0, 1.0, 1.0, + 0x0, 0x0, 0x0, 1.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 1.0, + }, + .factor = 0.25, + }, + .{ + .source = .density, + .destination = .damage, + .matrix = .{ + 0x0, 2.5, 2.0, 2.0, 0x0, + 2.5, 1.5, 1.5, 1.0, 1.5, + 1.5, 0x0, 0x0, 0.5, 1.0, + 0x0, 0x0, 0x0, 0.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0.0, + }, + .factor = 0.8, + }, + .{ + .source = .hardness, + .destination = .maxDurability, + .matrix = .{ + 0x0, 0.5, 1.0, 1.5, 0x0, + 0.5, 1.0, 1.5, 2.0, 1.5, + 1.0, 0x0, 0x0, 1.5, 1.0, + 0x0, 0x0, 0x0, 1.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 1.0, + }, + .factor = 120, + }, + .{ + .source = .hardness, + .destination = .damage, + .matrix = .{ + 0x0, 0.0, 0.0, 0.0, 0x0, + 0.0, 0.5, 0.0, 0.0, 0.0, + 1.0, 0x0, 0x0, 0.0, 0.0, + 0x0, 0x0, 0x0, 0.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0.0, + }, + .factor = 0.7, + }, + .{ + .source = .elasticity, + .destination = .maxDurability, + .matrix = .{ + 0x0, 0.0, 0.5, 1.0, 0x0, + 0.0, 0.5, 1.0, 2.0, 1.0, + 0.5, 0x0, 0x0, 2.0, 0.5, + 0x0, 0x0, 0x0, 2.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 1.5, + }, + .factor = 120, + }, + .{ + .source = .elasticity, + .destination = .swingTime, + .matrix = .{ + 0x0, 1.0, 0.5, 0.5, 0x0, + 1.5, 1.5, 1.0, 1.0, 0.5, + 2.0, 0x0, 0x0, 0.0, 0.5, + 0x0, 0x0, 0x0, 0.0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0.0, + }, + .factor = -1.0, + }, + }, +} diff --git a/assets/cubyz/tools/sickle_overlay.png b/assets/cubyz/tools/sickle_overlay.png new file mode 100644 index 000000000..73f48e6b3 Binary files /dev/null and b/assets/cubyz/tools/sickle_overlay.png differ