In Pfhortran, mnemonics are words that stand for particular values. For example, Pfhortran, like most other languages, considers the word TRUE to be equal to the value 1, while FALSE is equal to the value 0. However, us humans are much happier writing "_report_errors true " than "_report_errors 1 ". The words TRUE and FALSE are abstract symbols that stand for values, in this case 1 and 0. This abstraction makes it easier for us to quickly read and understand the programming, and moves Pfhortran one step closer to normal english.
All Pfhortran's mnemonics are stored in the Pfhortran Language Definition file, which must reside in the same folder as the Aleph One application. You may open the file (it's just a text file) and check out the mnemonics, but I would not advise editing it. You can use the file to make new mnemonics (but not new instructions), but if your additions are used in any of your scripts, they will break when a person with the normal Language Definition file ties to run them.
All of Pfhortran's mnemonics are listed here for easy reference. Note that in being mnemonics, these words are all 'reserved'. You may not use them for custom variables or label names.
Genaral Mnemonics |
TRUE |
|
FALSE |
|
default_camera |
Damage Type Mnemonics |
explosion |
|
staff |
|
projectile |
flame |
|
claws |
|
alien_weapon |
compiler |
|
fusion |
|
hunter |
teleporter |
|
defender |
|
yeti_claws |
crushing |
|
lava |
|
suffocation |
energy_drain |
|
oxygen |
|
drone |
absorbed |
|
hulk_slap |
|
fist |
yeti_projectile |
|
goo |
|
shotgun |
Item Mnemonics |
knife |
|
assault_grenade_magazine |
|
flamethrower_canister |
fist |
|
missile_launcher |
|
extravision_powerup |
magnum |
|
missile_launcher_magazine |
|
oxygen_powerup |
magnum_magazine |
|
invisibility_powerup |
|
energy_powerup |
plasma_pistol |
|
invincibility_powerup |
|
double_energy_powerup |
plasma_magazine |
|
infravision_powerup |
|
triple_energy_powerup |
assault_rifle |
|
flamethrower |
|
shotgun |
assault_rifle_magazine |
|
spht_door_key |
|
uplink_chip |
shotgun_magazine |
|
smg_ammo |
|
alien_shotgun_magazine |
smg |
|
alien_shotgun |
|
|
Monster Class Mnemonics |
class_player |
|
class_bob |
|
class_madd |
class_possessed_drone |
|
class_defender |
|
class_fighter |
class_trooper |
|
class_hunter |
|
class_enforcer |
class_juggernaut |
|
class_drone |
|
class_compiler |
class_cyborg |
|
class_explodabob |
|
class_tick |
class_yeti |
|
|
|
|
Monster Type Mnemonics |
minor_tick |
|
major_tick |
|
kamikaze_tick |
minor_compiler |
|
major_compiler |
|
minor_invisible_compiler |
major_invisible_compiler |
|
minor_fighter |
|
major_fighter |
minor_projectile_fighter |
|
major_projectile fighter |
|
green_bob |
blue_bob |
|
security_bob |
|
explodabob |
minor_drone |
|
major_drone |
|
big_minor_drone |
big_major_drone |
|
possessed_drone |
|
minor_cyborg |
major_cyborg |
|
minor_flame_cyborg |
|
major_flame_cyborg |
minor_enforcer |
|
major_enforcer |
|
minor_hunter |
major_hunter |
|
minor_trooper |
|
major_trooper |
mega_cyborg |
|
mega_hunter |
|
sewage_yeti |
water_yeti |
|
lava_yeti |
|
minor_defender |
major_defender |
|
minor_juggernaut |
|
major_juggernaut |
tiny_pfhor |
|
tiny_bob |
|
tiny_yeti |
green_vacbob |
|
blue_vacbob |
|
security_vacbob |
explodavacbob |
|
|
|
|
|
|
|