-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[added] Chicken/Fishy/Steak turn into food after getting hit by fire arrow + [fixed] fireplace ingredient bug #1848
Conversation
I added a commit that makes the following changes:
Grain and steak still omitted for now. |
I added another commit that does the following changes:
For now, steak will not become cooked steak by being in fire. No more changes planned. |
I made a commit that fixes a bug where the ingredient can be eaten and cooked at the same time. I added checks in Before Stand in fireplace at low health, spawn a grain. After Stand in fireplace at low health, spawn a grain. |
Added a commit that fixes #2031
A new function In There was no need to add Tested offline and online, no problems observed. |
Added yet another commit that improves the smoke particle when fireplace is extinguished. |
Since this PR has aged and there are too many merge conflicts, I will close this, but with the intention of making a new PR based off this one someday. |
Status
Description
Fixes #1399
Fixes #1909
Fixes #1929
Fixes #2031
This PR makes it so that chicken turns into a food item with a chicken wing sprite and the name "Fried Chicken" if it is hit by a firearrow or after it has been in fire for 50 ticks.
This gives another use to chicken, is humorous and seems more realistic. I always found it odd that chicken can just get away with being in fire without taking damage. Also adds strategy, if players want to trade one fire arrow for one food.
This PR does not implement all the suggestions from the above linked issue, nor does it add IsFlammable script to chicken. This is just a start to see if this is something worth adding to the game.
I had trouble compressing Food.png, so if this PR gets accepted someone should compress it more.I replaced the png file, now it is 277 bytes smaller compared to the live build (-37%).
There is a bug with many fireplaces (that overlap each other) producing many foods from just one ingredient both in offline and online. This PR fixes that.
Tested offline and online, works as intended.
Steps to Test or Reproduce
Spawn chicken, shoot it with a fire arrow.
Notice it will turn into a chicken wing.
Build some buildings or wood backtiles and have chicken be closed inside.
Burn it up.
Notice the chicken may turn into a chicken wing if it touches the fire long enough.