I am using the Backgrounds OXP here, as you may have noticed. The insect pic (thank you Mr. M. Swietek, lovely work) is an overlay and its appearance on the screen depends on the actual inhabitants description. If the description contains the string "insect", then the insect inhabitant's image appears below the planet in the F7 screen. You can do similar things for all the other species in the game, of course and end up with picures of inhabitants for all systems.
For anyone interested, the code to do the above is (remember, you need a trunk build to do it):
Code: Select all
this.guiScreenChanged = function(toGUI)
{
if (toGUI == 'GUI_SCREEN_SYSTEM_DATA')
{
var pat = /insect/i;
if (system.infoForSystem(galaxyNumber, player.ship.targetSystem).inhabitants.match(pat))
{
Oolite.setScreenOverlay("insectWithDew3.png");
}
}
}