Jump to content

Photo

Why is an item after TakePartyItem() not pickpocketable?


3 replies to this topic

#1 jastey

jastey
  • Gibberlings
  • 7471 posts
  • Gender:Female

Posted 28 February 2018 - 10:44 PM

For original BGII, I need MISC4T.itm (Letter of Transfer from Renal to Mae'Var) to be stealable after Gorch ("bartender" in AR0302.are) took it to let the PC into the hiddenquarters of Mae'Var.

 

In Gorch.dlg, state 4, the action to remove it from the PC's inventory is TakePartyItem("MISC4T"). If Gorch is killed, it drops to the ground. But while Gorch is alive, the pass cannot be pick pocketed.

 

Why, and how can I change this?



#2 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Gibberling Poobah
  • 9723 posts
  • Gender:Not Telling

Posted 28 February 2018 - 11:13 PM

My prime suspect would be the 'critical item' flag (bit 0 in the item flags at 0x18).


Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.


#3 Roxanne

Roxanne

    Modder

  • Modders
  • 2041 posts
  • Gender:Female
  • Location:Auckland, NZ

Posted 01 March 2018 - 12:05 AM

My prime suspect would be the 'critical item' flag (bit 0 in the item flags at 0x18).

Misc4T has flags *critical item* and *droppable*, at least in EE and EET versions, which would match exactly to that behavior.

The *critical item* flag (first in 0x18) also appears as *unsellable* depends on which tool you use.

 

PS - in classic games some plot items were missing that flag and you could steal them instead of doing some quest. Those have changed in the EE, however my memory is too weak to remember if Misc4T was among them (I probably never tried to steal it anyway).


Edited by Roxanne, 01 March 2018 - 12:15 AM.

The Sandrah Saga!

another piece of *buggy, cheesy, unbalanced junk*

 

 

 


#4 jastey

jastey
  • Gibberlings
  • 7471 posts
  • Gender:Female

Posted 01 March 2018 - 05:20 AM

Thank you both! I can't believe I wasn't aware that critical means not pickpockable.





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users