- 1,763
- Posts
- 9
- Years
- Seen today
This script adds in the Cram-o-Matic, the combinational machine from the SwSh Isle of Armor DLC.
You only need to call
Only items in
The
There are a few hard coded recipes, and the generic type based recipes are defined in
Credits: Vendily and KyureJL
v17\v18 download: https://pastebin.com/WzEceHRa
v20\v21 download: https://pastebin.com/SYpDn8zq
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 combinedCramOMatic_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.Credits: Vendily and KyureJL
v17\v18 download: https://pastebin.com/WzEceHRa
v20\v21 download: https://pastebin.com/SYpDn8zq
Last edited: