Magical Geode Crusher

## Information

### Description

Cracks geodes open automatically. Has a significantly increased chance to give bonus artifacts, minerals, resources such as stone and clay. Does not require fuel to run.

### ID

Omegasis.Revitalize.Objects.Machines.GeodeCrushers.MagicalGeodeCrusher

An advanced geode crusher that does not require fuel to run. It has an significantly increased amount of resources it can give (clay, stone, coal) as well as double minerals and always gives double artifacts.

### How To Obtain

It can be awarded to the player in the mail when they have cracked 1000 geodes in total.

Should the blueprints be lost or discarded, they can be bought from the Stardew Valley Blacksmith for  100000g once the 1000 geode cracking goal has been met.

### Crafting

Crafting Recipe

Fairy Dust (1)

Iridium Bar (10)

Radioactive Bar (2)
  Nuclear Geode Crusher (1)

### Functionality

There are some differences and similarities from the vanilla game's geode crusher.

Similarities:
Requires Coal to Run
Takes one in-game hour to process

Differences:
Has a 100% chance to give double artifacts.
Has a 80% chance to give double minerals.
Gives an increased amount of resources such as stone, clay, and coal, up to double.
The chance to obtain a specific item has changed. See Determining Output Items below.

### Determining Output Items

Due to the implementation of the code of the geode crusher with being able to mod in additional outputs, there's not a fixed chance of obtaining a single item anymore. Instead the logic for obtaining items is as follows.

Every item has a percent chance from 0 to 100 that it will be added to a final list of items that could possibly be obtained. If an item passes this check, it is added to the pool of potential items. Once all possible items have been checked, the output is then determined by randomly selecting one of the output items that passed the first check. That means that means that even if an item technically has a 100% chance to obtain in the mod's files, if multiple items pass the check, then one of the items for outputs will be selected at random.

For example, take the following outputs for a theoretical geode put into crusher.

Geode:
Item 1 100% chance to obtain
Item 2 100% chance to obtain
Item 3 25% chance to obtain

Let's say in scenario 1, items 1 and 2 pass the check to determine if they are put into the list of items to be chosen for the final output item selection. Since the list contains more than one item, an item is chosen at random, leaving the actual % chance of obtaining one of these items to be 50%.

Let's say in scenario 2, items 1, 2, and 3 pass the check to determine if they are put into the list of items to be chosen for the final output item selection. Since the list contains more than one item, an item is chosen at random, leaving the actual % chance of obtaining one of these items to be ~33.33%.

So the % chance to obtain is really the % chance that the item will be added to the final randomized outputs for a given geode.

### See Also

See the following for output table for resources.

* Geodes
* Frozen geodes
* Magma geodes
* Omni geodes

* Advanced Burner Geode Crusher
* Electric Geode Crusher
* Nuclear Geode Crusher

### Additional Mod Compatibility

This object is compatible with the Automate https://www.nexusmods.com/stardewvalley/mods/1063 mod as long as both it and the  Revitalize Automate Compatibility mod are also installed.