Emergency Dice Updated
Last ray of hope in a hopeless situation?
About this mod Author’s original text
Emergency Dice
This mod adds new items (equipment and scrap)
Emergency Die
Updated version of:
Their Github Repo:
Check out that mod if you don't want my changes!
Documentation
To find all Dice and Dice effects to see what they do:
API
You can now add your own dice effects in your own mods
there is an example mod on how to do that here:
Config
Be sure to check out the plugin's config file.
It is called EmergencyDice.cfg and it should
be generated when you run the game with the mod for the first time.
You can modify which effects you want or not, or change some other settings.
The [Allowed Effects] tab in the config syncs with all the clients,
meaning that only server needs to disable/enable effects.
Spawn rates are also serverside only, so no need to worry about having everyone
syncing up their values with the host.
Emergency die shop alias
Some mods (like Lethal Things mod) might use conflicting item names in the shop.
To solve this I added few aliases for the emergency die in the shop.
Try these aliases in the shop:
- emergencydie
- dice
- die
- edie
Chat commands
I included some chat commands in the mod, mainly for myself to ease debugging.
If you want to use them you have to set
"Allow chat commands = true"
in the config.
To spawn dice use:
- ~edice dice num
where num is an id of the die.
ID's start from 1.
If you want to force an effect, use
- ~edice effect effectName
or
- ~edice menu
Custom Events
I have made Custom Events as a config option
so if you wanted enemies inside or outside to spawn
or if you want a bunch of a specific items to spawn you can now do that.
Just set the amount of custom events in the config, launch the game and close it to generate the configs.
Then just input the name of the enemy or item depending on what one you do.
To get the item name or enemy name, turn on DebugLogging and for items pick it up, and for enemies launch to a planet, and it will list out every enemy name.
Special thanks
Thanks to the Original creator, Theronguard, who gave me permission to work on and upload this mod!
Thanks to:
QWERTYRodrigo, who made some models for the mod (surfaced die and another other future thing)!
Xu Xiaolan for so much help with the code!
Glitch, Lizzie, Lunxara and so many more amazing people that the list is too long to put, for testing and bug finding!
Music by Kevin MacLeod Spazzmatica Polka -
Thanks to everyone who participates on github -
for the suggestions, and bug reporting!
Thank you all for rolling the dice!
All players need this mod
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: