5 Commits

Author SHA1 Message Date
Aaron Suen
2022371cff Finally retire old inventory rearrange logic
It seems as though the new intercept hooks are catching
everything, and since this logic was disabled hardly anyone
noticed.  The few rearrangements that were happening were
probably caused by inventory clear/restore mods unrelated to
NC operation.  This code was quite complex and removing it
will simplify the project.
2020-09-17 07:01:06 -04:00
Aaron Suen
387a72ccbc Aux+drop dumps entire inventory 2020-09-03 20:22:09 -04:00
Aaron Suen
310ce1bc6c Treat NodeCore as a unified thing.
- Collapse all nodecore "core" mods in the /mods listing, so it's
  easier to find the actual add-on mods.
- Parameterize in-game branding to make renaming derivatives just
  a little easier.
2019-09-07 09:08:57 -04:00
Aaron Suen
dca1e58a85 Yet more inventory/pickup changes.
- Intercept /give commands.
- Provide an API for giving the player an item and inserting it
  into the inventory in the right place(s).
- Change the fill order.  We try to fill the current slot first,
  the continue to the right to the end of the bar, and then
  finally work our way left to the beginning.  I think this fill
  order should be most comfortable, in terms of having items tend
  to fall close to the cursor.
2019-03-28 22:52:48 -04:00
Aaron Suen
47b4ae9bc6 Promote inventory pickup changes to a first-class feature mod.
Use interception where possible to modify destintion for items
directly instead of relying on post-hoc inventory rearrangement.

This should resolve the glitches where items appear in the wrong
place in inventory for a flash before being moved.
2019-03-27 22:10:45 -04:00