Jump to content


subzero400

Member Since 07 Oct 2018
Offline Last Active Mar 01 2019 11:24 PM

Posts I've Made

In Topic: BGT 1.19: bugs and typos thread

22 February 2019 - 09:07 AM

Ancient bug, yet not fixed at 1.20, with missing familiar in BG2...

bgt\compat\bgt\replace\xar0602.baf

IF
  Global("IHavePants","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("IHavePants","GLOBAL",2)
    SetGlobal("BG1Pantaloons","GLOBAL",1)
    ActionOverride("Picture1",CreateItem("MISC47",0,0,0)) // Golden Pantaloons
    Continue()
END

 

IF
  Global("MeetOldenFriends","GLOBAL",100)
  Global("IHaveFamiliar","GLOBAL",0)
  PartyHasItem("FAMCAT") // Familiar
THEN
  RESPONSE #100
    ActionOverride("Picture 1",TakePartyItem("FAMCAT")) // Familiar
    SetGlobal("IHaveFamiliar","GLOBAL",2)
    Continue()
END
 
IF
  Global("MeetOldenFriends","GLOBAL",100)
  Global("IHaveFamiliar","GLOBAL",0)
  PartyHasItem("FAMDUST") // Familiar
THEN
  RESPONSE #100
    ActionOverride("Picture 1",TakePartyItem("FAMDUST")) // Familiar
    SetGlobal("IHaveFamiliar","GLOBAL",2)
    Continue()
END
 
...
Needless space symbol in container name "Picture1"