I tested 1. and 2. in the game now as well and like in the mapper, I saw no problem. Except the different item graphic in the inventory, due to the hero appearance mod, everything is fine in my mod.
And I am doing nothing fancy to delete the item from players inventory. In use_obj_on_p_proc:
PID_EXPLOSIVE_PACK is a new item that I've added.
And I am doing nothing fancy to delete the item from players inventory. In use_obj_on_p_proc:
Code:
variable Item;
variable Junk;
Item:=obj_pid(obj_being_used_with);
[...]
Item:=obj_carrying_pid_obj(dude_obj,PID_EXPLOSIVE_PACK);
Junk:=rm_mult_objs_from_inven(dude_obj,Item,1);
PID_EXPLOSIVE_PACK is a new item that I've added.