From 0de7614c53af3353ce99236c51b29cc10dd77cda Mon Sep 17 00:00:00 2001 From: NovaRain Date: Mon, 29 May 2023 15:21:21 +0800 Subject: [PATCH] Minor edits to ddraw.ini and define_extra.h --- artifacts/ddraw.ini | 2 +- artifacts/scripting/headers/define_extra.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index f359ef61..a67eec46 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -532,7 +532,7 @@ DisplayBonusDamage=0 ;Modify the maximum number of animations allowed to run on a map. (Default is 32, and the maximum is 127) AnimationsAtOnceLimit=64 -;Set to 1 to remove the limits that stop the player rolling critical successes/misses in the first few days of game time +;Set to 1 to remove the limits that stop the game from rolling critical successes/failures in the first few days of game time RemoveCriticalTimelimits=0 ;Change the colour of the font used on the main menu for the Fallout/sfall version string and copyright text diff --git a/artifacts/scripting/headers/define_extra.h b/artifacts/scripting/headers/define_extra.h index cde2e6b1..02cbe186 100644 --- a/artifacts/scripting/headers/define_extra.h +++ b/artifacts/scripting/headers/define_extra.h @@ -147,6 +147,7 @@ #define RMOBJ_ITEM_DESTROYED 4543215 // (op_destroy_object_) #define RMOBJ_ITEM_DESTROY_MULTI 4571599 // (op_destroy_mult_objs_) #define RMOBJ_ITEM_MOVE 4683293 // (item_move_func_) +#define RMOBJ_ITEM_REPLACE 4686256 // (item_replace_) #define RMOBJ_CONSUME_DRUG 4666772 // (inven_action_cursor_) #define RMOBJ_USE_OBJ 4666865 // (inven_action_cursor_) #define RMOBJ_EQUIP_ARMOR 4658121 // (inven_pickup_) @@ -455,6 +456,7 @@ // critters #define OBJ_DATA_COMBAT_STATE (0x3C) // flags: 1 - combat, 2 - target is out of range, 4 - flee #define OBJ_DATA_CUR_ACTION_POINT (0x40) +#define OBJ_DATA_DAMAGE_FLAGS (0x44) #define OBJ_DATA_DAMAGE_LAST_TURN (0x48) #define OBJ_DATA_WHO_HIT_ME (0x54) // current target of the critter