1115 Commits

Author SHA1 Message Date
IntegratedQuantum
ead00272cc Fix crash when leaving an reentering a world.
fixes #972
2025-03-01 14:35:08 +01:00
IntegratedQuantum
ffd408bf18 Print the file path when printing a zon error.
fixes #1133
2025-03-01 12:30:06 +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
e71161362a Remove extranous newline when printing a zon syntax error 2025-02-28 18:42:30 +01:00
IntegratedQuantum
1c64a8e4b7 zon: Improve the duplicate key error 2025-02-28 18:38:50 +01:00
Carrie
b660a26b19
Uranium ore, ingots and blocks (#1127)
* Add uranium assets

* Redesign raw uranium to resemble the ore better

* Fix formatting
2025-02-28 17:44:25 +01:00
IntegratedQuantum
6f20f71737 Calculate block damage as individual swings.
fixes #953
2025-02-27 21:19:15 +01:00
IntegratedQuantum
2a73886498 Diminishing returns
fixes #1119
2025-02-27 19:38:28 +01:00
IntegratedQuantum
163db4929a Introduce modifiers that allow changing the power based on the block type.
Basically https://github.com/PixelGuys/Cubyz/issues/172#issuecomment-2685028175
2025-02-26 23:02:18 +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
Carrie
fb0f028c3c
Gold ore, ingot, and block (#1110)
* Gold ore, ingot, and block

* Texture tweaks and add recipes

* Ikabod's balancing

* Change like 4 pixels of gold ore item
2025-02-26 19:43:31 +01:00
IntegratedQuantum
37136304a8 Fix panic during map generation from a float that was too large.
fixes #1117
2025-02-26 17:59:34 +01:00
IntegratedQuantum
43773e96b4 Add a minHeight parameter for ores.
fixes #1112
2025-02-26 17:04:36 +01:00
IntegratedQuantum
0cb195dce6 More modifiers 2025-02-25 22:07:26 +01:00
IntegratedQuantum
d2deb2c17a Fix trailing newlines 2025-02-25 21:32:27 +01:00
IntegratedQuantum
7145aca964 Support simple modifiers (currently they can only change tool stats one time) 2025-02-25 21:26:17 +01:00
IntegratedQuantum
ba50014acd Make the biome transition smooth
fixes #1107
2025-02-24 20:47:55 +01:00
IntegratedQuantum
43b6d9e5a0 Optimize and simplify the CaveBiomeMap value interpolation, making use of the axis aligned nature of the underlying grid. 2025-02-24 20:19:21 +01:00
Carrie
5b0e476fff
Unique Baobab leaves and leafElongation in savannah (#1101) 2025-02-23 21:22:32 +01:00
IntegratedQuantum
958f00c9f0 Improve the spawn searching algorithm.
It now uses a spiral starting at (0, 0), and it should be a lot faster too.

fixes #1093
2025-02-23 21:17:13 +01:00
ikabod-kee
9bfa17812d
Made biomes bigger (#1086)
* Made biomes bigger

* More changes

* Update save_creation.zig
2025-02-23 20:37:55 +01:00
IntegratedQuantum
f83479264e Trigger button release actions when switching between menu and game.
fixes #1080
2025-02-23 20:21:34 +01:00
IntegratedQuantum
70c3772b1b Reset the eyePos on death.
Should fix #968
2025-02-23 20:15:31 +01:00
IntegratedQuantum
dc3b2924a5 Don't change color of immutable slots on click.
fixes #1085
2025-02-23 20:13:01 +01:00
IntegratedQuantum
c343d434cb Limit player names and chat messages, both in terms of visible and total characters.
fixes #1099
fixes #1098
2025-02-23 19:21:11 +01:00
IntegratedQuantum
8e4a39e84e Fix entity models with transparent pixels.
fixes #820
2025-02-23 18:48:24 +01:00
IntegratedQuantum
02710fdba6 Run the game in ReleaseSafe by default.
fixes #409
2025-02-23 15:53:28 +01:00
Carrie
a5c3f2e65b
Make plants, leaves and torches break faster (#1094) 2025-02-23 11:48:40 +01:00
IntegratedQuantum
30e24c2687 Explicitly specify the path of windows tar.
Some people also have linux tar installed, which of course works differently.

I hate windows.
2025-02-23 11:26:11 +01:00
MnHs
5cfe09190f
Add coyote time (#1053)
* add coyote time

* remove getJumpBlocking function

* fix undeclared constant error

* try to fix input delay

* fix coyote jump input delay

* fix paranoid check

* add jump coyote timer to f3 menu, cleanup
2025-02-22 15:18:58 +01:00
IntegratedQuantum
1a7c4c3ae6 Make diamond veins smaller, but more common 2025-02-22 10:52:03 +01:00
ikabod-kee
61cf456af8
Added durability for binding (#1089) 2025-02-22 10:19:32 +01:00
IntegratedQuantum
c46c469f21 Don't run the power check when trying to place ores on blocks.
fixes #1076
2025-02-22 10:10:38 +01:00
IntegratedQuantum
efd9ce8141 Deblobification 2025-02-21 20:26:38 +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
ikabod-kee
568d694756
Autumn Forest Biomes (#1010)
* Added Autumn Forests

* Gold

* No!

* The line!
2025-02-20 20:58:26 +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
ikabod-kee
894a8bd93a
Wetlands and Swamp Revamp 2! (#1026)
* Wetlands Revamp

* Swamp changes

* Made flowers grouped!

* Sparser Wetland Trees

* Added the single line!
2025-02-20 19:40:50 +01:00
Carrie
5ae29fb891
Add Pebbles (#1073)
* Add pebbles

* Tweak pebbles texture

* Add pebbles item texture and recipe
2025-02-19 20:27:29 +01:00
IntegratedQuantum
5d37993132 Fix floating point precision issue in the fog gradient calculation, which lead to weird black lines.
fixes #1034
2025-02-19 19:18:03 +01:00
IntegratedQuantum
1bcd5095da Fix problem of the post processing shader sampling the fog values at the wrong resolution, leading to stripes at low resolution scales.
fixes #1065
2025-02-19 19:11:20 +01:00
Carrie
980588f6ed
Coal and Diamond blocks (#1059)
* Add coal and diamond blocks and recipes

* Diamond block needs breaking power of 10

* Tweak diamond block texture

* New diamond block, cut diamond block + recipes
2025-02-19 16:44:28 +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
IntegratedQuantum
ca0a37cabb Add an option to allow people to join without being invited (requires a public IP address).
Due to the non-obvious technical requirements, I decided to hide it a bit.

fixes #618
2025-02-16 16:24:51 +01:00
IntegratedQuantum
8aa0e9101b Leave behind the stone block when mining ores, only dropping the ore itself.
fixes #981
2025-02-16 10:50:14 +01:00
IntegratedQuantum
a28188de93 Consume item when putting ores onto a block.
fixes #1049
2025-02-16 10:32:07 +01:00
IntegratedQuantum
c1a882c163 Fix undefined values being used when calculating tool properties.
should fix #1055
2025-02-16 10:18:11 +01:00
IntegratedQuantum
1f08735177 Only print a warning when the stun server couldn't be reached.
fixes #1052
2025-02-16 09:24:30 +01:00
Carrie
ddb96ab3a4
Add terracotta and its brick variants (#1057) 2025-02-16 08:58:05 +01:00
Carrie
2a2b599d5d
Hibiscus, Trumpet Lily, and Dandelions (#1044)
* Add hibiscus, trumpet lily, dandelions, tweak daffodil, and give flowers planar rotation

* Add item textures for new flowers

* Add new flowers to biomes
2025-02-15 09:15:46 +01:00