According to the lighter code, characters without "expertchef" tag are allowed to cook at the cost of 5 fire damage per item cooked. However, this never happens due to restriction placed by this line in Cooker:CanCook function definition in cooked component:
and (not self.inst:HasTag("dangerouscooker") or chef:HasTag("expertchef"))
which probably shouldn't even be present here since it's exclusively related to lighter, already treated in lighter code and most likely negatively affects performance since it adds another argument (chef) for the function to take and check every single time someone tries to cook stuff.
Steps to Reproduce
1. Try to cook with Willow's lighter playing as non-Willow and non-Warly character.
2. "Cook" prompt doesn't appear when you hover the lighter over cookable stuff.
- 3
There are no comments to display.
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