Luckly SRML provides us an Attribute (you don't need to know what they do for this tutorial) that create for us custom Enums, the EnumHolder. While you are modding, you will not only use Id, but there are cases where you will need uses other, custom Enums. This means that for (almost) all objects in Slime Rancher an Id exists (you already used one in the last tutorial, the Id.CRATE_PARTY_01). In the most games, an Id represent an object. Now, what is an Id? (Keep in mind that I am not the creator of SRML, so you should look the "official" definition too). When I am talking about Enums, I usually mean Ids. And this is what you are looking for! Theory If you saw/completed the last tutorial, then you are maybe wondering on how to create our own objects instead of modifying the existing objects inside the game (like crates).
0 Comments
Leave a Reply. |