Skip to content

Commit

Permalink
Scrolls-for-spellcasters: Prefer inventory.
Browse files Browse the repository at this point in the history
With the Bag of Spilling, this shouldn't be a problem.
  • Loading branch information
GraionDilach committed Apr 9, 2023
1 parent 1b61725 commit 41d2cff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions zgtweaks/zgtweaks.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
END
PATCH_IF (max_spell_level > 0) BEGIN
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -111,7 +111,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
PATCH_IF (max_spell_level > 4) BEGIN
SET secondary_spell_level = max_spell_level - 4
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -142,7 +142,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
END
PATCH_IF (max_spell_level > 0) BEGIN
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%M~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%M~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -174,7 +174,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
PATCH_IF (max_spell_level > 4) BEGIN
SET secondary_spell_level = max_spell_level - 4
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%M~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%M~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -206,7 +206,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
END
PATCH_IF (max_spell_level > 0) BEGIN
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -238,7 +238,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
PATCH_IF (max_spell_level > 4) BEGIN
SET secondary_spell_level = max_spell_level - 4
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -269,7 +269,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
END
PATCH_IF (max_spell_level > 0) BEGIN
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%M~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%max_spell_level%M~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down Expand Up @@ -301,7 +301,7 @@ REQUIRE_PREDICATE (GAME_IS ~bgee bg2ee iwdee eet~) @1000
END
PATCH_IF (max_spell_level > 4) BEGIN
SET secondary_spell_level = max_spell_level - 4
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%M~ #1 #0 #0 ~NONE~ ~QITEM INV~
ADD_CRE_ITEM ~ZGTRWS%secondary_spell_level%M~ #1 #0 #0 ~NONE~ ~INV QITEM~
END
SET max_spell_level = 0
BUT_ONLY
Expand Down

0 comments on commit 41d2cff

Please sign in to comment.