Bladeren bron

[fixes] smoker neeed set at 0 in error, changed it to 20

KevinSmarts 5 jaren geleden
bovenliggende
commit
9f6fa0e780
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      locations/stat_display.qsrc

+ 2 - 2
locations/stat_display.qsrc

@@ -1353,9 +1353,9 @@ if cheatStatusIcons = 0:
 		$statusIconBarTab += '<td><a href="exec:msg $stat_smoker_msg"><img title="<<$stat_smoker_msg>>" height = 54 src="images/system/icon/status_icons/cigarettes.png"></a></td>'
 	end
 
-	if smoker >= 20 and NarkImmune = 0 and smokerNeed > 0 and siga > 0:
+	if smoker >= 20 and NarkImmune = 0 and smokerNeed > 20 and siga > 0:
 		$statusIconBarTab += '<td><a href="exec: gs ''drugs'',''smoke'' & ''You are smoking a cigarette.''"><img title="You really need to smoke, click to smoke a cigarette." height = 54 src="images/system/icon/status_icons/craving_nicotine.png"></a></td>'
-	elseif smoker >= 20 and NarkImmune = 0 and smokerNeed > 0 and siga <= 0:
+	elseif smoker >= 20 and NarkImmune = 0 and smokerNeed > 20 and siga <= 0:
 		$statusIconBarTab += '<td><a href="exec:msg ''You really need to smoke, but you have no cigarettes.''"><img title="You really need to smoke, but you have no cigarettes." height = 54 src="images/system/icon/status_icons/craving_nicotine.png"></a></td>'
 	elseif siga > 0:
 		$statusIconBarTab += '<td><a href="exec: gs ''drugs'',''smoke'' & ''You are smoking a cigarette.''"><img title="Click to smoke a cigarette." height = 54 src="images/system/icon/status_icons/smoke_cigarette.png"></a></td>'