#Mittens Jokers!

283 messages · Page 1 of 1 (latest)

random marten
#

Im literally just making math related jokers so

#

As of yet only adds one new joker but any ideas are welcomeee

last urchin
random marten
#

we different

#

i mean

#

i could tag team with em...

rustic river
#

itayfeder is em

random marten
#

well if they say yes then ill just give em the joker

#

since it is just one joker lol

rustic river
#

@last urchin the feds

random marten
#

might just turn this into a poker mod and rename it lol

#

i mean

#

i already have blackjack code but thats in python ;-;

tall zealot
#

how?

#

idk

#

but yk

#

math

random marten
#

thats probably mroe of the math guys thing

#

im basically changig this to gambling so

#

(as n blackjack n slots i guess)

rustic river
#

you can edit the thread name and stuff pretty sure

random marten
#

Gambling Jokers!

#

i forgot lol

rustic river
#

it be like that sometimes

random marten
#

Mittens Jokers!

#

idk its gonna be a lil bit of everything so

rustic river
#

fair enough

random marten
#

i do need help tho lol

#

i try to run the thing and it just doesnt?

#

i think this is the problem:

SMODS.Jokers.j_even_joker.calculate = function(self, context)
            if context.joker_main and context.cardarea == G.jokers then
                if G.GAME.chips %2 != 0 then
                  evrnd = pseudorandom('mewhenimeven'..G.GAME.round_resets.ante, 1, 2)
                   if evrnd == 1 then
                     current_chip = -1
                   else 
                     current_chip = 1
                   end
                end
            end
        return {
rustic river
#

i can maybe help with some art but i really don't wanna do code

random marten
#

OOH

#

unless you can cook up a blackjack type smthn

#

i cant draw well but my basically stencil has been working, yet that only really works for reusing the joker asset lol

#

ahhhh screw it im coding this joker from SCRATCH

rustic river
#

probably biting off more than i can chew but something like this?

random marten
#

i aint got school tommorow anyways

random marten
#

maybe just that closest bit?

#

the off center one should work :>

rustic river
#

wdym? like just the one set of cards and chips?

random marten
#

yeah unless you wanna do more lol

#

dealers choice essentially

rustic river
#

nah thats fine, i'll be trying to simplify it a lot anyway cause i am no lyman (expert in pixel art)

random marten
#

VALID

rustic river
#

super super bad first WIP cause i need to sleep. i'll figure out what perspective i'm actually going for tomorrow, just wanted to throw the lines and card on to make sure the green felt right

#

i'll probably put the white border back

random marten
#

WOAH

#

looks rly good so far !

random marten
#

yk what im bored im makin DICE JOKERS

#

all the dnd ones

#

(20,12,10,8,6,4,2)

#

dw abt this fellas

so when youre writing your text you can format it like this
"{C:green}#1# in #2#{} chance to",
and so on
the order in which you return your local variables is important by the way, as it'll effect the sequence of the numbers, so you'll always want to return the global probabilities of the game first in this case

random marten
#

i just need a way to get the chip value on the most recent played hand

#

example: a high card 3 chip value is 8, a pair of 3 chip value is 16

#

so just the blue

random marten
#

ok so

#

our best bet is hastebin tbh

#

literally the entire joker :D

#

dont mind the bad indents im in the default notepad

#

it works... mostly

dim moat
#

Sorry I was busy for a bit, is it still the same or you figured it out?

random marten
#

uh

#

i changed my idea a lil bit

#

+2 mult no matter what

dim moat
#

Oh

random marten
#

and +1 chip if total chips of hand is odd

#

the chip thing kinda works?

#

or used to

#

now it doesnt and idk whyy

dim moat
#

Send your calculate code

random marten
#

still says "ERROR" when it gives a chip ( or is supposed to)

dim moat
#

Replace the current_chip = to self.ability.extra.current_chip

random marten
#

which one

dim moat
#

both

random marten
#

ok

#

now it says "ERROR" but gives chip correctly

dim moat
#

Oh yea also the key is "a_chips" not "a_chip"

#

Might fix your message error

random marten
#

Yup!

#

thnak you so much dawg i had no idea

dim moat
#

Np, happens

random marten
#

ok so

#

Current joker abilities (dice):
D20: if num odd, add num chips squared. if even, add num mult x 2 IMPLEMENTED
D12: 1 in 12 chance to remove 12% of blind requirement
D10: 1 to 2 xmult ((0.1 x num) + 1) = xmult
D8: remove num% from blind req
D6: do something different per num (nothin,anycons,tarot,planet,$10,spectral)
D4: Add num xmult ( all 6s rolls a second time and takes the highest)
D2 (coinflip): 1/2 chance for $10 at end of round IMPLEMENTED

long stump
#

D10 could be x1.0 to x2.0 in increments of 0.1

random marten
#

Current art (dice):
D20: Done IMPLEMENTED
D12: Done
D10: none
D8: none
D6: Done
D4: none
D2 (coinflip): Done IMPLEMENTED

random marten
long stump
#

one of them could also be econ

random marten
#

i mean

#

it suits coinflip lol

#

since its a coin

#

get either 1 or 2 per hand played or smthn?

rustic river
#

just something like 1 in 2 chance for $10 at the end of round?

random marten
#

10 or 1 at end of round?

#

so you at least get SOME money

rustic river
#

also i'd suggest making as many as possible good with oops, all sixes so like d4 x1 mult isn't actually part of the effect so its not increased

random marten
#

oh i see what u mean

#

so stick to stuff that takes a chance

#

(oops all sixes is basically a roll with advantage lol)

long stump
#

one could have a chance to decrease the blind requirement

rustic river
#

nah i don't think you should purely stick to chance but when applicable it should help

rustic river
#

writing 20 different 1 in 20 chances for d20 would be insane and having less than 20 outcomes feels like its not a d20

random marten
#

i mean

#

we could have 1 and 20 have special effects

long stump
random marten
#

maybe 10%?

#

wait what if we do 12% since d12

long stump
#

12% makes sense

random marten
#

alr

#

all thats left is D8 and D6

#

so far d20 is the only one that affects chips

#

and d2(coin) is the only one to affect money

#

if those help :D

long stump
#

wouldnt these work better as consumables tho

random marten
#

i can try to make em consumables

#

kinda like alchemical cards

#

OH MY GOD WAIT

#

IF I DO THAT THEN WE CAN MAKE A DICE BAG BOOSTER PACK

rustic river
#

in an alternate reality everyone points to tones when talking about modded consumables

rustic river
#

a while ago

long stump
#

(it wont)

random marten
#

what mod

long stump
#

tonal madness

rustic river
#

wait it didn't release?

long stump
#

no

rustic river
#

i thought it did

long stump
#

it is non-functional

#

should prolly delete the thread sometime

rustic river
#

:jimbodespair:

random marten
#

1/8 chance
1/6 chance

#

hmmmm

#

wait

#

is there technically a way to remove a eternal sticker?

long stump
#

nope

#

but making something that does is a tad weird

random marten
#

hear me out

#

D8 becomes the D12 ability (with 8ts instead)
D12 becomes a 1 in 12 chance to give a sticker remover (when used removes an eternal sticker, or can be sold for like $6)

#

wait no

#

since you cant remove stickers :(

rustic river
#

something like that

#

and the 1 in 4 chance to not hit wouldn't be a listed probability

#

mika's has something that works kinda like that where theres 2 outcomes but only the good one is listed for oops all sixes

#

(the fortune tarot if you wanna check)

random marten
#

i feel like it would be easier to implement the advantage roll but if you can get a function or smthn for that i can add it!

rustic river
#

if the advantage is easier then go for it

random marten
#

i just need to keep searching thru the code to see lol

#

i need to find out a way to detect if oops all 6s in the jokers player has

fleet skiff
#

works basically anywhere in the code

random marten
#

Dang rly?

#

Wait

#

Can you set a variable to that

#

oh wait no it would be uhh

fleet skiff
#

just use an if statement

random marten
#
If next(find(‘Oops! All 6s’)) then
    do event stuffs
End
#

man I hate being on mobile

#

But that would work I think

fleet skiff
#

yeah

#

you could also check the value of G.PROBABILITIES.normal

#

1 normally, 2 with sixes

#

and also changes with modded jokers like woo all ones

random marten
#

also sorry but i do not wnna make a whole set of consumables, they will all just be common/uncommon, cheap-ish jokers

random marten
#

update:

#

D8 and D6 still do not have any abilities

#

Im working on art for D2 rn

random marten
midnight meadow
random marten
midnight meadow
#

sure thing , I'll do it tomorrow in the morning

#

it's 23:34 here

random marten
#

oh jeez

#

get some sleep

#

and thank you for helping :D

midnight meadow
#

coming back from a party

midnight meadow
random marten
#

Heres an early version for yall (currently includes: even joker, odd joker, cubic joker)

#

lmk if something breaks

midnight meadow
#

@random marten come here

random marten
#

Ye?

#

Did smthn break

midnight meadow
random marten
#

One sec

#

Lemme get on pc to check this out lol

#

WOAh

#

thats cool!

midnight meadow
random marten
#

lemme finish up the code for it

midnight meadow
#

here are the high res versions

#

also took the liberty to smooth out the d2 , don't know if you like it

random marten
#

oh thats what that was

#

very nice, tyvm!

midnight meadow
#

didn' have the time to do it properly so if you prefer consistente lineart just keep your version , it was already good

random marten
#

I think both look v good, hard part will be deciding which to use

midnight meadow
#

yours has a more consistent lineart , i suggest you use that , maybe try porting over the numbers , they weren't very readable

random marten
#

I'll take your word for it then :D

midnight meadow
#

Oh , one last thing

#

i noticed that in your d2 the corners are green , is that a stylistic choice or is it an error , cause i removed them in my d20

random marten
#

uhh lemme see

#

oh yeah that was an accident

#

guess i never noticed lol

#

i guess nows a better time than any to code the coin

midnight meadow
#

hope it goes well , goodnight

random marten
#

gn

#

wait you didnt sleep earlier 😨

random marten
#

i may need a wee bit o help

#

the d20 aint working :(

random marten
#

the coin was working

#

then I broke it

#

lol

#

Also I’m changing it to on hand played because on round end is like 30x more difficult to code

random marten
#

ok so

#

coinflip works now

#

just doesnt show text

#

but that can be fixed

#

somehow

#

:D

random marten
#

Update: added coinflip joker

#

time to code the D20

midnight meadow
#

mittens , just so yk if you ever need art for a joker hit me up , I've been having hella fun designing these

random marten
#

Side note: do you have any ideas for what the d8 and d6 should do?

midnight meadow
#

in DnD every support unit uses a d8 like druids , wizards and monks

#

while a d6 should just give 1 of 6 effects when the round starts

#

sort of like wheel of fortune

random marten
#

The d2 was the coin (since it’s just a coinflip lol)

#

And has also been implemented btw!

midnight meadow
#

alright

midnight meadow
#

I'll start working on them tomorrow

random marten
#

I don’t know how I would implement those but I see it! (Towards the dice ideas)

random marten
midnight meadow
#

like , give a tarot , give a planet , make a joker negative , do nothing , give 10 $ , give a spectral

languid oak
#

What if you did a banana version? like new math--> common core

random marten
#

hm?

random marten
#

i wonder how i would implement a support...

languid oak
# random marten i wonder how i would implement a support...

i mean like as a reference to changes in mathematics teaching, you made new math have additive chips and then common core have a mult on chips. if there's any way to code it like the banana, so one breaks and then you can get the other one, it might have potential

rustic river
rustic river
#

i'm crying already i drew like 2 lines on the wrong layer how will i ever recover

random marten
#

real

rustic river
#

i hate perspective why do humans have eyes

random marten
#

evolution

rustic river
#

my brain has melted from repeatedly using the curve tool

random marten
#

valid

#

cant stop seeing curves now i bet

rustic river
#

can't understand curves or perspective anymore 😔

random marten
#

sads

rustic river
#

draft v2, i need to be getting ready for bed extra early unfortunately cause i actually just started to get to the interesting parts (everything not yellow). gonna change the chip and the distinction between the 2 cards and the bg gradient probably

#

screenshot not an actual file incase you notice the weird border

random marten
#

oh em gee i forgot abt that one

rustic river
#

yeah idk if you're even gonna use it but i felt the need to complete it cause i haven't been finishing anything i started recently. sadly i really don't have the time today specifically

fleet skiff
random marten
rustic river
#

i'll hopefully finish it tomorrow, looking at it again i think i understand whats messed up. def easiest to learn by doing it would seem

midnight meadow
#

sorry if i've been inactive , currently working on the d12 shading

midnight meadow
#

@random marten opinions?

#

still a work in progress

random marten
#

ooh looks niceee

#

Will start coding those ones after I’m done with this season of ATLA, is very good so far

random marten
#

Current joker abilities (dice):
rare D20: if num odd, add num chips squared. if even, add num mult x 2
rare D12: 1-4 does nothin, 5-8 removes num% blind req, 9-12 removes num x 2 blind req
uncommon D10: 1 to 2 xmult ((0.1 x num) + 1) = xmult
??? D8: remove num% from blind req

uncommon D6: do something different per num (nothin,anycons,tarot,planet,$10,spectral)
rare D4: Add num xmult
uncommon D2 (coinflip): 1/2 chance for $10 at end of round
================================================= All dice work like in dnd (all 6s only gives advantage [advantage means roll again and use the higher num])
Current art (dice):
D12: Done
D10: Being worked on
D8: Being worked on

D6: Done
D4: Being worked on

other:
Cubic joker: if chips scored in hand = perfect cube, multiply the jokers mult by 2
Even/odd joker: if chips in hand played = odd/even add 1 chip and double/triple mult.
Blackjack joker: (needs ability)
Blackjack joker art: Being worked on
Slots joker: (smthn with 7s)
Slots joker art: being worked on (by me, once im done coding ofc)

random marten
#

side note: all dice will cost half their number of sides (d20 costs $10, d8 costs 4, n so on)

random marten
#

Released = in public version (ask if you want it)
Implemented = works and is in my current version of the code
Being coded/worked on = in creation
(None) = on to-do list