Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upFixed spawning fresh food instead of spoiled after passing long time #23881
Conversation
Firestorm01X2
changed the title
Fixed spawning fresh food instead of spoiled after passing long time
[CR] Fixed spawning fresh food instead of spoiled after passing long time
May 28, 2018
Firestorm01X2
changed the title
[CR] Fixed spawning fresh food instead of spoiled after passing long time
[CR] [WIP] Fixed spawning fresh food instead of spoiled after passing long time
May 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Also I don't undertstaind - is there really any reason to set to birthday during mapgen to something different than calendar::time_of_cataclysm? |
This comment has been minimized.
This comment has been minimized.
I would say it should be jsonized with default value set to calendar::time_of_cataclysm. Different values could be used for NPC-infested facilities (e.g. bandit camps). |
Firestorm01X2
changed the title
[CR] [WIP] Fixed spawning fresh food instead of spoiled after passing long time
Fixed spawning fresh food instead of spoiled after passing long time
May 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Ok. I've tested it. Now I can't find non canned fresh food in houses in "Next Summer" scenario. Fix itself is pretty simple. Ready fo review. |
This comment has been minimized.
This comment has been minimized.
Probably. But as bugfix it should be good enough for now. |
This comment has been minimized.
This comment has been minimized.
Agree. |
Firestorm01X2 commentedMay 28, 2018
•
edited
Fix to:
#22308
Players may notice that some time after passing even year they may be able to find fresh food in houses.
It was bug. Food creation date was set to "discovered" turn instead of start of the apocalypse in some cases.
#22308 (comment)
Fix is simple: corrected item birthday to correct date - time of apocalypse.
For now it was done for:
I hope that is enough for fixing food.