Browse Source

[added] stat tracking for cigarettes

hornguy6 11 months ago
parent
commit
5bc2fbb2a3
1 changed files with 1 additions and 0 deletions
  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