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
12 lines
277 B
XML
12 lines
277 B
XML
<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>
|