If a stack of hot food of 2 or more is split, the chill of the newly created stack will be set to 0. This can be done in at least 3 ways:
- Holding control and left clicking on a stack of hot food in the inventory. The half of the stack that attaches to the mouse cursor will have its chill reset.
- Holding control and left clicking on an empty slot while a stack of hot food is attached to the mouse cursor. The single item of hot food deposited into the empty slot will have its chill reset.
- Same as 2, but left clicking on another player instead of an empty slot.
All three can be fixed by modifying the Get function of the Stackable component to transfer chill to the newly created prefab in the same way that it already transfers perishremainingtime
Steps to Reproduce
- c_give("kabobs",40).components.edible:AddChill(15)
- Hold control and left click on the stack of kabobs.
- Drop the stack of 20 attached to the mouse cursor on the ground.
- Mouse over the stack on the ground and type this command:
- c_announce(c_select().components.edible.chill)
- It should give a number that's either 0 or very close to it.
- Drop the other stack on the ground and do the same with it
- It should say 1.
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