KSP-KOS / KOS

Fully programmable autopilot mod for KSP. Originally By Nivekk
Other
698 stars 230 forks source link

(for KSP 1.11.x) Make kOS parts able to go into cargo inventory. #2870

Open Dunbaratu opened 3 years ago

Dunbaratu commented 3 years ago

Any part in KSP can be made inventory-able in the new build construction system by just adding a few KSPFields to it, as described here:

https://forum.kerbalspaceprogram.com/index.php?/topic/198764-modders-notes-1110/

This should be done as part of kOS 1.11.x release.

Dunbaratu commented 3 years ago

Through the inventoryTooltip KSPField, it may also be possible to make kOSPartTags expose themselves in the inventory with a tiny bit of code, so all parts' kos name tags hover over the part when you have it "in hand". At least it might be possible to show some stats on the tooltip string like volume size.

(Make sure the check doesn't overwrite any tooltip info the part happened to already have from other mods!!)