canary/data/scripts/systems
Eduardo Dantas 6777872e4e
feat/improve: create "custom loot" for monsters (#3080)
This update introduces several enhancements to the loot system, allowing
for more flexible loot management across different monsters without the
need to modify each monster's individual script. A global loot option
has been added, which is disabled by default, to assign items that any
monster can drop. This feature simplifies the addition of common loot
across multiple monsters, enhancing the modularity of loot management.

The "registerLoot" function has been improved to eliminate code
duplication and enhance efficiency. The "closeContainer" function has
been updated to remove problematic code that could cause crashes when
"container" used before "erase". Additionally, a new Lua function,
"getMonsterTypeByName", has been introduced to facilitate getting
monster types.
2025-10-30 18:19:31 -03:00
..
bestiary_charms.lua feat: protocol 14.12 (#3524) 2025-06-08 16:12:15 -03:00
concoctions.lua refactor: concoctions to core (#2769) 2024-07-26 11:10:47 -03:00
custom_monster_loot.lua feat/improve: create "custom loot" for monsters (#3080) 2025-10-30 18:19:31 -03:00
discord_webhook.lua chore: small organization in core scripts (#2248) 2024-02-16 17:12:25 +00:00
item_tiers.lua refactor: move blessing bytes to cpp (#3064) 2024-11-13 00:02:48 -03:00
reward_chest.lua fix: colored loot message on bosses (#3342) 2025-02-08 15:38:40 -03:00