瀏覽代碼

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

KevinSmarts 5 年之前
父節點
當前提交
9f6fa0e780
共有 1 個文件被更改,包括 2 次插入2 次删除
  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>'