You are viewing a potentially older version of this package.
View all versions.
Lucky Dice
The outcome will be decided by a roll of the dice.
Date uploaded | 10 months ago |
Version | 0.2.0 |
Download link | OE_Tweaks-Lucky_Dice-0.2.0.zip |
Downloads | 476 |
Dependency string | OE_Tweaks-Lucky_Dice-0.2.0 |
This mod requires the following mods to function
README
WIP!!!!!!!
Some things might be (probably are) very broken, please report any errors you encounter on the mod github page (link above) with the following information:
- What was the error?
- What other mods you have installed?
- What are the steps to reproduce the error?
- Add log files.
Lucky Dice
This mod adds a bunch of different dice, each with it's own event pool. When a dice is used (left mouse) it "rolls" an event from it's pool.
The dice items (that I made) are not usable in the ship phase or on the company moon to prevent cheesing.
Example mod that extends Lucky Dice:
https://github.com/OE100/ExampleEventExtensionMod
Todo:
- Guide on extending the event/item system of the mod (the api is already in there, just needs documentation)
- Implement some events that I didn't have time to make just yet
- Write what each event does
Releases:
Version 0.2.0
- Fix: Flying to moons no longer breaks clients. (lol, my bad)
- Fix: Spawn enemy events should work even if the enemy isn't spawnable on the moon in vanilla.
- API: Added an enemy registry that maps the EnemyAI type to its prefab for easier access. (for an example of how to use it see my enemy spawn event)
- API: Changed my enemy spawn events to use generics for ease of use. (not backwards compatible)
Version 0.1.1
- Added an example for how to make a mod that extends lucky dice.
- Some minor variable visibility changes.
Version 0.1.0
- Added config options to set dice spawn chance, if dice can spawn at all, if dice should be activatable or just scrap.
- Changed event api to use custom attributes. (not backwards compatible)
Version 0.0.2
- Fixed a bug that caused items spawned by events to not show on scan.
Version 0.0.1
- Early Beta
- Added extendable dice items (with regular solids already implemented)
- Added extendable event system (with some base event types and events already implemented)