DefaultListMenu
{
	Position 97, 68
	Font "DBIGFONT", "White", "Cyan"
}

ListMenu "MainMenu"{

	StaticPatch 94, -5, "M_DOOM"
	
	TextItem "New Game", "s", "PlayerclassMenu"
	TextItem "SF+ Settings", "s", "SFPlusOptions"
	TextItem "More Options", "o", "OptionsMenu"
	TextItem "Quit", "q", "QuitMenu"
	Font "SMALLFNT", "White", "Cyan"
	StaticText 94, 200, "v1.8 - 04/11/2025"
}

ListMenu "EpisodeMenu"
{
	IfGame(Doom, Heretic, Hexen, Strife)
	{
		NetgameMessage "Disconnect first before starting a single player game."
	}

	IfGame(Doom, Chex)
	{
		Position 48, 63
		Font "DBIGFONT", "Gold"
		StaticText 54, 38, "Choose a Gamemode"
		
	}
	Font "DBIGFONT", "White", "Cyan"
	// items will be filled in by MAPINFO
}

ListMenu "SkillMenu"
{
	IfGame(Doom, Heretic, Hexen, Strife)
	{
		NetgameMessage "Disconnect first before starting a single player game."
	}

	IfGame(Doom, Chex)
	{
		Position 48, 63
		Font "DBIGFONT", "Gold"
		StaticText 54, 38, "Pick your Skill modifier"
		
	}
	Font "DBIGFONT", "White", "Cyan"
	// items will be filled in by MAPINFO
}

OptionMenu "SFPlusOptions"{

	Title "Shotgun Frenzy Plus Settings"
	SubMenu "Game Options", "SFPlus_GameOptions"
	SubMenu "Mod Hotkeys", "SFPlus_ItemHotkeys"
	SubMenu "User Options", "SFPlus_UserOptions"
	SubMenu "Champion Options", "SFPlus_ChampionBanlist"
	SubMenu "Price Edit", "SFPlus_PriceEdit"
	StaticText ""
	Option "Announcer",			"cl_announcer", "ZA_Announcers" // [TP]
	StaticText ""
	Command "To the Testing Map!", "map TEST"
}

OptionMenu SFPlus_GameOptions{
	Title "Game Options"
	StaticText "*) Requires a map restart to take effect",1
	StaticText "0 means use the map default varable.", 1
	StaticText ""
	StaticText "General Settings", 1
	StaticText ""
	Slider "Game Length (Mins) *", "sf_gamelength", 0, 30, 10, 0
	Slider "Guardian Time Length (Mins) *", "sf_guardianlength", 0, 3, 2, 0
	Slider "Starting Player Cash *", "sf_startcash", 0, 20000, 500, 0
	Slider "Starting Team Cash *", "sf_teamcash", 0, 20000, 500, 0
	Option "Do you like cacos? *", "sf_cacodemons", "CacoBoolean"
	Option "Adaptive Spawning *", "sf_adaptivespawn", "MapBoolean"
	Slider "Door Hold-Time Seconds", "sf_doorholdtime", 15, 45, 1, 0
	NumberField "Monster Cap *", "sfp_maxmonsters", 0, 500, 50, 0
	StaticText ""
	StaticText "Game Rules", 1 
	StaticText ""
	NumberField "Re-Capture Minimal *", "sfp_recapmin", 0, 10, 1, 0
	Slider "Credit Correction", "sf_creditcorrection", -20, 20, 1, 0
	Option "No drop on starting credits", "sfp_dropcredits_nostartcredits", "Boolean", "sfp_allowdropcredits"
	Option "Allow AutoSave Items *", "sfp_autosaveitems", "Boolean"
	Option "Damage per Experience", "sfp_damageperexp", "Boolean"
	Option "Hub after game", "sfp_hubaftergame", "Boolean"
	TextField "Monster set", "sfp_monstersetname", "cv_false"
	StaticText ""
	StaticText "Cheaty Game rules", 1 
	StaticText ""
	Option "Instant Deploying", "sfp_instantdeploying", "Boolean"
	Option "All techs and researches", "sfp_alltechs", "Boolean"
	Option "All stimpack upgrades", "sfp_allstimups", "Boolean"
	Option "All mech upgrades", "sfp_allmechups", "Boolean"
	Option "All player upgrades", "sfp_allplayups", "Boolean"
	StaticText ""
	StaticText "Balancing Settings", 1 
	StaticText ""
	Slider "Player's Extra DMG %", "sfp_playerdmgmult", 0.0, 200.0, 5.0, 0
	Slider "Monster's Extra HP % *", "sfp_monsterhpmult", 0.0, 200.0, 5.0, 0
	Slider "Monster's Extra HP over Lv20", "sfp_monsolv20hpmult", 0.0, 200.0, 5.0, 0
	Option "Allow Credit Drop", "sfp_allowdropcredits", "Boolean"
	NumberField "Credit Drop Delay", "sfp_dropcredits_delay", 3, 10, 1, "sfp_allowdropcredits"
	StaticText ""
	StaticText "Survival Defender Settings", 1 
	StaticText ""
	NumberField "Wave Credit Reward *", "sfp_sd_wavereward", 0, 10000, 1000, 0
	NumberField "Wave Credit Increase *", "sfp_sd_waveincrease", 0, 5000, 100, 0
	NumberField "Low Personnel Credit Bonus *", "sfp_sd_lowplayerbonus", 0, 5000, 100, 0
	NumberField "Core Protection UPs *", "sfp_sd_coreprotection", 0, 5, 1, 0
	StaticText ""
	SubMenu "About Game Options", "SFPlusGameOptionHelp"
	SafeCommand "Reset Game Options", "sfp_resetGameOptions"
}

OptionMenu SFPlus_ItemHotkeys{
	Title "Item Hotkeys"
	StaticText "Samu encourages to use the hotkeys. They're good stuff.",1
	StaticText "Customize your hot keys and items here.",1
	StaticText ""
	Control "Soulsphere", "usesoulsphere"
	Control "Megasphere", "usemegasphere"
	Control "Godsphere", "usegodsphere"
	Control "Quad Damage", "useberserk2"
	Control "Ammosphere", "usebackpack"
	Control "Hell Trigger", "usehelltrigger"
	Control "Stimpack", "usestimpack"
	Control "Hand Grenade", "usegrenade"
	Control "Melee", "+usemelee"
	StaticText ""
	StaticTextSwitchable "Backspace -> Clear, Enter -> Bind a key", "Press a key. (ESC to cancel)", "ControlMessage", 1
	//SafeCommand "Clear Hotkeys", "sfp_fuckMyBinds"
}

OptionMenu SFPlus_UserOptions{
	Title "User Options"
	StaticText "Not needed at all, but hey, you should take a look.", 1
	StaticText ""
	Option "Enable Auto-Healing?", "sfp_Autouse", "Boolean"
	NumberField "Stimpack Low HP %",   "sfp_stimpack_t" , 5, 75, 5, "sfp_Autouse"
	NumberField "Soulsphere Low HP %", "sfp_soulsphere_t" , 5, 75, 5, "sfp_Autouse"
	NumberField "Megasphere Low HP %", "sfp_megasphere_t" , 5, 75, 5, "sfp_Autouse"
	Option "Hear Hitmark sound?", "sfp_hitmarksnd", "Boolean"
	Option "Display earnings?", "sfp_earningdisp", "EarningDispOptions"
	Option "Welcome MSG?", "sfp_welcome", "Boolean"
	Option "Mech Mount MSG?", "sfp_mechmsg", "Boolean"
	Option "Play old soundtrack?", "sfp_oldsoundtrack", "NostalgiaBoolean"
	StaticText ""	
	StaticText "Show/Hide Particles?", 1
	StaticText ""
	Option "Blood splats", "sfp_part_gore", "ShowHideBoolean"
	Option "Light bars", "sfp_part_lightbars", "ShowHideBoolean"
	Option "Money splash", "sfp_part_moneysplash", "ShowHideBoolean"
	Option "Blur", "sfp_part_blur", "ShowHideBoolean"
	Option "Casings", "sfp_part_casings", "ShowHideBoolean"
	Option "Smoke", "sfp_part_smoke", "ShowHideBoolean"
	Option "Junk", "sfp_part_junk", "ShowHideBoolean"
	Option "Sparks", "sfp_part_sparks", "ShowHideBoolean"
	StaticText ""
	StaticText "Kill-streak HUD settings", 1
	StaticText ""
	Option "Enable hud?", "sfp_killstreakhud", "KillStreakHudpOptions"
	Slider "Transparency", "sfp_killstreakhud_alpha" , 0.0, 100.0, 1.0, 0
	Option "Milestone Color", "sfp_killstreakhud_color1", "Color"
	Option "Hiscore Color", "sfp_killstreakhud_color2", "Color"
	Option "Overflow Color", "sfp_killstreakhud_color3", "Color"
	Option "Shutdown Color", "sfp_killstreakhud_color4", "Color"
	StaticText ""
	StaticText "Item HUD settings", 1
	StaticText ""
	Slider "X Position", "sfp_itemhud_x" , 0.0, 100.0, 50.0, 0
	Slider "Y Position", "sfp_itemhud_y" , 0.0, 100.0, 75.0, 0
	Slider "Items per Rows", "sfp_itemhud_items_per_row" , 1, 16, 16, 0
	Slider "Alpha", "sfp_itemhud_alpha" , 0.0, 100.0, 1.0, 0
	Option "Orientation", "sfp_itemhud_orientation", "ItemHud_Orientation"
	StaticText ""
	StaticText "Stock reminder settings", 1
	StaticText ""
	Option "Show Stock Reminders", "sfp_stockreminder", "ShowHideBoolean"
	Option "Tech Upgrades", "sfp_sr_techs", "ShowHideBoolean"
	Option "Play Upgrades", "sfp_sr_playups", "ShowHideBoolean"
	Option "Mech Upgrades", "sfp_sr_mechups", "ShowHideBoolean"
	Option "Stim Upgrades", "sfp_sr_stimups", "ShowHideBoolean"
	StaticText ""
	StaticText "Building Status settings", 1
	StaticText ""
	Option "Show Status", "sfp_buildstats", "ShowHideBoolean"
	Slider "Render Distance", "sfp_buildstats_renderdistance" , 128.0, 2048.0, 64.0, 0
	Slider "Alpha", "sfp_buildstats_alpha" , 0.0, 100.0, 1.0, 0
	StaticText ""
	SubMenu "About User Options", "SFPlusUserOptionHelp"
	SafeCommand "Reset User Options", "sfp_resetUserOptions"
}

OptionMenu SFPlus_ChampionBanlist{
	Title "Champion Settings"
	StaticText "Requires a map restart before taking effect"
	StaticText ""
	StaticText "Settings", 1
	StaticText ""
	Option "Enable Champions",  "sfp_champ_enable", "Boolean"
	Slider "Champion Spawn Chance", "sf_percentfast", 0, 50, 5, 0
	Option "On Banned Champion", 		"sfp_champ_onbanned", 	"OnBanBoolean", "sfp_champ_enable"
	Option "Force Champion Spawn", 		"sfp_champ_forcespawn", "Boolean", 		"sfp_champ_enable"
	StaticText ""
	StaticText "Champion Banlist", 1
	StaticText ""
	Option "Meaty", 		"sfp_champ_1", 		"BanBoolean", "sfp_champ_enable"
	Option "Quick", 		"sfp_champ_2", 		"BanBoolean", "sfp_champ_enable"
	Option "Strong", 		"sfp_champ_3", 		"BanBoolean", "sfp_champ_enable"
	Option "Stealth", 		"sfp_champ_4", 		"BanBoolean", "sfp_champ_enable"
	Option "Poison", 		"sfp_champ_5", 		"BanBoolean", "sfp_champ_enable"
	Option "Explosive", 	"sfp_champ_6", 		"BanBoolean", "sfp_champ_enable"
	Option "Golden", 		"sfp_champ_7", 		"BanBoolean", "sfp_champ_enable"
	Option "Split", 		"sfp_champ_8", 		"BanBoolean", "sfp_champ_enable"
	Option "Teleport", 		"sfp_champ_9", 		"BanBoolean", "sfp_champ_enable"
	Option "Healing", 		"sfp_champ_10", 	"BanBoolean", "sfp_champ_enable"
	Option "Pusher", 		"sfp_champ_11", 	"BanBoolean", "sfp_champ_enable"
	Option "Puller", 		"sfp_champ_12", 	"BanBoolean", "sfp_champ_enable"
	Option "Hybrid", 		"sfp_champ_13", 	"BanBoolean", "sfp_champ_enable"
	Option "Emperor", 		"sfp_champ_14", 	"BanBoolean", "sfp_champ_enable"
	Option "Zombie", 		"sfp_champ_15", 	"BanBoolean", "sfp_champ_enable"
	Option "Prideful", 		"sfp_champ_16", 	"BanBoolean", "sfp_champ_enable"
	StaticText ""
	SubMenu "About Champions", "SFPlusChampionsAbout"
}

OptionValue "ItemHud_Orientation"
{
	0, "Horizontal"
	1, "Vertical"
}

OptionValue "Color"
{
	0, "\caBrick"
	1, "\cbTan"
	2, "\ccGray"
	3, "\cdGreen"
	4, "\ceBrown"
	5, "\cfGold"
	6, "\cgRed"
	7, "\chBlue"
	8, "\ciOrange"
	9, "\cjWhite"
	10, "\ckYellow"
	12, "\cmBlack"
	13, "\cnLight Blue"
	14, "\coCream"
	15, "\cpOlive"
	16, "\cqDark Green"
	17, "\crDark Red"
	18, "\csDark Brown"
	19, "\ctPurple"
	20, "\cuDark Gray"
	21, "\cvCyan"
}

OptionValue "ShowHideBoolean"
{
	0, "Hide"
	1, "Show"
}


OptionValue "NostalgiaBoolean"
{
	0, "Nah, thanks."
	1, "Yes, please."
}

OptionValue "Boolean"
{
	0, "No"
	1, "Yes"
}

OptionValue "KillStreakHudpOptions"
{
	2, "Yes, milestones and hi-score"
	1, "Yes, but only milestones"
	0, "No"
}

OptionValue "EarningDispOptions"
{
	3, "Yes, all earnings"
	2, "Just the most importants"
	1, "Just my earnings"
	0, "No, im okay"
}

OptionValue "MapBoolean"
{
	-1, "No"
	0, "Depending on the map"
	1, "Yes"
}

OptionValue "CacoBoolean"
{
	-1, "No thanks"
	0, "Depending on the map"
	1, "Ye we like cacos!"
}

OptionValue "BanBoolean"
{
	1, "Banned"
	0, "Allowed"
}

OptionValue "OnBanBoolean"
{
	1, "Reroll to a valid Champion"
	0, "Spawn a normal monster"
}