Jump to content

Open Community  ·  421 members

Stardew Valley

Creating a slime mod: need reference to slimes in the Hutch


KathrynHazuka

Recommended Posts

Hi all.

 

I have recently created a mod for Stardew Valley. While doing so i had an idea for many more mods, one of which i am working on right now.

 

I would not like to disclose most details for now, but the mod will deal with the slimes inside the Hutches.

The problem i am having is that i cant find a way to get a reference to slimes on the farm.

I was hoping to be able to use Game1.getFarm().getAllFarmAnimals(), however this only returns only normal farm animals (chickens, cows, sheep, bunnies, etc...) and does not return any slimes.

 

I am using the StardewModdingAPI found here:

https://github.com/ClxS/SMAPI/releases

 

I would like to edit the slime's object like you can do with the FarmAnimal class, but not being able to find a reference is halting my progress...

 

So if you know how to reference the slimes, or can at least guide me towards an answer, i would greatly appreciate it.

 

Thank you

Edited by KathrynHazuka
Link to comment
Share on other sites

  • Recently Browsing   0 members

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