Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Only other smoking related mod I have is the "Don't need a lighter" one.
workshop ID: 2553439611
you're welcome ;)
108600\2553439611\mods\SmokersHaveCigarettes\media\lua\client\
Open SHCNewGame.lua with any text editor and change the line 27:
local usedCigarettes = ZombRand(21)
The number 'n' (21 in this case) defines a random number 'r' that will be generated in range [0, n-1]. The resulting number of cigarettes will be 20 - r.
So if you want minimum 5 cigarettes 'n' should be 16.
I'm bad at explaining, hope, you understand it :)
@Rusty it is possible to spawn with none, on my first run with this mod I spawned with literally 0 smokes and a lighter and thought that maybe it was not working properly but I was just really unlucky.
P.S I get errors when making a new character in the same world after death, and mine had smoker, but they didn't spawn with ciggies either.
great mod !