Skip to content

Polyscript config#110

Merged
incomplete-tree merged 18 commits into
mainfrom
polyscript-config
Sep 8, 2025
Merged

Polyscript config#110
incomplete-tree merged 18 commits into
mainfrom
polyscript-config

Conversation

@incomplete-tree
Copy link
Copy Markdown
Contributor

1/2 of #107

@IExploitableMan
Copy link
Copy Markdown
Contributor

Uhh we dont use _ in private fields, cuz @johnklipi doesn't want to...

@incomplete-tree
Copy link
Copy Markdown
Contributor Author

Uhh we dont use _ in private fields, cuz @johnklipi doesn't want to...

oh bruh I will fix now

Comment thread resources/localization.json
Comment thread src/Managers/Config.cs Outdated
namespace PolyMod.Managers;

/// <summary>
/// allows mods to save config.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Capital letters consistency plz 🙏

Comment thread src/Managers/Config.cs Outdated
Comment thread src/PolyScriptMod.cs
Copy link
Copy Markdown
Contributor

@IExploitableMan IExploitableMan left a comment

Choose a reason for hiding this comment

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

ALSO UNDERSCORES!

Comment thread src/Managers/Config.cs Outdated
@IExploitableMan
Copy link
Copy Markdown
Contributor

I apologize for the stupid small fixes, I can fix it myself when I come home

@incomplete-tree
Copy link
Copy Markdown
Contributor Author

Added gld config as well

@incomplete-tree
Copy link
Copy Markdown
Contributor Author

Closes #107

Comment thread src/PolyScriptMod.cs Outdated
{
}
}
public abstract class PolyScriptMod<TConfig, TExposedConfig> : PolyScriptModBase where TConfig : class where TExposedConfig : class
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe just call it PolyScript? PolyScript is just a part of the mod.

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.

Great idea

Comment thread src/PolyScriptMod.cs Outdated
protected ManualLogSource Logger { get; private set; } = null!;
}

public abstract class PolyScriptMod : PolyScriptMod<JObject, JObject>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here, PolyScriptMod -> PolyScript

@johnklipi
Copy link
Copy Markdown
Contributor

@joukepouke @IExploitableMan aside what i commented, LGTM. Was everything properly tested?

@IExploitableMan
Copy link
Copy Markdown
Contributor

Capital letters in doc strings

@IExploitableMan IExploitableMan added the enhancement New feature or request label Sep 7, 2025
@incomplete-tree
Copy link
Copy Markdown
Contributor Author

@IExploitableMan shall i merge?

@incomplete-tree incomplete-tree merged commit 6c092b8 into main Sep 8, 2025
2 checks passed
@incomplete-tree incomplete-tree deleted the polyscript-config branch September 8, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants