[#modding] @books Suggestion #1:As it stands currently in my ILSpy dissassembler, there's ...

Issue #11961 new
Freehold Games Bot Account created an issue

Marked for crossposting by: books

Message (jump):

<Zephyr0> @books Suggestion #1:
As it stands currently in my ILSpy dissassembler, there's 6 hardcoded references to The.Player in Qud.UI.InventoryAndEquipmentStatusScreen:
- 4 direct references
- 2 indirect references through the wrapper function EquipObjectToPlayer() which could probably be replaced with EquipObject

It is my opinion that generalizing these references to this.GO (if possible) would be healthier for modders (IE: companion management mods such as Clever-Girl), whom could in turn do things like call the equipment menu through StatusScreensScreen.show(...) with any game object instead of being limited through just The.Player. Currently body-swapping with a companion gives promising results for interacting with companions through the new equipment menu, but that might lead to other weird things.

Comments (1)

  1. Log in to comment