From 5e3075407273164a1f8c60013e81c78af991820c Mon Sep 17 00:00:00 2001
From: Cord <doversembrace@gmail.com>
Date: Tue, 2 Aug 2022 15:32:49 -0400
Subject: [PATCH] domus leave money scene

---
 .../loc-domus-homes/skulduggery.twee          | 31 ++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/game/overworld-town/loc-domus-homes/skulduggery.twee b/game/overworld-town/loc-domus-homes/skulduggery.twee
index fd37a56351..4cdd25ae72 100644
--- a/game/overworld-town/loc-domus-homes/skulduggery.twee
+++ b/game/overworld-town/loc-domus-homes/skulduggery.twee
@@ -147,7 +147,19 @@ You sneak around the house and look for anything of value.
 	<br><br>
 	You can't steal from these people. You should probably leave <i>them</i> money.
 	<br><br>
-	<<link [[Leave|Domus Street]]>><</link>>
+	<<if $money gte 10000>>
+		<<link [[Leave £100|Domus Leave Money]]>><<set $phase to 0>><<set $money -= 10000>><<stress -6>><<trauma -6>><</link>><<lstress>><<ltrauma>>
+		<br>
+	<</if>>
+	<<if $money gte 50000>>
+		<<link [[Leave £500|Domus Leave Money]]>><<set $phase to 1>><<set $money -= 50000>><<stress -24>><<trauma -24>><</link>><<llstress>><<lltrauma>>
+		<br>
+	<</if>>
+	<<if $money gte 100000>>
+		<<link [[Leave £1000|Domus Leave Money]]>><<set $phase to 2>><<set $money -= 100000>><<stress -50>><<trauma -50>><</link>><<lllstress>><<llltrauma>>
+		<br>
+	<</if>>
+	<<link [[Just Leave|Domus Street]]>><</link>>
 	<br>
 <<else>>
 	<<rng>>
@@ -683,3 +695,20 @@ You lead <<him>> from the room, and hand <<him>> the towels from the bed. <<He>>
 	<<link [[Next|Domus House Dungeon Rape]]>><<set $molestationstart to 1>><</link>>/*End event clears out prisoner before combat*/
 <</if>>
 <br>
+
+:: Domus Leave Money
+<<set $outside to 0>><<set $location to "town">><<effects>><<set $bus to "domus">>
+
+You leave
+<<if $phase is 0>>
+	£100
+<<elseif $phase is 1>>
+	£500
+<<else>>
+	£1000
+<</if>>
+on the counter for them to find. You hope it will help.
+<br><br>
+
+<<link [[Leave|Domus Street]]>><<endevent>><</link>>
+<br>
\ No newline at end of file
-- 
GitLab