浏览代码

[added] stat tracking for cigarettes

hornguy6 11 月之前
父节点
当前提交
5bc2fbb2a3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      locations/drugs.qsrc

+ 1 - 0
locations/drugs.qsrc

@@ -21,6 +21,7 @@ if $ARGS[0] = 'smoke':
 		if smoker > 20 and smoke_exp = 0: smoke_exp = 1
 	end
 	mc_inventory['cigarettes'] -= 1
+	stat['cigarettes_smoked'] += 1
 	smokeDay = daystart
 	smokeHour = hour
 	smokeminut = minut + 3