more mod metadata stuff

This commit is contained in:
Frakits
2025-07-25 15:24:44 +03:00
parent e46f11ff80
commit 07bc9f669b
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -21,6 +21,8 @@ class Flags {
// -- Codename's Mod Config --
public static var MOD_NAME:String = "";
public static var MOD_DESCRIPTION:String = "";
public static var MOD_AUTHOR:String = "";
public static var MOD_DESCRIPTION:String = "";
public static var MOD_API_VERSION:Int = 1;
public static var MOD_DOWNLOAD_LINK:String = "";
public static var MOD_DEPENDENCIES:Array<String> = [];
@@ -13,5 +13,8 @@ class CodenameBuildField extends TextField {
}
public function reload()
text = '${Flags.VERSION_MESSAGE}\n${Flags.COMMIT_MESSAGE}';
text = '${Flags.VERSION_MESSAGE}';
#if debug
text += '\n${Flags.COMMIT_MESSAGE}';
#end
}
+3 -1
View File
@@ -13,6 +13,8 @@ class ModConfigWarning extends UIState {
'[Common]
MOD_NAME="YOUR MOD NAME HERE"
MOD_DESCRIPTION="YOUR MOD DESCRIPTION HERE"
MOD_AUTHOR="YOU/YOUR TEAM HERE"
MOD_VERSION="YOUR MOD\'S VERSION HERE"
# DO NOT EDIT!! this is used to check for version compatibility!
MOD_API_VERSION=1
@@ -23,7 +25,7 @@ MOD_DOWNLOAD_LINK="YOUR MOD PAGE LINK HERE"
;MOD_ICON64="path/to/icon64.png"
;MOD_ICON32="path/to/icon32.png"
;MOD_ICON16="path/to/icon16.png"
;MOD_ICON="path/to/icon.ico"
MOD_ICON="path/to/icon.png"
[Flags]
DISABLE_WARNING_SCREEN=true
+1 -1
View File
@@ -18,7 +18,7 @@ class WarningState extends MusicBeatState {
disclaimer = new FunkinText(16, titleAlphabet.y + titleAlphabet.height + 10, FlxG.width - 32, "", 32);
disclaimer.alignment = CENTER;
disclaimer.text = "This is a warning state! Make a script .#/data/states/WarningState.hx# to edit this text! \n\n Note: you can use asterisks or hashtags to highlight your text in red or yellow, or you can just make your own markup using postCreate (you have to change the text in create() to apply the default markup)";
disclaimer.text = "This is a warning state! Make a script #./data/states/WarningState.hx# to edit this text! \n\n Note: you can use asterisks or hashtags to highlight your text in red or yellow, or you can just make your own markup using postCreate (you have to change the text in create() to apply the default markup)";
super.create();