Kerbal Inventory System (KIS)

Kerbal Inventory System (KIS)

1M Downloads

Add hooks to restrict attach & detach

supermerill opened this issue · 0 comments

commented

(continuation from pull request 68)
It would be nice if other mods / plugin mod can:

  • restrict the use of attach tools (ex: can't attach engines)
  • change behavior of attach tools (ex: consume a resource when attach/detach)
  • add specials attach tools (ex: can attach parts if they didn't have LiquidFuel inside)

I didn't find a way to do that, even with KIS v1.2.1

I found a way, by adding some method inside in ModuleKISItemAttachTool and calling it from KISAddonPickup and KISAddonPointer (cf pull request n°82).