Skip to content

Conversation

@Starexify
Copy link
Contributor

Description

This PR removes the redundant Object and ScriptedObject classes from the base modding folder as there are no longer necessary in modding for initializing base classes.
Since ~0.7 polymod was updated to support initializing base classes without the need of using wrappers like ScriptedObject.

So instead of

class Test extends Object {
}

Mods can simply use these:

class Test {
}

@github-actions github-actions bot added status: pending triage Awaiting review. size: medium A medium pull request with 100 or fewer changes. pr: haxe PR modifies game code. labels Jan 13, 2026
@KoloInDaCrib
Copy link
Contributor

KoloInDaCrib commented Jan 13, 2026

honestly i see scenarios where the Object class and its scripted variant could be used, as the objects extending nothing in polymod tend to not work sometimes.

@Starexify Starexify force-pushed the remove-object branch 2 times, most recently from 853f283 to 312d229 Compare January 14, 2026 15:55
@Hundrec Hundrec added the type: chore Involves minor adjustments that do not make functional changes. label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. type: chore Involves minor adjustments that do not make functional changes.

Development

Successfully merging this pull request may close these issues.

3 participants