Difference between revisions of "Talk:Mushroom Tree"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Mushroom Tree event)
 
(found code snippet)
Line 1: Line 1:
 
"Obtaining the first Mushroom Tree is a random event...." It's no longer necessarily true that your first Mushroom Tree comes from a random event. But I don't know enough about the event to update the paragraph. Do you only get a random Mushroom Tree once per save file or can you get more? If once, is it still possible after you plant a Mushroom Tree seed? There's nothing about it on the [[Random Events]] page. Is it part of that logic, or is it something separate? I haven't seen a Mushroom Tree since 1.5 came out, so I don't even know for sure that the event still happens. [[User:Zendowolf|Zendowolf]] ([[User talk:Zendowolf|talk]]) 17:37, 14 March 2021 (UTC)
 
"Obtaining the first Mushroom Tree is a random event...." It's no longer necessarily true that your first Mushroom Tree comes from a random event. But I don't know enough about the event to update the paragraph. Do you only get a random Mushroom Tree once per save file or can you get more? If once, is it still possible after you plant a Mushroom Tree seed? There's nothing about it on the [[Random Events]] page. Is it part of that logic, or is it something separate? I haven't seen a Mushroom Tree since 1.5 came out, so I don't even know for sure that the event still happens. [[User:Zendowolf|Zendowolf]] ([[User talk:Zendowolf|talk]]) 17:37, 14 March 2021 (UTC)
 +
::I poked around in <tt>Farm::DayUpdate()</tt> and it looks like it's still a pretty general event. From what I can tell, it shouldn't be affected by whether there are already Mushroom Trees on the farm. I'm not sure if there's other code affecting the likelihood/this event, but I updated it with what I found. There are two things I'm unsure of (not fluent in C#), if anyone else goes in to look around --
 +
:: * The wiki page currently says that a Mushroom Tree can only replace common trees, but the code looks inclusive of all tree types - not sure if the new Mahogany trees are included/should be specified.
 +
:: * I think the check occurs every day of fall except the 1st of the month, but again, not positive. [[User:Efarn|Efarn]] ([[User talk:Efarn|talk]]) 06:02, 15 March 2021 (UTC)

Revision as of 06:03, 15 March 2021

"Obtaining the first Mushroom Tree is a random event...." It's no longer necessarily true that your first Mushroom Tree comes from a random event. But I don't know enough about the event to update the paragraph. Do you only get a random Mushroom Tree once per save file or can you get more? If once, is it still possible after you plant a Mushroom Tree seed? There's nothing about it on the Random Events page. Is it part of that logic, or is it something separate? I haven't seen a Mushroom Tree since 1.5 came out, so I don't even know for sure that the event still happens. Zendowolf (talk) 17:37, 14 March 2021 (UTC)

I poked around in Farm::DayUpdate() and it looks like it's still a pretty general event. From what I can tell, it shouldn't be affected by whether there are already Mushroom Trees on the farm. I'm not sure if there's other code affecting the likelihood/this event, but I updated it with what I found. There are two things I'm unsure of (not fluent in C#), if anyone else goes in to look around --
* The wiki page currently says that a Mushroom Tree can only replace common trees, but the code looks inclusive of all tree types - not sure if the new Mahogany trees are included/should be specified.
* I think the check occurs every day of fall except the 1st of the month, but again, not positive. Efarn (talk) 06:02, 15 March 2021 (UTC)