Browse Source

[fixed] Sewing when storage was full was causing issues so added check to prevent this thanks to jimmybob

Kevin_Smarts 1 year ago
parent
commit
6df2a8e9b6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      locations/sewing.qsrc

+ 2 - 0
locations/sewing.qsrc

@@ -38,6 +38,8 @@ if $ARGS[0] = 'start':
 		act 'Finish':gt 'sewing', 'start'
 		act 'Finish':gt 'sewing', 'start'
 		if tkan < 1:
 		if tkan < 1:
 			'You do not have any material to sew anything. You should buy some from the supermarket.'
 			'You do not have any material to sew anything. You should buy some from the supermarket.'
+		elseif tovarL = 30 and (YouCanGar = 0 or GarTorgItem = 100):
+			'You do not have any further storage space, you need to sell some trinkets to make room before sewing more of them.'
 		else
 		else
 			sew_trinket_success = rand(1,240)
 			sew_trinket_success = rand(1,240)
 			tkan -= 1
 			tkan -= 1