Jump to content

GF-Like Inventory Slot Marking System


Recommended Posts

  • Honorable Member

@ DemOnJR & @ TAUMP
You just need to block the second action in uiInventory.py

	def __CanUseSrcItemToDstItem(self, srcItemVnum, srcSlotWindow, srcSlotPos, dstSlotWindow, dstSlotPos):
		if srcSlotWindow == dstSlotWindow and srcSlotPos == dstSlotPos:
			return False

		if self.interface.IsShowDlgQuestionWindow():
			return False

or, if you are not using the latest root files like so:

	def __CanUseSrcItemToDstItem(self, srcItemVnum, srcSlotWindow, srcSlotPos, dstSlotWindow, dstSlotPos):
		if srcSlotWindow == dstSlotWindow and srcSlotPos == dstSlotPos:
			return False

		if self.attachMetinDialog and self.attachMetinDialog.IsShow():
			return False

 

I noticed and fixed it long time ago, but I didn't care about the topic anymore, due the many many different files, systems, environment etc.
I gave the ingredients, so everyone should bake the bird for themselves. /sometimes it needs some salt./

  • Love 1
  • Love 2
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.