diff --git a/artifacts/scripting/headers/lib.inven.h b/artifacts/scripting/headers/lib.inven.h index f010a16f..8d66ff09 100644 --- a/artifacts/scripting/headers/lib.inven.h +++ b/artifacts/scripting/headers/lib.inven.h @@ -3,6 +3,7 @@ #define LIB_INVEN_H #include "define_lite.h" +#define PID_BOTTLE_CAPS (41) /** Inventory contents as temp array to be used in foreach diff --git a/artifacts/scripting/headers/sfall.h b/artifacts/scripting/headers/sfall.h index d9471453..1ba72216 100644 --- a/artifacts/scripting/headers/sfall.h +++ b/artifacts/scripting/headers/sfall.h @@ -3,6 +3,7 @@ // Recognised modes for set_shader_mode and get_game_mode #define WORLDMAP (0x1) +#define LOCALMAP (0x2) //No point hooking this: would always be 1 at any point at which scripts are running #define DIALOG (0x4) #define ESCMENU (0x8) #define SAVEGAME (0x10) @@ -125,6 +126,11 @@ #define ATKTYPE_HOOKKICK (18) #define ATKTYPE_PIERCINGKICK (19) +//Some possible values for the 4th argument to hs_removeinvobj +#define RMOBJ_DROP (0x49B875) //If the object is dropped manually by the player from the inventory screen +#define RMOBJ_TRADE (0x47761D) //If the object is offered up as a trade +#define RMOBJ_DROPMULTI (0x45C1CF) //When dropping a part of a stack (RMOBJ_DROP occures first) + // Return values for "typeof" #define VALTYPE_NONE (0) // not used yet #define VALTYPE_INT (1)