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:
@@ -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>
|
||||
Reference in New Issue
Block a user