Electric Geode Crusher

## Information

### Description

Cracks geodes open automatically. Has a slight chance to give bonus artifacts, minerals, and resources such as stone and clay. Requires battery packs to run.

### ID

Omegasis.Revitalize.Objects.Machines.GeodeCrushers.ElectricGeodeCrusher

An advanced geode crusher that uses
battery packs
to run. It has an increased amount of resources it can give (clay, stone, coal) as well as double minerals and artifacts.

### How To Obtain

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

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

### Crafting

Crafting Recipe

Gold Bar (5)

Refined Quartz (10)
  Advanced Burner 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 75% chance to give double artifacts.
Has a 25% chance to give double minerals.
Gives an increased amount of resources such as stone, clay, and coal.
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
* Nuclear Geode Crusher
* Magical 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.