0.4.1 Bug Fixes & GdUnit Testing
Item Drops Plugin for Godot 4 » Devlog
Noticed a couple bugs so put in a suite of new GdUnit tests to verify that objects are working as they should. Big fix in this update is making Combined Odds drops work as intended.
DropsGenerator
- Fixed a bug where _find_combined_drop was expecting a random value when it should have been expecting the max_range for the combined odds. It not generates the actual value in function to give correct generation results.
InventoryDrops
- Made less restrictive by having functions take untyped Arrays rather than Arrays of Objects
Testing
- Added GdUnit 4.5.0 tests to the demo project.
- 54 of 54 tests passing (all new)
Files
item_drops_plugin_with_demo_0.4.1.zip 35 MB
5 days ago
Get Item Drops Plugin for Godot 4
Item Drops Plugin for Godot 4
Gatherable Nodes, Pickup Items, Loot Tables, and Spawning Plugin for 2D Godot Games
More posts
- 0.4 Demo, Inventory Access, and Interactable Objects12 days ago
- 0.3 & 0.3.1 Enemy Item Drops & Signal Bus UpdateFeb 25, 2024
Leave a comment
Log in with itch.io to leave a comment.