Skip to content

Commit

Permalink
only print scs messages if it's installed
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Dec 2, 2023
1 parent 131b0ec commit cceb80f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ua/compatibility/scs.tpa
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// Sword Coast Stratagems
ACTION_IF GAME_INCLUDES ~bg2~ BEGIN
PRINT ~Sword Coast Stratagems: Move or modify some overpowered magic items~
// Robe of Vecna moved to Azamantes, the lich guardian of the Seal of the Imprisoned One.
LAF IS_ITEM_ON_CREATURE STR_VAR creature = ~gorlic01~ item = ~wa2robe~ RET present END
ACTION_IF present == 1 BEGIN
PRINT ~Sword Coast Stratagems: Move or modify some overpowered magic items - Robe of Vecna~
OUTER_SET $item_source_compat(~wa2robe~ ~gorlic01.cre~) = 1
OUTER_SET $item_source_compat(~wa2robe~ ~wmart2.sto~) = 0
END
// The Cloak of Mirroring is now worn by Vongoethe, the lich in Amkethran.
LAF IS_ITEM_ON_CREATURE STR_VAR creature = ~demilich~ item = ~clck26~ RET present END
ACTION_IF present == 1 BEGIN
PRINT ~Sword Coast Stratagems: Move or modify some overpowered magic items - Cloak of Mirroring~
OUTER_SET $item_source_compat(~clck26~ ~demilich.cre~) = 1
OUTER_SET $item_source_compat(~clck26~ ~sahramb3.cre~) = 0
END
Expand Down

0 comments on commit cceb80f

Please sign in to comment.