Jump to content

Open Community  ·  1024 members

Stardew Valley

Mod request: need more shrooms


SmVovan

Recommended Posts

Hello all.

I am really upset by these only 6 mushroom bin in my farmcave, I need more shrooms!

So i made a little diggage in "stardew valley.exe" by dotpeek and find these strings in stardewvalley.locations > farmcave:

 

public void setUpMushroomHouse()
{
this.setObject(new Vector2(4f, 5f), new Object(new Vector2(4f, 5f), 128, false));
this.setObject(new Vector2(6f, 5f), new Object(new Vector2(6f, 5f), 128, false));
this.setObject(new Vector2(8f, 5f), new Object(new Vector2(8f, 5f), 128, false));
this.setObject(new Vector2(4f, 7f), new Object(new Vector2(4f, 7f), 128, false));
this.setObject(new Vector2(6f, 7f), new Object(new Vector2(6f, 7f), 128, false));
this.setObject(new Vector2(8f, 7f), new Object(new Vector2(8f, 7f), 128, false));
}
So it looks like I need to replace that list by this list
this.setObject(new Vector2(1f, 4f), new Object(new Vector2(1f, 4f), 128, false));
this.setObject(new Vector2(2f, 4f), new Object(new Vector2(2f, 4f), 128, false));
this.setObject(new Vector2(3f, 4f), new Object(new Vector2(3f, 4f), 128, false));
this.setObject(new Vector2(4f, 4f), new Object(new Vector2(4f, 4f), 128, false));
this.setObject(new Vector2(5f, 4f), new Object(new Vector2(5f, 4f), 128, false));
this.setObject(new Vector2(6f, 4f), new Object(new Vector2(6f, 4f), 128, false));
this.setObject(new Vector2(7f, 4f), new Object(new Vector2(7f, 4f), 128, false));
this.setObject(new Vector2(8f, 4f), new Object(new Vector2(8f, 4f), 128, false));
this.setObject(new Vector2(9f, 4f), new Object(new Vector2(9f, 4f), 128, false));
this.setObject(new Vector2(10f, 4f), new Object(new Vector2(10f, 4f), 128, false));
this.setObject(new Vector2(1f, 5f), new Object(new Vector2(1f, 5f), 128, false));
this.setObject(new Vector2(10f, 5f), new Object(new Vector2(10f, 5f), 128, false));
this.setObject(new Vector2(1f, 6f), new Object(new Vector2(1f, 6f), 128, false));
this.setObject(new Vector2(2f, 6f), new Object(new Vector2(2f, 6f), 128, false));
this.setObject(new Vector2(3f, 6f), new Object(new Vector2(3f, 6f), 128, false));
this.setObject(new Vector2(4f, 6f), new Object(new Vector2(4f, 6f), 128, false));
this.setObject(new Vector2(5f, 6f), new Object(new Vector2(5f, 6f), 128, false));
this.setObject(new Vector2(6f, 6f), new Object(new Vector2(6f, 6f), 128, false));
this.setObject(new Vector2(7f, 6f), new Object(new Vector2(7f, 6f), 128, false));
this.setObject(new Vector2(9f, 6f), new Object(new Vector2(9f, 6f), 128, false));
this.setObject(new Vector2(10f, 6f), new Object(new Vector2(10f, 6f), 128, false));
this.setObject(new Vector2(1f, 7f), new Object(new Vector2(1f, 7f), 128, false));
this.setObject(new Vector2(10f, 7f), new Object(new Vector2(10f, 7f), 128, false));
this.setObject(new Vector2(1f, 8f), new Object(new Vector2(1f, 8f), 128, false));
this.setObject(new Vector2(2f, 8f), new Object(new Vector2(2f, 8f), 128, false));
this.setObject(new Vector2(3f, 8f), new Object(new Vector2(3f, 8f), 128, false));
this.setObject(new Vector2(4f, 8f), new Object(new Vector2(4f, 8f), 128, false));
this.setObject(new Vector2(5f, 8f), new Object(new Vector2(5f, 8f), 128, false));
this.setObject(new Vector2(6f, 8f), new Object(new Vector2(6f, 8f), 128, false));
this.setObject(new Vector2(7f, 8f), new Object(new Vector2(7f, 8f), 128, false));
this.setObject(new Vector2(9f, 8f), new Object(new Vector2(9f, 8f), 128, false));
this.setObject(new Vector2(10f, 8f), new Object(new Vector2(10f, 8f), 128, false));
this.setObject(new Vector2(1f, 9f), new Object(new Vector2(1f, 9f), 128, false));
this.setObject(new Vector2(10f, 9f), new Object(new Vector2(10f, 9f), 128, false));
this.setObject(new Vector2(1f, 10f), new Object(new Vector2(1f, 10f), 128, false));
this.setObject(new Vector2(2f, 10f), new Object(new Vector2(2f, 10f), 128, false));
this.setObject(new Vector2(3f, 10f), new Object(new Vector2(3f, 10f), 128, false));
this.setObject(new Vector2(4f, 10f), new Object(new Vector2(4f, 10f), 128, false));
this.setObject(new Vector2(5f, 10f), new Object(new Vector2(5f, 10f), 128, false));
this.setObject(new Vector2(6f, 10f), new Object(new Vector2(6f, 10f), 128, false));
this.setObject(new Vector2(7f, 10f), new Object(new Vector2(7f, 10f), 128, false));
this.setObject(new Vector2(9f, 10f), new Object(new Vector2(9f, 10f), 128, false));
this.setObject(new Vector2(10f, 10f), new Object(new Vector2(10f, 10f), 128, false));
this.setObject(new Vector2(1f, 11f), new Object(new Vector2(1f, 11f), 128, false));
this.setObject(new Vector2(10f, 11f), new Object(new Vector2(10f, 11f), 128, false));
but I have no idea how to do it via mod, because I'm zero in programming...
So can somebody make this replacement and compile it into a mod?

 

P.S. I've already modified cave map but it is all that I can do.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...