Browse Source

[fixed] missing gs 'stat' in drugs

julzor 5 years ago
parent
commit
b6fda1f0a3
1 changed files with 6 additions and 3 deletions
  1. 6 3
      locations/drugs.qsrc

+ 6 - 3
locations/drugs.qsrc

@@ -31,7 +31,7 @@ if $ARGS[0] = 'smoke':
 		pcs_hydra -= 10
 	end
 	if pcs_energy < 80: pcs_energy += 4
-	gs '$menu_obnovit'
+	gs 'stat'
 elseif $ARGS[0] = 'joint':
 	if NarkImmune = 0: joint_smoked += 1
 	joint -= 1
@@ -57,13 +57,13 @@ elseif $ARGS[0] = 'joint':
 	else
 		pcs_energy = 0
 	end
-	gs '$menu_obnovit'
+	gs 'stat'
 elseif $ARGS[0] = 'heroin':
 	if NarkImmune = 0: SNarkTimes += 1
 	StrongNarkota += 25
 	pcs_mood = 100
 	pcs_health -= 10
-	gs '$menu_obnovit'
+	gs 'stat'
 elseif $ARGS[0] = 'cocaine':
 	dur -= 1
 	pcs_health = pcs_vital * 10 + pcs_stren * 5
@@ -71,6 +71,7 @@ elseif $ARGS[0] = 'cocaine':
 	pcs_mood = 100
 	pcs_horny = 100
 	nark += 10
+	gs 'stat'
 elseif $ARGS[0] = 'amphetamine':
 	if amphIntake < 2:
 		'<font color= blue>You swallow the white pill.</font>'
@@ -80,6 +81,7 @@ elseif $ARGS[0] = 'amphetamine':
 	else
 		'Your heart is already beating uncontrollably in your chest, you should avoid taking anymore pills.'
 	end
+	gs 'stat'
 elseif $ARGS[0] = 'alcohol':
 	if ARGS[2] <= 1: 
 		alc_count = 1
@@ -133,6 +135,7 @@ elseif $ARGS[0] = 'alcohol':
 	end
 	if alc_count > 0: jump 'alcohol_jump'
 	killvar 'alc_count'
+	gs 'stat'
 else
 	'<br><font color = red>Developer note: The type of drug is wrong or missing in this scene. Please report this and a small part of the text of the current scene as a bug.</font>'
 end