Skip to content

Descriptions with loc_vars "main_end" containing UIBox in object node creates said UIBox independently of description box #3

@Oinite12

Description

@Oinite12

Lovely version: 0.0.9
Steamodded version: 1.0.0~BETA-1620a
Mod list: DebugPlus, PlayLog, mod that only adds the following Joker

Given the following Joker:

SMODS.Joker {
	key="poopshit",
	loc_vars = function (self, info_queue, card)
        return {main_end = {
            {n=G.UIT.ROOT, nodes={
                {n=G.UIT.R, config={minw=2,minh=1,colour=G.C.RED}, nodes={
                    {n=G.UIT.O, config={object=UIBox{
                        config={},
                        definition=
                        {n=G.UIT.ROOT, nodes={
                            {n=G.UIT.T, config={text="test 123", scale=1}}
                        }}
                    }}}
                }}
            }}
        }}
    end
}

which looks like the following:
Image

When the Joker appears in any context, the UIBox is automatically created independently of the description, regardless if the description is displayed (via hovering, etc.) or not. This does not occur if PlayLog is disabled.

Screencast_20260604_102004.0.40.1.-.0.51.1.mp4
Screencast_20260604_102240.mp4
Screencast_20260604_102615.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions