14 Commits

Author SHA1 Message Date
Carrie
ce9e0dc4ef Update tool textures (#1621)
![image](https://github.com/user-attachments/assets/ede1ffc2-dce6-4e09-8c5e-a8d7cb7572cf)
2025-06-08 21:41:16 +02:00
IntegratedQuantum
cd4cd8e9b9
Add and allow for more optional slots (#1612)
This checks slots based on texture connectivity. It really is just a
gimmick at this point, but it has potential to be more than that with
the right modifier restrictions.
![Screenshot at 2025-06-07
10-03-05](https://github.com/user-attachments/assets/e2aa96d4-8add-47cf-abc4-97f383c5fe41)
![Screenshot at 2025-06-07
09-59-46](https://github.com/user-attachments/assets/6aa00d24-8a97-4200-8c77-86b9751d2e2d)
![Screenshot at 2025-06-07
09-54-42](https://github.com/user-attachments/assets/247a2fdd-29ce-4467-85ff-3183f0ec36f1)

The big questions I have for you are:
- Is it obvious why some tools don't work while others do or is this too
confusing?
- @careeoki can you improve the texture to look better for these crooked
tools? Many slots do just seem to produce a thin line of diagonally
connected pixels, and this really doesn't look good and the algorithm
doesn't accept those as valid connections.

fixes #1589
2025-06-08 11:32:56 +02:00
IntegratedQuantum
beed67403e Allow summing tool parameters instead of averaging them.
Currently everything uses average, but it does make some things less intuitive.
2025-06-01 14:32:20 +02:00
Carrie
b333d22bbc
Add sickle (#1550)
resolves #1547 

The sickle, balanced to the best of my ability. It breaks `.leaf` and
`.cloth` tagged blocks.
A metal sickle lets you get rid of floating leaves or clear a grassy
field super quickly.


![449059994-d2c01e85-3d92-471b-a4e3-e766d7dfb00b](https://github.com/user-attachments/assets/428afbc0-e337-4cb6-9469-e02acdbcadda)

![449060984-db0d1f5d-5f2f-4cd0-b4e1-bffd1046be09](https://github.com/user-attachments/assets/b5d5d517-c3c0-4442-82b4-8dfa07508a19)

![449060868-712ecad3-f6ef-432c-8269-de34c59ba154](https://github.com/user-attachments/assets/3d2528ed-62e5-44ed-a3bf-d19b37877216)

![image](https://github.com/user-attachments/assets/e4d52853-501c-44dc-a933-8855b1b91c79)
2025-05-30 20:40:44 +02:00
Carrie
db767b9c30
Update tool template textures (#1355) 2025-04-27 11:00:33 +02:00
IntegratedQuantum
f41504f684
Tool reparammarametetrizatation (#1332)
* 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
2025-04-24 21:57:12 +02:00
IntegratedQuantum
b303244773
Run the zon format check with our zig fmt (#1175)
* Format all the zon assets to prepare for running the the format check with our zig fmt

* Update ci.yml

* Remove zon files from the old formatter

* Add a formatting violation to test the CI

* Undo the check
2025-03-07 22:34:55 +01:00
ikabod-kee
ef1a33f6d5
Pickaxe Rebalance (2) (#1128)
* Pickaxe Rebalance (2)

* Changed ore health

* Can you believe I forgot marble?

* Fix indentation and fix duplicate entry in void_stone.zig

---------

Co-authored-by: IntegratedQuantum <jahe788@gmail.com>
2025-03-01 16:28:15 +01:00
IntegratedQuantum
e7b3bf5727 Introduce block resistance, remove breakingPower and rename power to damage.
fixes #935
2025-02-28 21:32:47 +01:00
IntegratedQuantum
54c2d2afc6 Replace blockClass with block tags.
This allows defining custom block tags, and multiple of them.

fixes #948
2025-02-26 21:11:08 +01:00
ikabod-kee
61cf456af8
Added durability for binding (#1089) 2025-02-22 10:19:32 +01:00
ikabod-kee
52724bbe6e
Pickaxe Rebalance (v1) (#1078)
* Pickaxe Revamp

* Void Stone and Obsidian Rebalance

* Fixes

* New pickaxe shape

* Removed Density = Durability

---------

Co-authored-by: Carrie <carriecapp9@gmail.com>
2025-02-21 20:14:34 +01:00
IntegratedQuantum
feff96b3f3 Rename some material parameters, look up the true material density, and add some more function types.
fixes #1074
2025-02-20 20:42:26 +01:00
IntegratedQuantum
3d81ef9d3d
Revamp the procedural crafting system. (#974)
* Add a button in the workbench.

This can be used to toggle the thing.

* Do all the tool type reading and registering stuff

* The button now toggles

* Send the tool type to the server when opening the workbench inventory.

Clicking the button will now just close and reopen the inventory.

* Unify the tool powers (no more shovers for you).

The tool type is no determined by the button

* Add the new system for calculating the tool properties based on per-slot parameters.

* Some fixes for the previous commit

* Allow disabling slots, or making them mandatory

* The return of the shover, and other tools. Also fixed some bugs.

* Tool texturing can now be configured using an actual texture, where each color corresponds to one slot.

Also added temporary textures for the current tools.

* Remove all the unused tool code

* Hide disabled slots and change color of optional slots.

* Add support for overlay tool textures and add an example texture for the pickaxe.

* Avoid needless error outputs when no image was loaded.
2025-02-19 16:43:17 +01:00