The engine looks at all the ships with a role griffthargoid defined inside all of the shipdata.plists Oolite has loaded in memory (all ships from all oxps - and the 'standard' ships - are accessible from any script, regrdless) and randomly selects them.
If you have a unique role name, it randomly selects 1 type of ship from amongst the list of 1 possible types. (ie no randomness at all)
@DH, i think what's happened is the script.js got left in the oxp by accident - i've probably remembered to go through the shipdata.plist and take out the 'griffthargoid' role from the ships but forgotten to remove the script
@DH, i think what's happened is the script.js got left in the oxp by accident - i've probably remembered to go through the shipdata.plist and take out the 'griffthargoid' role from the ships but forgotten to remove the script
It still seemed to work - until I found the script everytime my harmless, shiny new Jameson launched from Lave he got jumped by three thargoids! Perhaps my search of the contents of the files didn't work properly, I was relying on Vista to do it for me after all...
there's still about 8 left to do i think, i can't remember which ones exactly but there's definately the mamba, gecko, asp, ico station, dodo station, shuttle, transporter, constrictor, boa (2 different types i think) ( aargh, that's 10 already!) ...escape pod, rockhermit..