Thanks, cim!!cim wrote:GGShinobi wrote:What would be the best way to identify a ship for the purpose of creating a whitelist? ship.name?ship.dataKey
is probably best.

Moderators: winston, another_commander
Thanks, cim!!cim wrote:GGShinobi wrote:What would be the best way to identify a ship for the purpose of creating a whitelist? ship.name?ship.dataKey
is probably best.
Well, except for all those older ships (the Falcon springs to mind) that don't have acim wrote:GGShinobi wrote:What would be the best way to identify a ship for the purpose of creating a whitelist? ship.name?ship.dataKey
is probably best.
ship.dataKey
. ship.dataKey
v1.77+ only?this.$compatibleWithAllShips = true;
.subentity.toString()
for any occurrence of the string "(turret)" yet).I haven't tested if it works yet, but I hoped the lineThargoid wrote:Editted to add - also if the equipment could ever come with a ship (as I think you suggest in the readme for OXP ships making it optional) then playerBoughtNewShip may need to be used to set things up like you do on startup.
Code: Select all
this.$verifyShipERSCompatibility = this.playerBoughtNewShip = function(ship)