Explorar o código

Assorted minor bug fixes

Bugs found by Monztah
Thekingofsweden %!s(int64=9) %!d(string=hai) anos
pai
achega
2b78f15a59
Modificáronse 6 ficheiros con 15 adicións e 13 borrados
  1. BIN=BIN
      glife.txt
  2. 2 2
      locations/balkon
  3. 2 2
      locations/balkon2
  4. 1 0
      locations/bed2
  5. 1 1
      locations/clothing
  6. 9 8
      locations/poli

BIN=BIN
glife.txt


+ 2 - 2
locations/balkon

@@ -8,9 +8,9 @@ if $ARGS[0] = 'start':
 	'<center><b><font color="maroon">Apartment Balcony</font></b></center>'
 
 	if $clothingworntype = 'nude':
-		'<center><img src="images/community/balcony_dressed1.jpg"></center>'
-	elseif tanga = 0:
 		'<center><img src="images/community/balcony_naked1.jpg"></center>'
+	elseif tanga = 0:
+		'<center><img src="images/community/balcony_dressed1.jpg"></center>'
 	else
 		'<center><img src="images/community/balcony_underwear1.jpg"></center>'
 	end

+ 2 - 2
locations/balkon2

@@ -61,11 +61,11 @@ if $ARGS[0] = 'niz':
 
 	if alcohol < 12:
 		if $clothingworntype = 'nude':
-			'<center><img src="images/community/balcony_dressed2.jpg"></center>'
+			'<center><img src="images/community/balcony_naked2.jpg"></center>'
 		elseif tanga = 1:
 			'<center><img src="images/community/balcony_underwear2.jpg"></center>'
 		else
-			'<center><img src="images/community/balcony_naked2.jpg"></center>'
+			'<center><img src="images/community/balcony_dressed2.jpg"></center>'
 		end
 
 		act 'Enjoy the view':

+ 1 - 0
locations/bed2

@@ -34,6 +34,7 @@ if storyline = 0:
 		'You dream that you are a man again.'
 	else
 		'You sleep without dreaming.'
+	end
 else
 	'You sleep without dreaming.'
 end

+ 1 - 1
locations/clothing

@@ -308,7 +308,7 @@ if $ARGS[0] = 'wear':
 end
 
 if $ARGS[0] = 'wear_last_worn':
-	gs 'clothing', $lastwornclothingtype, lastwornclothingnumber
+	gs 'clothing', 'wear', $lastwornclothingtype, lastwornclothingnumber
 end
 
 --- clothing -------------

+ 9 - 8
locations/poli

@@ -119,15 +119,16 @@ if $ARGS[0] = 'start':
 
 			if GerpesNapr > 0 and GerpesUkolDay ! day:
 				act 'Go for shots of herpes (1,000 rubles). Remaining <<GerpesNapr>> in the direction of injection':
-				cls
-				money -= 1000
-				minut += 60
-				GerpesUkolDay = day
-				GerpesNapr -= 1
-				gs 'stat'
-				'You made a very painful injection in the ass.'
+					cls
+					money -= 1000
+					minut += 60
+					GerpesUkolDay = day
+					GerpesNapr -= 1
+					gs 'stat'
+					'You made a very painful injection in the ass.'
 
-				if GerpesNapr = 0:Gerpes = -10 & 'It was the last injection'
+					if GerpesNapr = 0:Gerpes = -10 & 'It was the last injection'
+				end
 
 				act 'Leave':gt 'poli', 'start'
 			end