Jump to content

Paladin/Thief Stronghold resting


Recommended Posts

BD allows resting in the thief and Paladin strongholds via area script changes. One undocumented change is that BD eliminates MoveGlobalsTo script actions in the ar0321, ar0323, and ar0324 scripts. I have extended the scripts without eliminating the existing action; if it fixes some undocumented bug we can include it later.

 

// allows resting in thieves guild stronghold
EXTEND_BOTTOM ~ar0321.bcs~ ~bg2fixpack/baf/ar032x.baf~
EXTEND_BOTTOM ~ar0322.bcs~ ~bg2fixpack/baf/ar032x.baf~
EXTEND_BOTTOM ~ar0323.bcs~ ~bg2fixpack/baf/ar032x.baf~
EXTEND_BOTTOM ~ar0324.bcs~ ~bg2fixpack/baf/ar032x.baf~

 

ar032x:

 

IF
Global("SetRest","MYAREA",0)
Global("PlayerThiefGuild","GLOBAL",1)
THEN
RESPONSE #100
 SetGlobal("SetRest","MYAREA",1)
 SetAreaRestFlag(1)
END

IF
Global("SetRest","MYAREA",1)
!Global("PlayerThiefGuild","GLOBAL",1)
THEN
RESPONSE #100
 SetGlobal("SetRest","MYAREA",0)
 SetAreaRestFlag(0)
END

Link to comment

And the Paladin stronghold area script is extended:

 

// allows resting in paladin stronghold
EXTEND_BOTTOM ~ar0903.bcs~ ~bg2fixpack/baf/ar0903.baf~

 

with this:

 

IF
Global("SetRest","AR0903",0)
Global("PaladinOrder","GLOBAL",1)
THEN
RESPONSE #100
 SetGlobal("SetRest","AR0903",1)
 SetAreaRestFlag(1)
END

IF
Global("SetRest","AR0903",1)
!Global("PaladinOrder","GLOBAL",1)
THEN
RESPONSE #100
 SetGlobal("SetRest","AR0903",0)
 SetAreaRestFlag(0)
END

Link to comment
I have extended the scripts without eliminating the existing action
This should also fix the problem with "Edwin disappears if you just ignore him entirely and Knock Mae'Var's chest open" (if you get the thief stronghold).
Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...