Resource icon

Cram-o-Matic 2020-08-29

Pokémon Essentials Version
v18 ✅
This script adds in the Cram-o-Matic, the combinational machine from the SwSh Isle of Armor DLC.

You only need to call pbCramOMatic in an event, and the script will allow you to pick 4 items to convert. Canceling early returns the items.

Only items in CRAMOMATIC_ITEMDATA can be chosen.

CRAMOMATIC_ITEMDATA contains entries where the key is the symbol for the item and the value is an array of the item type (doesn't actually have to be a type) and the value of the item.

There are a few hard coded recipes, and the generic type based recipes are defined in CRAMOMATIC_TYPERECIPIES.

CRAMOMATIC_TYPERECIPIES contains entries where the key is the type (doesn't have to be a type) and the value is an array of item symbols. The array has to be the same length as CRAMOMATIC_RATIO. You can set a slot as an array of item symbols to pick one at random.
Credits
Vendily and KyureJL
Author
Vendily
Downloads
36
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Vendily

Latest updates

  1. v18 Compatible

    The script has been updated to be compatible with v18, defining the symbols for items that had...
  2. Fixed a crash with a forgotten bit

    There was a missing entry in the Fairy Generic recipes, which would cause it to crash. If you...
Top