Item filename prefixes:

dr_ : star drive
dv_ : device
fb_ : fighterbay 
it_ : non-functional item (plain loot)
lf_ : lifeform
sy_ : ship system (anything in a round slot)
th_ : thruster
wp_ : weapon
ps_ : passenger

Item ini file commands

NAME Hydrogen Fusion Drive
Main name of the item. Used for wishing, info popups etc.

NAM2 a hydrogen fusion drive
Name with a/an/the prefix.. "You find a hydrogen fusion drive"

ICON items/s_system1.jpg 16
Filename and frame to use as an icon in cargo hold/trade/planet etc

GFXP items/l_system2.jpg 0
Filename and frame to use as portrait in info popups / discovery

FLAG tech nothief
Various flags that determine item behavior:
life        - lifeform (not accepted as payment by most mercenaries)
tech        - useful ship system or other device
loot        - valuable but not useful item
nosell      - cannot be traded away
nothief     - cannot be stolen
nomulti     - only one of this type of system can be installed
unique      - only one copy of this item can appear in a game
nogen       - never normally generated (cannot be found on planets etc)
nowish      - cannot be generated as the result of a wish
structural  - cannot be uninstalled from a ship (fighter bays etc)
hypervision - allows you to see cloaked ships
combat      - a device that can be used in combat

DIST dead cold warm hot toxic
item distribution flag (what planets this item is found on):
dead  (dead planet)
cold  (frozen/barren)
warm  (forest/grassland/ocean)
hot   (jungle/desert)
toxic (volcanic/toxic)

TEXT A ship with this type of star drive moves at...
Text shown on the information popup or on discovery.

COST 126 technology
Point score and score category of the item (for end game scoring)

TYPE drive
Type of item:
weapon     - starship weapon
drive      - star drive for traveling on starmap
thruster   - combat maneuvering thruster
fighterbay - for launching fighters
system     - any other starship system
device     - device that can be used (with "USE" button)
passenger  - a person. doesn't take up room in cargo hold
other      - non-functioning item such as loot or lifeforms

SIZE 2
Size of the item (1-2). Size 2 systems only fit onboard capital ships.

DATA
the data block varies depending on item type. Some have just a couple
of numbers like star drive speeds, others have a vast amount of data
like weapon effects. The weapon system needs to be written somewhere...


system types:
engine
thruster
fighterbay
shield
repair
computer
ecm
sensor
cloaker




item cost/coins table

   -100: 1 coin
101-250: 2 coins
251-450: 3 coins
451-700: 4 coins
701-   : 5 coins

Therefore, to separate "medium level" weapons...
- under 100 if lousy
- over 250 if good


weapon ranges
   -350: short
350-700: medium
700-   : long

should these be changed because all the beams are short or medium
should the categories be different for beams than missiles?
(this one has "long range for a beam")


Fighter bay data block:

DATA

PAR0 6
Max number of launched fighters simultaneously active

PAR1 100
Delay between subsequent launches (in 1/100 of a second)

PAR2 1
Behavior setting: 
0 (or undefined): launch a new fighter as soon as one is destroyed
1: launch "squad"; wait for all to be destroyed before launching more fighters
2: just launch the "squad" once and never launch any more

STR0 Urluquai
Name of the race whose fighters this uses

STR1 Urluquai Fighter
Name of the ship to be launched, in the race's ini file

END DATA

