Skip to content

Initial work on inner PDC support#8629

Open
ShaneBeee wants to merge 7 commits intoSkriptLang:feature/nested-pdcfrom
ShaneBeee:dev/inner_pdc
Open

Initial work on inner PDC support#8629
ShaneBeee wants to merge 7 commits intoSkriptLang:feature/nested-pdcfrom
ShaneBeee:dev/inner_pdc

Conversation

@ShaneBeee
Copy link
Copy Markdown
Contributor

Problem

Currently Skript's PDC support only supports setting specific types.
It does not allow for editing inner containers.

Solution

Added a section to allow editing inner containers.
This is greatly beneficial for organization.

Testing Completed

None... why? Cause I forgot. I will do those.

Supporting Information

Talked to Sovde on discord about this... I make base, he makes better. GO TEAM!


Completes: none
Related: none
AI assistance: none

@ShaneBeee ShaneBeee requested a review from a team as a code owner May 5, 2026 18:01
@ShaneBeee ShaneBeee requested review from APickledWalrus and Absolutionism and removed request for a team May 5, 2026 18:01
Comment on lines +67 to +68
// I know you're not supposed to be here, but where SHOULD you go?
EventValues.registerEventValue(EditContainerEvent.class, PersistentDataContainer.class, EditContainerEvent::getContainer);
Copy link
Copy Markdown
Contributor

@Absolutionism Absolutionism May 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could move this into the PDCModule, that way you can access the EventValueRegistry from the SkriptAddon
or just make a registerEV function here and pass along the EVR, up to you
As long as it uses the new EventValue registration

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to leave it as is right now, because Sovde wants to rework it to not rely on event values.
Sovde: "i'm probably going to rework it so it doesn't rely on event-values at all"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants