According to scriptproperties.xml:
<property name="people.count" result="Number of people on board the object as NPC templates (not actual NPCs)" type="integer"/>
<property name="people.free" result="Amount of free space on board the object for additional people as NPC templates" type="integer"/>
<property name="people.capacity" result="Maximum amount of potential space on board the object for people as NPC templates" type="integer"/>
But when I use an Elite Sentinel, according to ship information my crew (on an empty ship with me piloting) is 0 / 2, indicating I can hire two people. However when I use those properties in my script, they return:
Ship Information (capacity) = 0 / 2
count = 0
free = 1 <----- this should be 2
capacity = 1 <----- this shuld be 2
I don't quite understand what as NPC templates (not actual NPCs) means because after I hire one crew member, my results are:
Ship Information (capacity) = 1 / 2
count = 1
free = 0 <----- this shuld be 1
capacity = 1 <----- this shuld be 2
Now interestingly if I promote that crewmember to a pilot:
Ship Information (capacity) = 1 / 2
count = 1
free = 1
capacity = 1 <----- this shuld be 2