

Quest star cmd's:

FLAG <flags> - list of bitflags (protect nearby faraway offmap existing)
PLNC <class> - planet class (dead frozen barren ...)
PLNT <file>  - specific planet type (gasgiant1)
STRC <class> - star class (orange yellow white ...)
STRT <file>  - specific star type (exo_blhole)
ITEM <file>  - place specific item on this planet (it_horloge)
FLET <race N> [attack race2] - place Nth fleet of race in orbit [attack homeworld of race2]
HOME <race>  - make this the homeworld of race
UVAR <name> <text> - set a user-defined variable

Quest condition cmd's:

TYPE <type> 
- type of condition:
firstenc  - true when player encounters race STR0 for the first time
preenc    - when player enters orbit with race STR0 (before enc/firstenc)
encounter - true when player encounters race STR0
explore   - true when player explores quest-defined star STR0 (0, 1, 2, 3)
homeworld - true when player arrives at the homeworld of race STR0
nothome   - true if player is NOT at the homeworld of race STR0
knowrace  - true if player has encountered race STR0
haveshiprace - true if player has a ship from race STR0
isfriendly  - true if player is friendly with race STR0
notfriendly - true if player is neutral/hostile with race STR0
haveitem    - true if player has an item with name or key STR0
noitem      - true if player has no item with name or key STR0 
uvar        - true if user-defined variable STR0 is set to STR1
fleetarrive - true when quest-defined fleet PAR0 arrives at a star (optional: only when there's a planet of ptype STR0)
fleetleave  - true when quest-defined fleet PAR0 leaves a star
fleetdestroy - true when quest-define fleet PAR0 is destroyed
gameover - when game ends (for the reason PAR0)
tutorial - when a tutorial window needs to come up (tutorial page PAR0)
gamemsg  - when a game message needs to come up (message type PAR0)

PAR0 <N>    
- numeric integer parameters (PAR0 - PAR3)

STR0 <text> 
- string parameters (STR0 - STR3)

Quest page cmd's:

ACTN - list of actions (popup endquest trade break)
GFXP <file>  - portrait image on popup window
TITL <text>  - title of popup window
TEXT <text>  - text popup
MUSC <name>  - music that plays while popup window is open
YSNO <N1 N2> - give player a yes/no choice (and display page N1 for yes, N2 for no)
WISH <N1 N2> - give player a wish (and display page N1 if success, N2 if failed)
BOMB <N1 N2 N3 N4> - vacuum collapser effect (N1/N2 like wish, N3 is radius, N4 is time)
SOND <file>  - play a sound effect
REMV <item>  - remove item by filename (eg. dv_bauble)
ITMS <N keys> - create N items on planet, with one or more keys listed
ITEM <item>  - give player an item by filename (eg. dv_beacon)
SHIP <race N> - give player the Nth ship of race by filename
ALLY <race N> - add Nth ship of race as an independent ally
MERC <race N> - allow hiring the Nth ship of race
FRND <race>  - befriend a race by filename (eg. muktian)
SUMN <race>  - summon nearest available alien of this race by filename
FIRE <file flags> - fire a weapon item, with flags (wp_furies autotarget)
TIME <N>     - spend N days
TPOS <N1 N2> - transpose flotillas (aethric mirror). Display N1 if success, N2 if not
THIF <N1 N2> - thief.. display page N1 if successful, N2 if not
SABT <N1 N2> - saboteur.. display page N1 if successful, N2 if not
NOVA <N1 N2 N3 star planet> - nova at star N1 in N2 days, radius N3
SVAR <var data> - set user variable var to value data
SCOR <N1 type> - give player N1 points in score category type
GOVR <text> - end game with text displayed in highscore list
GOVT <text> - set end game storyline text
XPLR <N1>   - explore star N1



