• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

v21.1 Cram-o-Matic 2.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Also compatible with
  1. v20.1
  2. v18.1
  3. v17.2
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 (v17\18) or with the flag CramOMatic_TYPE_VALUE (v20\21) 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.

The CramOMatic_TYPE_VALUE flag has two variables:
TYPE is one of the CRAMOMATIC_TYPERECIPIES keys.
VALUE is the numerical point value of this item when combined
CramOMatic_POISON_2 is a valid flag.

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.

v17\v18 download:
Credits
Vendily and KyureJL
Author
Vendily
Downloads
881
Views
2,635
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Vendily

Latest updates

  1. v20\v21 Support

    Now the script works in v20 and v21, using item flags, like NaturalGift or Fling. Just put...
  2. v18 Compatible

    The script has been updated to be compatible with v18, defining the symbols for items that had...
  3. 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...
Back
Top