Hydromancerx Posted January 6, 2017 Share Posted January 6, 2017 I am trying to add Cigars to the Smoker trait but I cannot even find the smoker trait. Where in the base game files is the Smoker trait? Link to comment Share on other sites More sharing options...
ProjectSky Posted January 6, 2017 Share Posted January 6, 2017 See recipecode.lua OnEat_Cigarettes function. item Cigarettes { Count = 20, HungerChange = 0, Weight = 0.005, RequireInHandOrInventory = Lighter/Matches, Type = Food, DisplayName = Cigarettes, StressChange = -5, Icon = IckySticks, CustomContextMenu = Smoke, CantBeFrozen = TRUE, OnEat = OnEat_Cigarettes, CustomEatSound = } Link to comment Share on other sites More sharing options...
Hydromancerx Posted January 6, 2017 Author Share Posted January 6, 2017 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now