BLADERUNNER: Stop McCoy from buying absinthe a second time

After he gives it to transient, he should not be able to buy it again

That's because the Flask option is added to be selected only once, so McCoy won't be able to give it again to the homeless guy to get more info, and also the second time round, he gets the exact same dialogue from the bartender at the Hawker's Circle, which does not sound right.
This commit is contained in:
Thanasis Antoniou 2019-06-26 18:26:40 +03:00
parent 8f74f0f47e
commit 2d4dffdac0

View file

@ -111,11 +111,14 @@ bool SceneScriptHC02::ClickedOnActor(int actorId) {
Actor_Says(kActorHawkersBarkeep, 180, 13);
Actor_Clue_Acquire(kActorMcCoy, kClueChinaBarSecurityDisc, true, kActorHawkersBarkeep);
Item_Pickup_Spin_Effect(kModelAnimationVideoDisc, 229, 215);
} else if ( Actor_Clue_Query(kActorMcCoy, kClueHomelessManInterview1)
&& !Actor_Clue_Query(kActorMcCoy, kClueFlaskOfAbsinthe)
&& (Global_Variable_Query(kVariableChinyen) > 20
|| Query_Difficulty_Level() == kGameDifficultyEasy
)
} else if (Actor_Clue_Query(kActorMcCoy, kClueHomelessManInterview1)
&& !Actor_Clue_Query(kActorMcCoy, kClueFlaskOfAbsinthe)
#if !BLADERUNNER_ORIGINAL_BUGS
// don't re-get the flask if McCoy already gave it to the transient (he loses the kClueFlaskOfAbsinthe clue when he does)
&& !Actor_Clue_Query(kActorTransient, kClueFlaskOfAbsinthe)
#endif // !BLADERUNNER_ORIGINAL_BUGS
&& (Global_Variable_Query(kVariableChinyen) > 20
|| Query_Difficulty_Level() == kGameDifficultyEasy)
) {
Actor_Clue_Acquire(kActorMcCoy, kClueFlaskOfAbsinthe, true, kActorHawkersBarkeep);
Actor_Says(kActorMcCoy, 1230, 13);