-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device slot improvements #75
base: master
Are you sure you want to change the base?
Conversation
Implementing |
TODO: Remove |
…DevicePrep to check slot IDs
TODO: Fix exception when accessing device at slot for ships with devices assigned to specific slot IDs. |
…bj 'deviceSlotIDs
Add ability to install devices to device slots by IDshpInstallDevice
objCanInstallItem
to check installation of items to device slots taking into account criteria, maxMass, maxPower, maxPowerPercentage fieldsand prevent installation if these conditions are not met (also allow installation into unoccupied device slots)Add similar checks toshpCanInstallDevice
description
,attributes
,maxMass
,maxPower
andmaxPowerPercentage
fields to deviceSlotsobjGetProperty
to enable getting device slot info