sammypanda / MCJE-PlayerQuests-Plugin

Survival-friendly questing by the players for the players!
GNU General Public License v3.0
4 stars 0 forks source link

v0.7 - Item Fetching Quests #100

Closed sammypanda closed 3 weeks ago

sammypanda commented 1 month ago

The ability to add an action that makes an NPC request an item and give a reward for it.

sammypanda commented 1 month ago

inventory and maybe even requiredInventory should probably use the database (via the db cache class! i don't mean realtime to sqlite) rather than a constant re-calculate on function call.

This is because it would probably be checked and changed a lot + it's fairly involved to figure out the requiredInventory (like: recursing through stages, then actions, then if RewardItem, then grabbing/recursing through Items)

sammypanda commented 1 month ago

setting Items has a bug (Dynamicitemlist): after deleting an item, it doesn't add the next one properly.

fixed in #104