This is a simple patch that makes the durability of vanilla walls invincible.
I've filled out everything I know to create a clean Steam Workshop culture.
This mod replaces Sincere's 'Indestructible Walls' mod.
Even though Sincere was able to create an easy patch file mod, Sincere made the structure of the mod difficult to understand by putting complex coding files into it.
When I disassembled Sincere's mod (of course I'm a noob modder), I found out that Sincere intentionally added code to automatically force mod subscribers to visit Sincere's workshop when the number of views was even.
The code built into that mode is:
Originally posted by Sincere:
public static void VisitWorkshop()
{
string text = "https://steamcommunity.com/workshop/filedetails/?id=3177072110";
if (B.workshopVisitCount % 2 == 0)
{
SteamFriends.ActivateGameOverlayToWebPage(text, EActivateGameOverlayToWebPageMode.k_EActivateGameOverlayToWebPageMode_Default);
}
else
{
Application.OpenURL(text);
}
B.workshopVisitCount++;}
I don't know if this code is truly harmful, but it is true that unnecessary code makes me feel uncomfortable.
Therefore, I have created a mod to replace Sincere's suspicious mod, and I recommend users of Sincere's 'Indestructible Walls' mod to use this mod.
Protect your SteamAPI in case of unexpected scamming.
※ No Need Harmony