RPG commands
Here is a list of most RPG commands (wrote a small program to output them):
rpg.cpp
primaryattack
secondaryattack
hotkey
include "path/to/script"
r_rehash
newgame "gamename"
map "mapname"
newmap
rpgai.cpp
r_action_clear
r_action_attack
r_action_move
r_action_wander
rpgcamera.cpp
cs_interp_ ## name
cs_start
cs_interrupt
cs_post
cs_action_generic
cs_action_movedelta
cs_action_moveset
cs_action_movecamera
cs_action_moveent
cs_action_viewdelta
cs_action_viewset
cs_action_viewcamera
cs_action_viewent
cs_action_focus
cs_action_follow
cs_action_viewport
cs_container_generic
cs_container_translate
cs_container_scale
cs_container_rotate
cs_element_text
cs_element_image
cs_element_solid
rpgconfig.cpp
r_select_ ## c
r_num_ ## c
r_select_ ## c
r_select_item_use
r_num_item_use
r_script_say
r_script_signal "signalname" [code]
r_mapscript_signal
r_status_addgeneric
r_status_addpolymorph
r_status_addlight
r_status_addsignal
r_status_addscript
r_status_get_effect
r_status_num_effect
r_item_use_new_consumable - does not work yet
r_item_use_new_armour
r_item_use_new_weapon
r_recipe_add_ingredient "item index"
r_recipe_add_catalyst "item index"
r_recipe_add_product "item index"
r_recipe_get_ingredient
r_recipe_get_catalyst
r_recipe_get_product
r_recipe_num_ingredient
r_recipe_num_catalyst
r_recipe_num_product
r_ammo_add_item
r_ammo_num_item
r_ammo_get_item
r_faction_set_relation
r_faction_get_relation
r_global_new "value"
r_tip_new "text of tip"
r_cat_new "categoryname"
rpggui.cpp
r_buystack_get
r_buystack_value
r_buystack_add
r_buystack_remove
r_sellstack_get
r_sellstack_value
r_sellstack_add
r_sellstack_remove
r_dotrade
r_get_dialogue
r_num_response
r_get_response
r_trigger_response
rpghud.cpp
r_hud_minimap
r_hud_horizbar
r_hud_vertbar
r_hud_text
r_hud_image
r_hud_solid
r_hud
rpgscript.cpp
r_stack
r_sleep