Changes

Jump to navigation Jump to search
18 bytes added ,  17:44, 9 September 2021
Line 2: Line 2:  
==What weeds can damage==
 
==What weeds can damage==
 
I see coming up over and over in various places folks being surprised that weeds damaged their x or y item.  Someone just recently mentioned on the forum their assumption that weeds can only destroy paths because the wiki article refers only to paths being able to be damaged. I'd go straight to wiki to check, and if I didn't find it there I might understandably think it is an error too if not found here. I'd like to correct this, but I'm not 100% certain what all is included/excluded, the answers online seem to vary. Is it correct to say: Weeds can damage crops, paths, and placable items such as machines, but cannot damage fences, chests or buildings."?
 
I see coming up over and over in various places folks being surprised that weeds damaged their x or y item.  Someone just recently mentioned on the forum their assumption that weeds can only destroy paths because the wiki article refers only to paths being able to be damaged. I'd go straight to wiki to check, and if I didn't find it there I might understandably think it is an error too if not found here. I'd like to correct this, but I'm not 100% certain what all is included/excluded, the answers online seem to vary. Is it correct to say: Weeds can damage crops, paths, and placable items such as machines, but cannot damage fences, chests or buildings."?
[[User:CrystalFlower|CrystalFlower]] ([[User talk:CrystalFlower|talk]]) 09:38, 23 June 2021 (UTC)
+
[[User:Username_Removed|Username_Removed]] ([[User talk:Username_Removed|talk]]) 09:38, 23 June 2021 (UTC)
 
:I tried to search in the code. Here are parts of them in the <code>Gamelocations.cs</code> (Line 12428):
 
:I tried to search in the code. Here are parts of them in the <code>Gamelocations.cs</code> (Line 12428):
 
:<syntaxhighlight lang="c#">if (object2.name != null && !object2.Name.Contains("Weed") && !object2.Name.Equals("Stone") && !object2.name.Contains("Twig") && object2.name.Length > 0)
 
:<syntaxhighlight lang="c#">if (object2.name != null && !object2.Name.Contains("Weed") && !object2.Name.Equals("Stone") && !object2.name.Contains("Twig") && object2.name.Length > 0)
Line 12: Line 12:  
:I'm not sure how debugOutput works, but I guess the weeds can destroy all types of objects except for weeds, stone and twig. [[User:Horizon98|Horizon98]] ([[User talk:Horizon98|talk]]) 17:16, 23 June 2021 (UTC)
 
:I'm not sure how debugOutput works, but I guess the weeds can destroy all types of objects except for weeds, stone and twig. [[User:Horizon98|Horizon98]] ([[User talk:Horizon98|talk]]) 17:16, 23 June 2021 (UTC)
 
::Thanks for this. If object name '''does not''' contain weed, stone or twig then items of type "object2" can be destroyed, so it destroyes all object2's that are not weed, stone, twig. The only issue with this being if there are different object groups... are all objects part of the object2 group? What about fences, chests, buildings? I usually play on mobile, so I don't keep my PC handy but maybe I'll try to take a look at the decompiled code. Not sure it will make sense enough to me to determine this easily or quickly though as I've never looked at it before and am not a programmer.  
 
::Thanks for this. If object name '''does not''' contain weed, stone or twig then items of type "object2" can be destroyed, so it destroyes all object2's that are not weed, stone, twig. The only issue with this being if there are different object groups... are all objects part of the object2 group? What about fences, chests, buildings? I usually play on mobile, so I don't keep my PC handy but maybe I'll try to take a look at the decompiled code. Not sure it will make sense enough to me to determine this easily or quickly though as I've never looked at it before and am not a programmer.  
::[[User:CrystalFlower|CrystalFlower]] ([[User talk:CrystalFlower|talk]]) 18:45, 23 June 2021 (UTC)
+
::[[User:Username_Removed|Username_Removed]] ([[User talk:Username_Removed|talk]]) 18:45, 23 June 2021 (UTC)
 
:::The game code seems to indicate that anything other than fences and chests can be destroyed. I don't know if a fully-grown fruit tree can be destroyed yet, but everything else seems vulnerable. I've updated the page in the meantime, while we do more research. [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 21:19, 23 June 2021 (UTC)
 
:::The game code seems to indicate that anything other than fences and chests can be destroyed. I don't know if a fully-grown fruit tree can be destroyed yet, but everything else seems vulnerable. I've updated the page in the meantime, while we do more research. [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 21:19, 23 June 2021 (UTC)
 
::::Thanks Margobean! Ps. It is too bad the wiki doesn't have Echo and Thanks extensions installed (both are used on wikimedia projects so should be reliably stable, echo provides notifications without having to check pages, and thanks is for sending thanks which encourages the community. I immediately went to the history to press "thanks" before remembering it is not installed here lol. :)
 
::::Thanks Margobean! Ps. It is too bad the wiki doesn't have Echo and Thanks extensions installed (both are used on wikimedia projects so should be reliably stable, echo provides notifications without having to check pages, and thanks is for sending thanks which encourages the community. I immediately went to the history to press "thanks" before remembering it is not installed here lol. :)

Navigation menu