#[MOVED] Aurinko : Editioned Planets

1 messages · Page 1 of 1 (latest)

foggy lark
#

Aurinko is a mod which lets Planet cards (or any whitelisted cards) appear with an edition.
Using a Planet with an edition on it will apply the edition's passives onto the hand.

Wait! Doesn't DX Tarots do the same thing? Why use this mod?

Sort of, but hear me out; it makes sense for this to be a standalone mod, and there is support for modded editions!
I've even taken into consideration any case where there might be a planet or consumable that levels down hands, in which case it will apply the inverse of the edition's traits.

Currently, the following variables in an edition will apply when used, in order from top to bottom (level up hand = left-side of /, level down = right-side of /):

  • chips : Adds/subtracts Chips to/from hand
  • mult : Adds/subtracts Mult to/from hand
  • Xchips : Multiplies/divides the hand's mult ( Requires Cryptid )
  • x_mult : Multiplies/divides the hand's Mult
  • pow_mult : Exponentiates/radicals the hand's Mult ( Requires Cryptid )
  • repetitions - OR - retriggers : Applies additional level-ups/level-downs
  • p_dollars : Instantly grants money

Can I use this with DX Tarots?

Yes, but make sure to turn off its planet editions feature! You can do this by editing TarotDx.lua and changing the value of planet_edition_enabled from true to false.

I'm a modder, how do I whitelist my consumable?

If it's already a Planet card with a hand_type config, you don't need to do anything.
If it's not (e.g. Spectral, like Black Hole), you can add aurinko = true to your consumable's definition data to whitelist it.
Your consumable doesn't necessarily have to be a Planet or something that improves hands; you can be creative with it!

How frequently do editions appear?

The edition rate is around (3 + ante) times more frequent on planets/whitelisted cards than normal.

low sandal
#

I assume the mod do not come with modded edition support naturally right

#

I mean it supports but need more setup to work

foggy lark
#

as long as the edition has any of the supported variables in its config data, it will work

low sandal
#

That sounds amazing actually

foggy lark
#

i know slughappy

#

it's why i wanted to make this into a mod of its own

#

just remember to disable DX Tarots's editioned planets feature

#

otherwise it will conflict/give unintended behaviour

low sandal
#

What about bunco's fluorescent

foggy lark
#

that uses p_dollars, so upon using a planet with this edition, it should reward you with said money immediately

#

unless, hang on

low sandal
#

But how do we know that? Fluorescent doesn't give money

foggy lark
#

oh right it's bunco's one

#

my bad, what does bunco's flourescent do? i'm used to the example fluorescent in the example editions

reef cosmos
foggy lark
#

there is still more i want to do with this mod, i just wanted to get it out as fast as possible so other people can enjoy it

#

support for blacklisting editions from showing up on planets, and support for executing a custom function, are already in consideration

limpid lark
#

go on

#

actually where does the name aurinko come from

foggy lark
reef cosmos
#

I mean I’m not saying it can’t be done, theoretically you could just make it so the corresponding hand doesn’t get debuffed but imo that’s a bit broken if it’s permanent

limpid lark
#

Error

Syntax error: main.lua:3616: '}' expected (to close '{' at line 3605) near 'return'

Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: at 0x7ffc2b2a2fa0
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

downloaded most recent release

raven aspen
#

Maybe the hand is protected from the next effect that could level it down?

foggy lark
foggy lark
limpid lark
#

worked 👍

reef cosmos
foggy lark
#

when this mod is updated to have custom function support, it's up to the creator of the edition to add their functionality to it, not me

reef cosmos
#

I apologize for seeming like I was insisting you had to do it, it probably could be figured out by Firch when custom functions get added, not some guy that has no experience with Lua coding like me lmao

foggy lark
#

no, you're fine, i'm just explaining the intent with this mod's design

#

v0.1.0 (re-release)

  • Initial release

(removed redundant lovely patch)

ashen escarp
#

aurinko more like autwinko

low sandal
#

Just tested this in my pack, and as you can see it tried to apply an edition on Venus and failed.

foggy lark
# low sandal

two possibilities;

  1. something else might've overwritten its edition
  2. it selected the base edition as its edition to spawn with
#

does this happen to every planet you find 100% of the time?

low sandal
#

I will test when I have time:

  1. Does this happen all the time
  2. What mod maybe causing this
foggy lark
low sandal
#

How do I do the latter part

#

I assume I'll need proper tool for this

foggy lark
#

you can use DebugPlus to spawn more packs in the shop by opening the collection page, going to boosters, hoving over a celestial pack and pressing the spawn hotkey

#

needs to be done while in shop

low sandal
#

Oh don't know I can do that. I'll do that after my work overtime 🫠

foggy lark
#

because so far it works fine for me

low sandal
#

You know when lots of mods in one bowl, things will happen

foggy lark
#

i can't guarantee compatibility with a very large amount of mods

#

did you decide to report this after just one instance of it happening?

low sandal
#

I'll test what you said, and try to find the culprit

#

I've seen it multiple times, just decided to record the latest

foggy lark
#

yeah, it sounds like something might be overwriting its edition when it spawns

blissful void
#

This sounds like the problem where an edition is polled when a card is created, is assigned an edition, and then your second poll removes it

#

It would previously have led to a crash due to trying to reference a sound in an event that no longer existed

blissful void
#

Maybe another mod is polling

#

Or modifies create card

#

It looks like it only polls jokers inside create card

low sandal
#

Maybe I was just SUPER UNLUCKY

#

I tested like 10-20ish Mega packs and I do see some editions

#

But most of them are base edition shaking which is still weird behaviors imho

#

Here's a video of me clicking through them if someone is interested

foggy lark
#

if the majority of them are becoming base edition and shaking, there's another mod polling editions on the cards

low sandal
#

The video is not uploading one sec

#

I SWEAR

#

It's not uploading

foggy lark
#

you don't need to show me, i trust that you're not lying

#

try doing the pack openings again, but this time remove the DX tarot mod entirely, just in case

low sandal
low sandal
foggy lark
#

yeah, something's definitely interfering with aurinko

#

are you sure you disabled DX Tarots's planet editions feature?

low sandal
#

Yes

#

I double checked I disabled it before test

foggy lark
#

try removing that mod entirely and see what happens

#

if it's not that then i'll need to take a look into your modpack myself

low sandal
#

OK I'm going to do that

foggy lark
#

just like before, do tons of pack openings

low sandal
#

Which means time to find the culprit

low sandal
#

It's Bunco.

#

Also I don't think glitched from cryptid did anything

#

At least I can't notice them

foggy lark
low sandal
#

Then all it's left is bunco's problem

foggy lark
#

you'll have to take it up to bunco's developer

low sandal
#

Ok. Just reported it (kinda)

limpid lark
#

im a fan of cross mod compatability, so i hope that this gets offical cryptid support soon 👍

low sandal
low sandal
#

I think that base edition significantly overwritten lots of should-be editions

#

When I removed Bunco there's lots of planets with editions pop up

foggy lark
#

but in the update i'm going to tone it down to (1 + ((ante/2) - 0.5))

low sandal
#

Well I tested the pack with and without Bunco in approximately the same ante and the edition rate is significantly higher without

#

If the rate doesn't get affected I might think it's ok

#

But for now I might leave it to DX for handling with editions on consumables

foggy lark
#

well the reason why i made the rate increase with ante is so it makes planets more feasible later on in the run

low sandal
#

I get your reasoning, but the problem now is that Bunco is affecting it

#

And if you ask me to choose from Aurinko or Bunco+DX I still choose latter, at least for now

foggy lark
#

i'm not asking you to choose at all, what you use is your choice

low sandal
#

I know it's a tough situation for you to solve, and you don't have to solve, maybe it's a problem that you can't solve for yourself and needs cooperate

foggy lark
#

it's really not tough at all, i have a very deep background in Garry's Mod which also uses lua for modding

low sandal
#

Do you need to completely rewrite it just for another mod?

foggy lark
#

when did i say that?

#

aurinko clearly works fine out-of-the-box for most other mods, clearly the issue is more on bunco than it is on me

#

bunco must be doing something invasive to how card editions are applied, whereas my mod is not invasive

low sandal
#

Oh I completely misunderstood

#

Firch wrote a custom consumable edition system

#

That's fine then

foggy lark
#

v0.2.0

  • Change planet edition rate formula
  • A function named aurinko can be added to edition config data for custom edition application to hands
  • aurinko = function(card, hand, instant, amount)
  • Can add aurinko_blacklist to edition config data to blacklist edition from appearing on planets
GitHub

Change planet edition rate formula
A function named aurinko can be added to edition config data for custom edition application to hands

aurinko = function(card, hand, instant, amount)

Can add au...

foggy lark
#

so i made the patch file above to fix it

#

and i am running the latest steamodded, so

blissful void
#

I thought we fixed this error, have you got a crash log?

blissful void
#

Alternatively can you show me the main.lua lines where your patch is applied?

foggy lark
blissful void
#

Yeah that block should never be reached if an edition doesn’t exist anyway

foggy lark
#

which can happen

blissful void
#

Does it?

foggy lark
#

it clearly does cause i just experienced it lol

#

either that, or .type is mysteriously missing, so i did this to fix it:

blissful void
#

self.edition should never be {} anyway, I’m sure we set it to nil when editions are cleared

foggy lark
#

just apply the fix anyway to be sure, it's not going to hurt performance

blissful void
#

I’d like to at least understand how it happens though

foggy lark
#

and so do i, but i'd rather fix it

foggy lark
#

will update this mod soon to have compatibility with new cryptid and talisman

blissful void
#

This race condition has finally been fixed by the way

foggy lark
#

thank you

foggy lark
mortal oxide
#

Not sure why but, Aurinko isn't jiving with Cryptid for us. Their editions can spawn, but they don't do anything extra. (3rd pic to show, cuz neptune would n o t give that if glitched was working)

Mod list included. We have Lovely v0.5.0-beta6.

We kno it works cuz we've seen you use it so, weird lol

foggy lark
#

i do have direct access to cryptid's github, so if i have any time i'll do it myself

#

but really this should be math's responsibility

#

in other terms, if an edition does not contain any of the following variables:

chips, x_chips, e_chips, ee_chips, eee_chips, hyper_chips, mult, x_mult, e_mult, ee_mult, eee_mult, hyper_mult, p_dollars, retriggers or aurinko

then it won't do anything when a planet card with said edition is used

#

(bolded ones rely on Talisman)

stoic thistle
#

why does x xhips rely on talisman? Bunco has an xchips edition for instance

foggy lark
#

because the x_chips variable is added in with talisman

stoic thistle
#

ah fair

#

bunco most do it their own way

mortal oxide
#

Just curious cuz, Astral wasn't working or Mosaic?
Mosaic is x_chips so, hm

stoic thistle
#

Iirc bunco also has ediitioned planets (and other consumables) they just create a tag applying the buff to the next played hand instea of actually making it part of the planet buff like your mod and tarots dx ddo

#

it's cool having both imo, so, especially because tarots-dx isn't working, I might try this out

foggy lark
stoic thistle
foggy lark
#

well consider scenarios where these mods might clash with one another

#

for example, how editions are applied onto the planet cards

stoic thistle
#

yeah I was surprised it worked with DX because of that. /i guess there's a good chance I wouldn't get so lucky here

foggy lark
#

if it is, update cryptid and talisman

#

if you're still experiencing issues with astral and mosaic not applying, then i don't know how to help you

#

because it works completely fine on my end

stoic thistle
foggy lark
#

editions on consumables do work when evaluating a played hand's score, they contribute to it after all of the joker editions are evaluated

stoic thistle
#

oh yeah I forgot that aspect

#

for held consumables

foggy lark
#

but in terms of applying it to a poker hand; there's no vanilla functionality for that

stoic thistle
stoic thistle
#

It doesn't touch poker hand levels any differently than normal planets do

foggy lark
#

neither does aurinko

#

aurinko doesn't manipulate the level of a poker hand to achieve the edition's effects, it just directly applies the bonuses to the hand's chip and mult values

stoic thistle
#

I meant it doesn't change the poker hands values, and it only lasts for the next played hands

#

I know that the level itself isn't changed with Aurinko

#

I presumed that it works basically like the editioned planets in tarots-dx do. If I'm mistaken on that, my bad

foggy lark
#

yes, it does.

#

the way aurinko does it is somewhat identical to tarot dx. the difference however is that, from a functionality and technical perspective, aurinko does it more efficiently and with dynamic built-in support

#

instead of me physically defining each edition and then finding out about modded editions and having to add those in as well; aurinko just looks for variables in an edition and goes from there

stoic thistle
#

mskes sense

mortal oxide
foggy lark
#

Tʜɪs Mᴏᴅ ɪs Mᴏᴠɪɴɢ

In the future, this mod will be moved into a single GitHub repository which will contain all of my mods, similarly to how Betmma has structured their workflow.
The thread of this mod will be deleted when this happens.

See the new home here : https://discord.com/channels/1116389027176787968/1262697083438235729

stoic thistle
#

So after some testing woth debug there's definitely some inconsitent behaviot with Aurinko, sometimes, especially with foil it seems, it subtracts the 10 mult from the poker hand instead of adding it, and sometimes it does nothing at all. I've also noticed ghost editions where the planet shakes and there's a fanfare, but no visible edition. These cards also exhibit odd inconsistent behaviot

stoic thistle
foggy lark
#

well i have shortly discovered that i can't do that anyway, so the most i can do is mark it for removal by a moderator

#

there's not really any need to archive this anyway

foggy lark
#

as for subtraction; did the card you use subtract levels from a hand?

stoic thistle
#

no subtracted level that I noticed

#

just -10 chips instead of +10

#

mult

foggy lark
#

did you hear a significantly-lower pitched version of the chip/mult noise?

stoic thistle
#

And I think in one case mult was subtraccted from a holographic (not foil) card

stoic thistle
foggy lark
#

that's intentional behaviour, aurinko applies the opposite of the edition's effect when the hand is leveled down

stoic thistle
#

but... why would a planet card level it down?

#

and I'm not 100% sure about the sound

#

In any ccase you were right about bunco causing weird behavior with this mod

foggy lark
stoic thistle
#

I just meant in my case I was testing a bunchof planet cards

#

just spawned a ton of Mega celestial packs and saw what happened when I used the editioned cards

foggy lark
#

well in any case you've told me you're using bunco, so i'm just going to say that this behaviour you're experiencing is just an incompatibility with bunco

stoic thistle
#

oh yeah, almost certainly

#

I just wntecd to test for myself before I wrote this mod off

foggy lark
#

i'm not going to fix it because clearly bunco is a mod that wants to be invasive

#

so complain to the mod creator if you really must

stoic thistle
#

(And this is why arhival matters, so I can link this conversation :P)

foggy lark
#

this really doesn't need to be archived. if you really want to archive it then just screenshot the conversation in the event this post does get deleted at a later date by a moderator

stoic thistle
#

Shrugs I don't really care that much, just a vastly different philosphy on these things I guess

blissful void
#

Looked into this bug because I wasn't keen on the way you dismissed it as a compat issue with another mod labelling it invasive. It's actually just an error on your end with how you calculate the chip and mult values of the hand. It will occur the next time you use a planet card after using the same card with an edition, without fail. The only incompat with bunco (which isn't really an issue) is that both mods do an edition poll on consumables in a pack, which leads to the funny jiggle and completely nullifies the scaling value you add as the game progresses. I would recommend to both mods to add a check to see if the card already has an edition before you poll it under creation to avoid this in the future.

normal pewter
#

Why did you consider bunco as invasive?

#

💀

foggy lark
#

[MOVED] Aurinko : Editioned Planets

sacred current
#

cool