Changes

Jump to navigation Jump to search
→‎Unification: Update code findings.
Line 21: Line 21:     
:Interesting findings and great work. I see your point about renaming the current [[Wild Tree]] and [[Lush Wild Tree]] to something else, but I'm not sure if [[Mossy Tree]] might be the best name, since they don't have anything specific to [[Moss]] that the other 'normal' trees like Oak don't have. [[User:YuvixAdun|YuvixAdun]] ([[User talk:YuvixAdun|talk]]) 07:57, 27 March 2024 (UTC)
 
:Interesting findings and great work. I see your point about renaming the current [[Wild Tree]] and [[Lush Wild Tree]] to something else, but I'm not sure if [[Mossy Tree]] might be the best name, since they don't have anything specific to [[Moss]] that the other 'normal' trees like Oak don't have. [[User:YuvixAdun|YuvixAdun]] ([[User talk:YuvixAdun|talk]]) 07:57, 27 March 2024 (UTC)
 +
 +
In game code, they were called greenRainTreeBushy, greenRainTreeLeafy, greenRainTreeFern, respectively. See <samp>TerrainFeatures::Tree</samp>.
 +
 +
When <code>onGreenRainDay</code> if the following conditions is met:<code>if ((treeType == "1" || treeType == "2") && (int)growthStage >= 5 && Game1.random.NextBool(0.75))</code>:
 +
* Which means when the green rain happens, every fully grown oak or maple tree over the valley has a possibility (~75%) to turn into TemporaryGreenRainTree.
 +
* [[Oak Tree]] would turn into greenRainTreeBushy;
 +
* [[Maple Tree]] would turn into greenRainTreeLeafy.
 +
* Generally, they would turn back into what they were the next day.
 +
 +
When <code>seasonUpdate</code> if the following conditions is met:<code>(Game1.IsFall && Game1.random.NextDouble() < 0.05 && !tapped && (treeType.Value == "1" || treeType.Value == "2") && Location != null && !(Location is Town) && !Location.IsGreenhouse)</code>:
 +
* Which means when the season change into Fall (Summer 28 → Fall 1), every oak or maple tree '''without tapped''' on the Farm has a possibility (~5%) to turn into TemporaryGreenRainTree.
 +
* [[Oak Tree]] would turn into greenRainTreeBushy;
 +
* [[Maple Tree]] would turn into greenRainTreeLeafy.
 +
* Generally, they would turn back into what they were when the next Spring comes.
 +
* There seems to be a bug, in which trees with [[Heavy Tapper]] is not counting as tapped.
 +
* My point is that it's really a reuse of sprites. In terms of gameplay and contextual setting, these types of trees don't really have much to do with Green Rain. It's more of a way to show a process of trees dying in autumn and recovering in spring.
 +
[[User:Ethan|Ethan]] ([[User talk:Ethan|talk]]) 09:16, 27 March 2024 (UTC)
    
==Incorrect images==
 
==Incorrect images==
 
I think the first fully grown stage picture of the new green trees is wrong, when I check the raw data (and check in-game) they aren't moss covered usually. See https://imgur.com/hBU1HIH
 
I think the first fully grown stage picture of the new green trees is wrong, when I check the raw data (and check in-game) they aren't moss covered usually. See https://imgur.com/hBU1HIH
294

edits

Navigation menu