Port interact/loot features from standalone interact DLL

Add InteractNearest() and LootAllCorpses() as registered Lua C functions,
ported from the standalone interact DLL. Uses the existing Lua protection
bypass instead of NOP-padding trampolines.

- interact.zig: game API wrappers, object scanning, loot queue with
  SceneEnd hook for per-frame processing
- Bindings.xml: keybinding definitions loaded via LoadUIBindingsFromFile
  (called explicitly since our virtual addon bypasses LoadAddonRecursive)
- Lua addon: BINDING_HEADER_WEIRDUTILS, Interact() wrapper, /wu interact
This commit is contained in:
MarcelineVQ
2026-02-23 20:43:20 -08:00
parent 80cc3e39d2
commit c0d9a20943
5 changed files with 475 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
<Bindings>
<Binding name="Interact" header="WEIRDUTILS">
InteractNearest(0)
</Binding>
<Binding name="Interact (auto-loot)">
InteractNearest(1)
</Binding>
<Binding name="Loot All Corpses">
LootAllCorpses()
</Binding>
</Bindings>