Skip to content

Commit

Permalink
Fixes to R0C11Y28
Browse files Browse the repository at this point in the history
Removed item I.08 as the hanging skeleton player can pickup and carry around was just confusing.
Added _hasletter_ var set when player speaks with first contact. This fixes the double-click necessary to trigger this contact as _vampclicked_ eats the first click and toting doesn't pick it up until second click. Can now service condition with `when _hasletter_ and _vampclicked_` instead.
Moved _vampclearclick_ task to after player speaks with contact in tavern. This still corrects the latent click firing when player kills slayer, but doesn't block the click when first trying to speak with contact.
Playing through quest multiple times to ensure everything fires in right order without deadlock and both rewards given.
  • Loading branch information
Interkarma committed Jul 16, 2023
1 parent 45a40eb commit 1ad4507
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Assets/StreamingAssets/Quests/R0C11Y28.txt
Expand Up @@ -397,7 +397,7 @@ Item _I.03_ letter used 1014
-Item _I.04_ dead_body
Item _reward_ gold
Item _reward2_ trinket
Item _I.08_ item class 26 subclass 3
-Item _I.08_ item class 26 subclass 3
Item _I.09_ item class 15 subclass 13

Person _qgiver_ group Questor
Expand All @@ -418,7 +418,7 @@ Clock _total_ 3.00:00 0 flag 1 range 0 1
Foe _murder_ is Vampire

-- Quest start-up:
place item _I.08_ at _bookstore_
- place item _I.08_ at _bookstore_
dialog link for location _ripperhouse_ person _rippername_
dialog link for person _widow_
dialog link for person _vamp_
Expand Down Expand Up @@ -453,10 +453,6 @@ _S.03_ task:
_vampclicked_ task:
clicked npc _vamp_

_vampclearclick_ task:
when _vampclicked_ and not _S.00_
clear _vampclicked_ _vampclearclick_

_qgclicked_ task:
clicked npc _qgiver_

Expand Down Expand Up @@ -485,18 +481,24 @@ _S.08_ task:
say 1026

_S.09_ task:
toting _I.03_ and _vamp_ clicked
when _hasletter_ and _vampclicked_
add dialog for person _widow_
log 1023 step 3
get item _I.09_
say 1015

variable _hasletter_
_S.10_ task:
clicked npc _contact_
add dialog for person _vamp_
log 1021 step 1
get item _I.03_
say 1010
setvar _hasletter_
say 1010

_vampclearclick_ task:
when _vampclicked_ and not _S.00_
clear _vampclicked_ _vampclearclick_

_S.11_ task:
add dialog for person _vamp_
Expand Down

0 comments on commit 1ad4507

Please sign in to comment.