#```lua

1 messages · Page 1 of 1 (latest)

winter nest
#

@violet wind moving this convo here, btw

violet wind
#

yup

#

I'll try to modify my forced message a little I think to do that

winter nest
#

you might also want to throw in a specifier or something, you shouldn't have to but you might want to specify sth like not (context.before or context.after)

violet wind
#

okay editing forced message didn't achieve anything

#

I think I already tried using return before but it did the same thing

winter nest
#

hm, try specifiers?

violet wind
#

which exactly?

winter nest
#

one thing which sucks about SMODS rn is that it's completely divorced from that long conditional tower that thunk built in card.lua

#

So a lot of the time you're missing like, 3 excluded contexts

#

not (context.before or context.after)

violet wind
#

okay I think I got it

#

I modified the return of wee joker

winter nest
#

nice

violet wind
winter nest
#

and now it works?

violet wind
#

the color is yellow tho??

#

I think I need to specify it in extra

winter nest
#

specify in extra yes

#

extra is really weird for like

#

message returns

#

theoretically you could get away with an eval_text here

violet wind
#

everything is flawless now

winter nest
#

because you're not actually setting any chips or mult here

violet wind
#

thank you very much!

winter nest
#
card_eval_status_text(self, 'extra', nil, nil, nil, {message = localize('k_plus_tarot'), colour = G.C.PURPLE})
#

here's an example card_eval_status_text

#

it does basically sameish thing, just with less fluff and can be triggered anywhere

#

that 'extra' means the message is ran in the extra context

#

like what you're doing in the return

surreal kettle
#

Hmm… I wonder if card_eval_status_text with focus=self is what I could use for a Joker that procs on playing cards but affects itself