From e6224be2f9ddf59bb730170be60fa30302820018 Mon Sep 17 00:00:00 2001 From: Andrest07 <57931603+Andrest07@users.noreply.github.com> Date: Sun, 12 Nov 2023 18:36:31 +0700 Subject: [PATCH] Bugfixes --- game/base-system/widgets.twee | 3 +-- game/overworld-town/loc-home/main.twee | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/game/base-system/widgets.twee b/game/base-system/widgets.twee index a29a3cf5b8..60d307cb10 100644 --- a/game/base-system/widgets.twee +++ b/game/base-system/widgets.twee @@ -5200,7 +5200,6 @@ <<set $skulduggerydifficulty to 900>> <</if>> - <<link [["Train with your " + _LTS + " Lockpick Training Set (0:30)"|$passage]]>><<pass 30>><<stress 6>><<willpower 1>><<set _LTSCheck to true>><</link>><<gstress>><<gwillpower>><<skulduggerydifficulty>> - <br> + <<link [["Train with your " + _LTS + " Lockpick Training Set (0:30)"|$passage]]>><<pass 30>><<stress 6>><<willpower 1>><<set $phase to 1>><</link>><<gstress>><<gwillpower>><<skulduggerydifficulty>> <</if>> <</widget>> diff --git a/game/overworld-town/loc-home/main.twee b/game/overworld-town/loc-home/main.twee index 3dbb573eec..da5c878a0a 100644 --- a/game/overworld-town/loc-home/main.twee +++ b/game/overworld-town/loc-home/main.twee @@ -54,15 +54,13 @@ You are in your bedroom. <<deskText "icon">> /* If no desk options (read a book, work on project, etc.) are available, desk and icon appear here */ <<tableText "icon">> /* If no fish tank is available to be placed on an owned table or chairs, table and chairs appear here */ -<<if _LTSCheck>> - <<unset _LTSCheck>> +<<if $phase is 1>> + <<set $phase to 0>> <br> You fiddle with your lockpick training set. <<skulduggerycheck>><<skulduggeryuse>> - <br> <</if>> <<if $lockpickTrainingSet gte 1>> - <br> <<lockpickTrainingSet>> <</if>> -- GitLab