Skip to content

Commit

Permalink
Merge pull request #1 from UndeadZeratul/main
Browse files Browse the repository at this point in the history
Minor Clean up, Refactor ZScript files, add debug logging to Spawn Handler
  • Loading branch information
UndeadZeratul authored Jun 9, 2023
2 parents 0017b62 + c356df6 commit d60b425
Show file tree
Hide file tree
Showing 68 changed files with 435 additions and 343 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release PK3s

on:
push:
tags:
- "v*.*.*"

jobs:
buildAndRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: build PK3
uses: montudor/action-zip@v1
with:
args: zip -r "hexadoken's-legacy-continued-${{ github.ref_name }}.pk3" . -i graphics/* patches/* sounds/* sprites/* zscript/* CVARINFO KEYCONF LANGUAGE LICENSE MAPINFO MENUDEF readme.md SNDINFO TEXTURES zscript.zsc
- name: Release PK3
uses: softprops/[email protected]
with:
generate_release_notes: true
discussion_category_name: 'Releases'
files: ./*.pk3
5 changes: 5 additions & 0 deletions cvarinfo → CVARINFO
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ server bool bas_persistent_spawning = false;
// Shotbossting
server bool hd_shitbossting_spawn = false;

// Dedicated Medical Scanner
server int dms_stimpack_bias = 49;
server int dms_medikit_bias = 19;
server bool dms_persistent_spawning = false;

// Speed Reloader
server int hdspeedrunloader_capacity = 30;
server int hdspeedrunloader_breakchance = 32;
3 changes: 2 additions & 1 deletion keyconf → KEYCONF
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
alias nsb_reset_cvars "resetcvar nsb_boss_spawn_bias; resetcvar nsb_persistent_spawning"
alias bog_reset_cvars "resetcvar bog_plasma_spawn_bias; resetcvar bog_ssg_spawn_bias; resetcvar bog_chaingun_spawn_bias; resetcvar bog_persistent_spawning"
alias dms_reset_cvars "resetcvar dms_stimpack_bias; resetcvar dms_medikit_bias; resetcvar dms_persistent_spawning"

alias Hexa_Reset_Cvars "nsb_reset_cvars; bog_reset_cvars"
alias Hexa_Reset_Cvars "nsb_reset_cvars; bog_reset_cvars; dms_reset_cvars"
17 changes: 15 additions & 2 deletions language → LANGUAGE
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ TAG_WORSTBOSS = "Boss Rifle But It's The Worst";
// Item Tags
TAG_50OMGCLIP = ".50 OMG clip";
TAG_7MMSPEEDLOADER = "7.76mm Speed-Reloader Prototype";
TAG_DMS = "Medical scanner";
TAG_DMS = "Medical Scanner";
TAG_GARANDCLIP = "M1 Garand clip";

// Menu Titles
TITLE_NSBMENU = "------ Scopeless Boss Rifle Options ------";
TITLE_BOGRIFLEMENU = "------ .50 OMG Boss Rifle Options ------";
TITLE_BOSSMERGMENU = "------ Bossmerg 12 gauge Shotgun Options ------";
TITLE_GARANDMENU = "------ M1 Garand Options ------";
TITLE_DMSMENU = "------ Medical Scanner Options ------";

// Scopeless Boss
MENU_NSBSPAWNTEXT = "Control the spawn rate of the No-Scope Boss on Boss Rifles";
Expand Down Expand Up @@ -55,12 +56,19 @@ MENU_GARANDRELOADERCAPACITYTEXT = "Control how much ammo the M1 Garand's reloade
MENU_GARANDRELOADERCAPACITY = "M1 Garand Reloader Capacity: ";
MENU_RESETGARANDRELOADERCAPACITY = "Reset Reloader Capacity";

// Medical Scanner
MENU_DMSSTIMPACK = "Control the spawn rate of the Medical Scanner on Stimpacks";
MENU_DMSMEDIKIT = "Control the spawn rate of the Medical Scanner on Medikits";
MENU_DMSSPAWNRATE = "Bossmerg Spawn Rate: ";

// Various Resets
MENU_RESETTB = "Reset Thunderbuster spawn options";
MENU_RESETSLAYER = "Reset Slayer spawn options";
MENU_RESETVULC = "Reset Vulcanette spawn options";
MENU_RESETHUNTER = "Reset Hunter spawn options";
MENU_RESETLIB = "Reset Liberator spawn options";
MENU_RESETSTIMPACK = "Reset Stimpack spawn options";
MENU_RESETMEDIKIT = "Reset Medikit spawn options";

// Persistency
MENU_REPLACEAFTERMAPLOAD = "Control whether replacements happen after a mapload.";
Expand All @@ -86,4 +94,9 @@ BAS_LORE4 = "If you get one, make sure it's the custom chamber version. These'll
GARAND_LORE1 = "An old M1 Garand from the early 1X40 times. Some have been recently rechambered to 7.76mm also.";
GARAND_LORE2 = "It mostly serves now as an inbetween of the Mk. IV Boss Rifle and the ZM7 Liberator.";
GARAND_LORE3 = "The original cartridge it was chambered for of .30-06 hits a hefty punch,";
GARAND_LORE4 = "though its rarity and incompatibility with other 7.76mm guns makes the 7.76mm version a bit more economical.";
GARAND_LORE4 = "though its rarity and incompatibility with other 7.76mm guns makes the 7.76mm version a bit more economical.";

DMS_LORE1 = "TODO: Enter Lore.";
DMS_LORE2 = "";
DMS_LORE3 = "";
DMS_LORE4 = "";
File renamed without changes.
34 changes: 34 additions & 0 deletions menudef → MENUDEF
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ OptionMenu HexadokenLegacyContinued
StaticText ""
Option "Spawn boss variants (TEMP)","hd_shitbossting_spawn","YesNo"
StaticText ""
Submenu "$TAG_DMS", "DMS", 0, 1
StaticText ""
StaticText "--- Reset Options ---", "Red"
StaticText ""
SafeCommand "Reset every option", "Hexa_Reset_Cvars", "This resets every option for Hexa's Legacy Continued, are you sure you want to do this?"
Expand Down Expand Up @@ -162,6 +164,38 @@ OptionMenu M1Garand
StaticText "$GARAND_LORE4", "white"
}

OptionMenu DMS
{
Title "$TITLE_DMSMENU"
StaticText "Notice:", "Orange"
StaticText "Setting 'spawn rate' to Replace All will suppress", "white"
StaticText "all spawns of that given type.", "white"
StaticText ""
StaticText "Spawn Options", "Orange"
StaticText "$MENU_DMSSTIMPACK", "white"
Option "$MENU_DMSSPAWNRATE", "dms_stimpack_bias", "SpawnBias"
SafeCommand "$MENU_RESETSTIMPACK", "resetcvar dms_stimpack_bias"
StaticText ""
StaticText "$MENU_DMSMEDIKIT", "white"
Option "$MENU_DMSSPAWNRATE", "dms_medikit_bias", "SpawnBias"
SafeCommand "$MENU_RESETMEDIKIT", "resetcvar dms_medikit_bias"
StaticText ""
StaticText "$MENU_REPLACEAFTERMAPLOAD", "white"
Option "$MENU_PERSISTENCY", "dms_persistent_spawning", "OnOff"
SafeCommand "$MENU_RESETPERSISTENCY", "resetcvar dms_persistent_spawning"
StaticText ""
StaticText ""
StaticText "Reset Options", "Orange"
SafeCommand "Reset all options", "dms_reset_cvars"
StaticText ""
StaticText "--- Lore ---", "Orange"
StaticText ""
StaticText "$DMS_LORE1", "white"
StaticText "$DMS_LORE2", "white"
StaticText "$DMS_LORE3", "white"
StaticText "$DMS_LORE4", "white"
}

// Spawn Bias (for items that do replace)
OptionValue "SpawnBias"
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit d60b425

Please sign in to comment.