Easier Scoring
This mod implements easy functions to put in your Jokers calculate functions, so you can focus on what your Joker does instead of thinking about what to put into the return{} brackets.
Commands
aChips(amt,card,context)adds amt to the Chips amount;xChips(amt,card,context)multiplies the Chips amount by amt;aMult(amt,card,context)adds amt to the Mult amount;xMult(amt,card,context)multiplies the Mult amount by amt;addMoney(amt,card,context)adds amt to the $ amount.
Examples
In order to use it, put this code in your Joker's calculate function
if context.joker_main then
aMult(20,card,context) -- does +20 Mult
end
other versions to multiply Chips (like for each scoring card) are made like this
if context.individual and context.cardarea == G.play then
xChips(3,card,context) -- each scoring card does x3 Chips
end
Compatibility
This mod is fully compatible with all mods that don't implement/modify these functions:
aChips()addMoney()aMult()calculate_joker()xChips()xMult()
