Slime Rancher
0 of 0

File information

Last updated

Original upload

Created by

FruitsyOG

Uploaded by

FruitsyOG

Virus scan

Safe to use

About this mod

ShortcutLib is a Library that gives slight - major shortcuts within code! Great for Beginners & Tons of features.

Requirements
Permissions and credits
Mirrors
Changelogs
- Shortcut Lib -
As stated in the Brief Overview.. ShortcutLib is a Library that gives slight - major shortcuts within code. Great for Beginners & Tons of features.
It may be easy to use, but still leaves off free customization! Some things have easier functions, which are completely optional.
Listed below will be how to add ShortcutLib to your modding project! Its recommended that you know some C# before hand. Any video works.
For additional support, you can also go here as well: FrostWiki.

-- Project Setup --

1. Setting up your modding project.
Please follow the tutorial here. This will inform you on how to setup your modding project, then come back here for adding ShortcutLib into it!

2. Adding ShortcutLib to your modding project.
You should know this from the tutorial you just read in order to setup your project. Once you download ShortcutLib, add ShortcutLib.dll into your project references. This will add ShortcutLib into your project for free use.

3. Using ShortcutLib.
This is where things start getting more fun! Actually using ShortcutLib. Although I won't be making an entire tutorial on Slime Rancher Modding.. I will list the classes in ShortcutLib that should have the methods inside of them, the names should speak for themselves (As in the methods).

-- Classes --

[ShortcutLib]
[Shortcut] - The main part of the entire Library, this is what you might be using most of the time! This should contain all the classes for modding.
[Gameplay] - Things related to Gameplay, such as creating Plot Upgrades, Getting Plots, etc.
[Style] - Things for creating Secret Styles & Cosmetic Pods.
[Other] - Other Methods, such as creating fountains, liquids, etc.

[EatMap] - Basic Eatmap Methods. (Transforming & Producing)
[Toy] - Generally just Creating Toys.
[Structure] - Adding new structures to a SlimeAppearance. Some color specific methods in there as well.
[Resource] - Creating Resources and more, this includes Gadgets, Bottled Resources, Foods, Etc!
[Spawner] - Methods for spawning! These should usually be ran in PreLoad, besides ReplaceFoodSpawner().
[Prefab] - General Shortcuts to just copying Prefabs, Getting Prefabs, etc.
[EnumP] - Enum Parsing! Great for getting Identifiables from other mods. Make sure to use it in PostLoad!
[Slime] - Everything for Creating Slimes, Gordos, Etc! You'd probably be using this often, who knows.
[Largo] - This should have what you need for creating largos! Its pretty simple actually, and there is only one Method here as of now.
[Translate] - Here you can use Methods for creating Slimepedias, Resource Pedias, etc! Filled with tons of Translation Methods though.
[FashionP] - Everything for creating Fashions & Fashion Pods! Wouldn't say its exactly the best, but it still works! Not that simple though.
[Definition] - Creating Definitions, such as SlimeDefinition, GadgetDefinition, VacItemDefinition, etc.
[Registry] - Tons of stuff on registering here! Some things you create require these Methods in order to actually be registered into the game. So I recommend looking into it.

[Debugging] - General Debugging. A few specific logging methods for specific debugging. (Such as logging the contents of a Identifiable Class.)
This class has no additional classes.

[Assets] - Built-In Asset Loading System. Loading from the Resources Folder or even Loading Outside Assets.
This class has no additional classes.

[External] - Extra possibly useful methods, such as StringToByte. Customizable Slime uses this.
This class has no additional classes.

[ShortcutLib.Presets]
[Sizes] - Size Presets, such as the size of a carrot, pogofruit, etc.
[Cells] - Cell Presets, this could include some pod cells or fountain cell or even just any cells.
[Rands] - Random Presets, this just has some random stuff in it for randomizing things. You can use it, or you could not use it if you want.

And finally the end of all this text that you had to read, or probably didn't. Credits to the Slime Rancher Modding Server. They've pretty much trained me in order to know exactly what I was doing while making this library! Including additional things I didn't know at first. Credits to Zionpoke as well! He most definitely helped in a way throughout some of it. Including being okay with a secondary library existing, that does things relating to his library, SimpleSRModLibrary. Overall, thank you for using ShortcutLib if you decided to do so and enjoy!

Small Note: Shortcut Library also gives an additional configuration for modders & non-modders! Try using the `config` command to enable `ABNORMAL_SIZES`. You'll see what it does. Have fun!

Discord

You can go to The Fruit District in order to get support for any of my modded content. Otherwise, just join the community!