Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
8707d51
refactor: Move star_sprites ds_map to global scope (#818)
EttyKitty May 13, 2025
d779986
feat: Consecrators chapter + ancient armoury trait (#815)
VanWeapon May 13, 2025
b7660f8
refactor: eCHAPTER_TYPE enum and str slider fix (#819)
EttyKitty May 13, 2025
a76b092
refactor: obj_controller and ui_manage temp array stuff (#817)
EttyKitty May 13, 2025
b6ca02d
ci: Debug the old release deletion again (#820)
EttyKitty May 14, 2025
28c77d9
fix: Saveload screen fixed (#821)
VanWeapon May 16, 2025
b56b759
fix: Extra ships not applying to custom chaps (#822)
VanWeapon May 16, 2025
9191467
docs: Update CODE_STYLE.md (#823)
EttyKitty May 16, 2025
460d37d
ci: increase Ork ship spawn by about 25% (#824)
OH296 May 19, 2025
965ef34
fix: Send techs to mars mission fix (#825)
OH296 May 19, 2025
f967e5b
style: Format scr_chapter_random, argument name change (#826)
EttyKitty May 21, 2025
e274100
fix: Stop zooming in ground combat (#830)
VanWeapon May 21, 2025
0cefa05
fix: Bandaid fix for purge screen zoom bug (#831)
VanWeapon May 21, 2025
f04b5aa
fix: Extra ship missing var crash (#828)
VanWeapon May 21, 2025
4d12cf0
fix: Remove save and delete buttons on autosave slot (#829)
VanWeapon May 21, 2025
f282076
refactor: And fix some minor stuff in scr_chapter_random (#827)
EttyKitty May 21, 2025
a5a9bb0
style: Format obj_ground_mission alarm_6 (#832)
EttyKitty May 21, 2025
59ab7d8
style: Format ground_mission alarm_0 (#833)
EttyKitty May 21, 2025
7966e0d
style: Format scr_return_ship (#835)
EttyKitty May 21, 2025
cf7ff18
ci: Update workflow action versions (#837)
EttyKitty May 21, 2025
08e1971
feat: STC retrieval refactors and edits (#834)
EttyKitty May 25, 2025
a71cee2
fix: Fleet_Select create index array error (#840)
OH296 May 25, 2025
1620056
fix: Various waaagh related issues (#839)
OH296 May 25, 2025
0d5024d
ci: Bump igor-setup version (#841)
EttyKitty May 27, 2025
c5f946c
build: Bump IDE version to latest beta (#842)
EttyKitty May 28, 2025
baaf5ca
fix: Enemy damage dealing code (#843)
EttyKitty May 29, 2025
1bd2bc2
style: Format scr_ui_settings (#847)
EttyKitty May 30, 2025
4a14f6c
fix: Chapter strength values for pre-made chapters (#844)
EttyKitty May 30, 2025
5a685f5
chore: Reorgonize sound assets (#845)
EttyKitty May 30, 2025
c03eafc
fix: Disable the "Restart" save button (#846)
EttyKitty May 30, 2025
1bbd025
fix: Type change for custom formations and tooltips (#849)
EttyKitty May 30, 2025
30726bb
fix: Crusade crash (audience variable init) (#850)
EttyKitty May 30, 2025
fb66302
fix: scr_turn_first crash (#852)
EttyKitty May 30, 2025
f5a3368
fix: Fallen trait improvement and loyalty changes (#851)
OH296 Jun 1, 2025
45783e1
refactor: A lot of array_create stuff and scr_turn_first refactor (#853)
EttyKitty Jun 2, 2025
34147e6
refactor: Vehicle size map to struct (#855)
EttyKitty Jun 2, 2025
14d9eca
fix: Various issues caused by missing autosave file (#857)
VanWeapon Jun 2, 2025
0e2a1bb
fix: Fort targeting (#854)
EttyKitty Jun 2, 2025
d47170c
feat: Alpha style bits (#836)
OH296 Jun 2, 2025
9e37ef4
fix: Array creation casing duplicate constructs (#859)
OH296 Jun 4, 2025
01c9f73
fix: Inquisition missions now check planet is valid (#860)
OH296 Jun 4, 2025
203c0b3
refactor: Optimize array_create_advanced (#861)
EttyKitty Jun 5, 2025
d045d0e
fix: ensure cargo_data variable is saved and loaded (#863)
OH296 Jun 6, 2025
19c8bbe
chore: Bump IDE version to 815 (#865)
VanWeapon Jun 7, 2025
ac5de6c
fix: Dead planet ownership defaulting to orks (#864)
VanWeapon Jun 7, 2025
cfedb4f
feat: Adding event logs to alerts (#866)
Frost-bit-jpg Jun 7, 2025
562e619
fix: HK Missile stats and vehicle tag (#867)
EttyKitty Jun 7, 2025
e6b7238
feat: EXP reward cap per unit (#868)
EttyKitty Jun 8, 2025
746f90c
fix: Needed an if instead of an and colonist spawning (#870)
OH296 Jun 9, 2025
0196c4d
fix: make tags variable array in beast hunt check (#869)
OH296 Jun 9, 2025
d7030ea
feat: Added dreads to file loading extra specialists (#871)
VanWeapon Jun 10, 2025
33af3e6
feat: Couple of new armour texture options (#872)
OH296 Jun 12, 2025
24617da
fix: Game over on mercenary death (#873)
OH296 Jun 13, 2025
c53e47f
refactor: Move data slats to own script (#874)
OH296 Jun 13, 2025
125e8bb
refactor: Improve data slate use and other ui (#875)
OH296 Jun 15, 2025
1058fc7
fix: typo add_corruption used instead of unit specific edit_corruptio…
OH296 Jun 15, 2025
4475ee6
feat: New Volkite and Bolt weapons HH era (#878)
Werwolf-12 Jun 16, 2025
447925c
fix: Layering issue making unit buttons not work (#880)
OH296 Jun 17, 2025
8b72037
fix: Add Crozius Arcanum to stockpile of Sieged chapters (#884)
CptMacTavish2224 Jun 20, 2025
724827b
ci: Enable old dev release deletion (#885)
EttyKitty Jun 20, 2025
fc670b8
fix: Remove STC from the planet after sending it to Admech (#886)
EttyKitty Jun 20, 2025
54c6b8e
ci: Update pull_request_template (#887)
EttyKitty Jun 21, 2025
39f6e2a
feat: Debug shop (#888)
MCPO-Spartan-117 Jun 22, 2025
9f937ad
feat: More 30k stuff, fixes, and debug shop (#882)
Werwolf-12 Jun 22, 2025
564390b
feat: Selling items from the armamentarium (#660)
EttyKitty Jun 22, 2025
9a8c915
fix: Misaligned artifact data in librarium (#891)
VanWeapon Jun 23, 2025
15d3ba4
fix: Add stockpiled Servo-arms for Sieged chapters (#893)
Blogaugis Jun 23, 2025
2d528bb
fix: Cap Small Reclusiam disadv chaplains at 1 (#892)
Blogaugis Jun 24, 2025
5aadc2f
feat: Cataphractii armour added and improve modding (#895)
OH296 Jun 29, 2025
6de1e64
feat: More 30k weapons, ruins loot and minor fixes (#894)
Werwolf-12 Jun 29, 2025
42cbca2
fix: Make auto compiles work (#896)
OH296 Jun 30, 2025
f9c6837
refactor: Diplomacy and trade codebase (#858)
OH296 Jun 30, 2025
37437d0
feat: Screamer Pink colour (#898)
EttyKitty Jun 30, 2025
7b852d5
fix: Cataphractii armour issues and modding weapons fix (#899)
OH296 Jun 30, 2025
d6692fa
fix: GC timer reversion (#900)
OH296 Jun 30, 2025
2184f63
fix: The return of the Storm Shield (#901)
EttyKitty Jul 1, 2025
c920715
fix: Cataphractii and 30k weapons debuggable (#902)
Werwolf-12 Jul 1, 2025
687f982
feat: Allow adding offsets to sprites when modding (#903)
OH296 Jul 1, 2025
22c826b
fix: Trading mercenaries (#904)
OH296 Jul 3, 2025
f2762a5
fix: Solve a few introduced diplomacy bugs (#905)
OH296 Jul 9, 2025
7e56782
fix: Hiding banner in manage (#906)
OH296 Jul 9, 2025
20e4652
fix: Revert garbage collector delay (#907)
EttyKitty Jul 11, 2025
4e55878
chore: gitnore gc (#908)
OH296 Jul 11, 2025
a98a498
feat: Force Sword sprite by [DARK] Jeffro (#909)
CassieCaster Jul 11, 2025
a683401
fix: make "Demand" diplomacy actions work inquisition (#910)
OH296 Jul 11, 2025
c99ee0e
fix: use correct font size on promote tabs (#912)
OH296 Jul 12, 2025
538f400
fix: Home world treated as player owned for garrison and recruit (#911)
OH296 Jul 12, 2025
42fb3de
fix: Call warboss from out of system if no available spawn planet (#…
OH296 Jul 12, 2025
31bf157
fix: Cata fixes and Serpha V jump pack. (#915)
Werwolf-12 Jul 12, 2025
2ca39eb
fix: Serpha unstaged files (#916)
Werwolf-12 Jul 12, 2025
994c8d6
ci: Maybe setup discord release notifications (#917)
EttyKitty Jul 12, 2025
f091015
fix: Scout right pauldron will recolour properly (#918)
Werwolf-12 Jul 13, 2025
5055f49
ci: Attempting to repair the release notification (#919)
EttyKitty Jul 13, 2025
a274b26
ci: Maybe published trigger will work (#920)
EttyKitty Jul 13, 2025
0a0b86b
ci: Here we go again (#921)
EttyKitty Jul 14, 2025
b81ecdd
ci: Attempt 99 at fixing release notifications (#922)
EttyKitty Jul 14, 2025
6f4da27
fix: gc system checking and better font setting (#923)
OH296 Jul 15, 2025
9b17719
feat: Overhaul event system (#924)
OH296 Jul 15, 2025
4dba827
feat: Heresy Descriptions Update (#925)
CptMacTavish2224 Jul 15, 2025
3e0fea2
feat: Stop and start random event cheats (#926)
OH296 Jul 15, 2025
15dbd59
fix: send tech marines to mars mission (#927)
OH296 Jul 16, 2025
2db4ff4
fix: Chapter management crash (#928)
EttyKitty Jul 17, 2025
3efd776
chore: unneeded battle_roster script deleted (#930)
OH296 Jul 18, 2025
805a7ad
fix: Event eid check comparing string to int (#929)
OH296 Jul 18, 2025
4563588
chore: Phase out use of ini.loc (#931)
OH296 Jul 18, 2025
3c9c14c
fix: scope issue with factions declaring war on player (#932)
OH296 Jul 18, 2025
8132222
fix: typo causing crash on purge (#933)
OH296 Jul 18, 2025
3a263f6
feat: Finish Protect from raiders Governor mission (#738)
OH296 Jul 19, 2025
bf81eac
fix: better use of controllable static and disallow empty key (#934)
OH296 Jul 19, 2025
f116c3c
feat: Don't destroy equipment with perils (#936)
EttyKitty Jul 19, 2025
b037d01
fix: central method for clearing popup options (#935)
OH296 Jul 19, 2025
9ce1a20
fix: resolve crash from cancelling garrisons (#937)
OH296 Jul 20, 2025
ee2c3c5
fix: Oblitereated fleet numbers (by @CptMacTavish2224) (#940)
EttyKitty Jul 21, 2025
0c733e0
fix: Add missing weapons to the default role equip pool (#942)
Frost-bit-jpg Jul 23, 2025
4f6bca9
feat: Refactor and improve all obj_popup visuals and logics (#943)
OH296 Jul 23, 2025
ade45c5
fix: add webber to armamentarium list (#944)
Blogaugis Jul 25, 2025
f4ffbcb
feat: Create tagging system for marines and Fix Transfer crash (#945)
OH296 Jul 25, 2025
0bd2fcb
fix: Buying two ships crash (#946)
OH296 Jul 26, 2025
06c1ed1
fix: Livery picker crash (#947)
OH296 Jul 26, 2025
020dbe8
fix: hq now tab only shows hq units (#949)
OH296 Jul 26, 2025
3e29fd9
fix: crash from non-equip-able artefacts (#951)
OH296 Jul 29, 2025
b3f2336
fix: Generally fix some shit (#950)
OH296 Aug 1, 2025
3cf6e91
fix: Description Errors (#953)
Blogaugis Aug 1, 2025
c685f73
fix: Combat log "no damage" text (#952)
Blogaugis Aug 1, 2025
fee03d1
fix: finish repairs and rebuild of equip_screen (#954)
OH296 Aug 1, 2025
ea2674c
fix: Mouse deadspot kills popups (#955)
OH296 Aug 2, 2025
94be585
ci: release_stable workflow fixing (#956)
EttyKitty Aug 2, 2025
75edcaf
ci: More fixing to the stable-release workflow (#957)
EttyKitty Aug 2, 2025
3875721
fix: Allow transfer option (#958)
OH296 Aug 2, 2025
4e05e09
fix: Alter evaluation order alarm3 obj_star (#959)
OH296 Aug 3, 2025
5bb6b24
feat: Make some adjustments for Contemptor dread implementations (#960)
OH296 Aug 3, 2025
396ed59
fix: crash and handling for artefacts menu (#962)
OH296 Aug 4, 2025
858eef3
fix: trading with fleet based chapters (#961)
OH296 Aug 4, 2025
691c526
fix: marine profiles not showing in squad view (#964)
OH296 Aug 4, 2025
4204a85
fix: stop dreadnought armour from being removed (#963)
OH296 Aug 4, 2025
ce48b38
fix: Crash entering manage area (#965)
OH296 Aug 4, 2025
f9efdcf
docs: Add contributor avatar list to README (#967)
EttyKitty Aug 13, 2025
4b24c3d
docs: Update the 1d6ch wiki link (#968)
EttyKitty Aug 13, 2025
46722b6
fix: Disappearing player fleets after clearing ruins (#969)
OH296 Aug 14, 2025
26d5414
fix: Switching to manage views from popup causing crash (#971)
OH296 Aug 16, 2025
2969a16
feat: Contemptor dreadnought by werwolf (#966)
OH296 Aug 16, 2025
beaf8e9
fix: various trading issues (#970)
OH296 Aug 16, 2025
d2de798
fix: Ruins reward compile error (#973)
OH296 Aug 16, 2025
2826d1d
fix: error with enum name (#974)
OH296 Aug 16, 2025
ff0440e
fix: Split equipment and livery in creation screens (#972)
OH296 Aug 16, 2025
5af26f3
fix: various issues from new creation screen works (#975)
OH296 Aug 17, 2025
2d2af10
fix: revert work from ships that got into main by accident (#977)
OH296 Aug 18, 2025
9244574
fix: missing draw logic for end turn combat (#978)
OH296 Aug 19, 2025
23c930c
fix: miscellany crashes (#979)
OH296 Aug 19, 2025
32da776
feat: Consistent colour and custom Chapter Master livery (#976)
OH296 Aug 19, 2025
00ec0bd
fix: allow starting as a custom chapter (#980)
OH296 Aug 20, 2025
0eeeca7
fix: Hide sell button when uneeded (#981)
OH296 Aug 20, 2025
8546127
fix: attempt to solve armour re-equip issue (#983)
OH296 Aug 21, 2025
83d3660
fix: alignment on unit stats and make drawing OOP (#982)
OH296 Aug 21, 2025
17f1c9d
fix: Shop draw alpha adjustments (#984)
OH296 Aug 21, 2025
a8ba9ec
feat: hazard stripe fix and adding of more armor textures (#985)
CassieCaster Aug 23, 2025
0d5381b
fix: A bundle of fixes in no particular order (#986)
OH296 Aug 23, 2025
c4abc2b
fix: Faulty star with ownership checks (#988)
OH296 Aug 25, 2025
181790a
fix: safety features in init custom (#989)
OH296 Aug 25, 2025
26dda1e
fix: Missing comma (#990)
OH296 Aug 25, 2025
f270cad
fix: Fixing code rabbit ai fuck ups (#991)
OH296 Aug 25, 2025
31b380a
fix: Probable Garbage collection fix (#992)
OH296 Aug 26, 2025
6969e6e
fix: Better handling of star obj activation/deactivation (#993)
OH296 Aug 27, 2025
0ba628b
fix: Add safe-guards for scr_orbiting_player_fleet function (#994)
OH296 Aug 28, 2025
f2c709e
fix: Typo (#996)
OH296 Aug 30, 2025
b100a44
fix: Transferring Vehicles (#997)
OH296 Aug 31, 2025
33922ee
fix: Many more improvements to creation screens (#995)
OH296 Sep 4, 2025
d7087ee
feat: Mod-able culture styles (#1000)
OH296 Sep 4, 2025
e121f8f
docs: Update CODE_STYLE.md (#998)
EttyKitty Sep 4, 2025
3adf374
fix: Proper dreadnought role setting (#1001)
OH296 Sep 4, 2025
9cde37e
fix: Safe-guard radio button initialisation (#1006)
OH296 Sep 6, 2025
371bc3b
fix: Patch artefact array crash (#1005)
OH296 Sep 6, 2025
e6d0870
fix: Manage button on planet select screen (#1007)
OH296 Sep 7, 2025
bd7b099
fix: clamp planet enemy values for planet ownership (#1008)
OH296 Sep 7, 2025
36f009e
fix: Unset value causing equip crash (#1009)
OH296 Sep 7, 2025
f317545
feat: Start making dialogue data driven and moddable (#999)
OH296 Sep 7, 2025
e4f3aae
style: Format scr_buttons.gml (#1010)
EttyKitty Sep 9, 2025
db6525c
feat: Marine tech affects maintenance and other balances (#1011)
OH296 Sep 9, 2025
55773f0
fix: highlight and shadow and multi-part weapons (#1004)
OH296 Sep 16, 2025
a3e7889
fix: Shader fix (#1013)
OH296 Sep 16, 2025
553a0c9
fix: mk2 shader fix (#1014)
OH296 Sep 16, 2025
e10cecc
feat: Completely overhaul obj_popup (#1015)
OH296 Sep 19, 2025
91247b6
fix: crash when chaos warbands unload (#1016)
OH296 Sep 20, 2025
8af7498
ci: Add a stability warning to dev build notifications (#1018)
EttyKitty Sep 22, 2025
ccbb087
ci: Fix the auto-build commit type exclude check (#1019)
EttyKitty Sep 23, 2025
13610f2
fix: Multiple small errors fixed (#1017)
wfelipeagudelo Sep 23, 2025
ab206de
fix: Standard variable naming in shader randomly fixes array error (…
OH296 Sep 24, 2025
00b3150
ci: Adjust dev build disclaimer format (#1022)
EttyKitty Sep 24, 2025
9f5440e
fix: Minor improvements to logic and code cleanup (#1023)
wfelipeagudelo Sep 26, 2025
c66e75c
feat: flip functionality and arm shadows (#1021)
OH296 Sep 26, 2025
6fd928d
fix: Garrisoning crash (#1024)
OH296 Sep 26, 2025
7681e81
fix: Attempt to patch name generator issues (#1025)
OH296 Sep 26, 2025
6edccf6
fix: planet hover crash (#1026)
OH296 Sep 27, 2025
1defa19
fix: refactor of scr_en_weapon.gml to switch cases (#1028)
wfelipeagudelo Sep 29, 2025
6afcebc
feat: Popup rebuild mk2 (#1027)
OH296 Sep 30, 2025
a5e48dc
feat: Popup continued rebuild misc (#1029)
OH296 Oct 1, 2025
ba7b798
fix: Check for "system" key (#1030)
OH296 Oct 1, 2025
bfaa70b
fix: artefact collect triggers (#1031)
OH296 Oct 1, 2025
870ef65
feat: Tartaros armour main body shadows (#1032)
OH296 Oct 2, 2025
e4f54d7
feat: Most of Tartaros shadow packets (#1033)
OH296 Oct 3, 2025
5b9185b
fix: Mission bug fixing and popup rebuild part 3 (#1035)
OH296 Oct 18, 2025
62e9b7d
fix: Safe guards to colours array (#1036)
OH296 Oct 19, 2025
18cf5f2
feat: Basic UUID getter and setter for marines (#1037)
OH296 Oct 24, 2025
5470e3a
feat: Restore post battle recovery of equipment (#1038)
OH296 Oct 27, 2025
2aa6294
fix: fix UUID creation issue by chief (#1039)
OH296 Oct 29, 2025
b6ec9c3
fix: Necron tomb battle crash partial (#1040)
OH296 Oct 30, 2025
2b6d3fb
fix: Mass equip error with no armour (#1041)
OH296 Oct 30, 2025
36a7743
fix: missing indexing on valid diplo check (#1044)
OH296 Oct 30, 2025
f28b86b
fix: Remove use of legacy slower struct copy functions (#1042)
OH296 Oct 30, 2025
39a83ff
fix: missing variable "enemy" protect raiders (#1043)
OH296 Oct 30, 2025
b4583ff
fix: Artifact retrieval on dead worlds (#1045)
OH296 Oct 30, 2025
1c79879
fix: Wrong enum name in scr_flavor (#1046)
OH296 Oct 30, 2025
4bb5a4f
fix: Ship carry size (#1048)
swang300 Nov 5, 2025
97513f9
fix: Jailing sarge fix and other manage code improvements (#1049)
OH296 Nov 5, 2025
1860c28
fix: more efficient marine struct movement (#1050)
OH296 Nov 5, 2025
e59d216
fix: incorrect creation of PlanetData constructor (#1051)
OH296 Nov 5, 2025
6a587c8
fix: Garrison init referred to a wrong variable name for event loggin…
swang300 Nov 6, 2025
429fefa
fix: hardcoded values counting vehicles (and marines) on managmenet p…
swang300 Nov 6, 2025
ce1897a
fix: GameMaker feather markers called out some errors (#1054)
swang300 Nov 7, 2025
7ea25dc
feat: Contemptor fix (#1034)
Werwolf-12 Nov 9, 2025
db1a3c5
fix: hopeful solution UUID timezone crash (#1055)
OH296 Nov 10, 2025
4d8df1f
fix: orks by-passing player fleets (#1057)
OH296 Nov 12, 2025
52a98e2
fix: Minor weapon fixes (#1058)
Werwolf-12 Nov 13, 2025
ceb2506
feat: waaagh trigger rework. (#1059)
Werwolf-12 Nov 24, 2025
f734668
fix: Inqisitorial inspection fix (#1065)
Werwolf-12 Dec 3, 2025
fd72fb0
feat: Navy behavior (#1066)
OH296 Dec 6, 2025
ee3ebe2
fix: minor refactor of is_at_location to try isolate crash (#1067)
OH296 Dec 6, 2025
b87b2fb
fix: trade crash and hovering trade fleets (#1068)
OH296 Dec 7, 2025
4e93a00
fix: crash verifying diplomacy options (#1069)
OH296 Dec 7, 2025
d5b9a49
fix: ruins options and add more debug planet features (#1070)
OH296 Dec 9, 2025
dd90301
fix: malformed debug variables (#1071)
OH296 Dec 10, 2025
445c3ac
feat: sprite fixes and shadows additions. (#1072)
Werwolf-12 Dec 11, 2025
43a6025
fix: Power Scythe range (#1073)
Werwolf-12 Dec 15, 2025
4c6b9c2
fix: solve annoying fleet travel lines (#1075)
OH296 Dec 17, 2025
a40af07
fix: some popup options unresponsive (#1076)
OH296 Dec 17, 2025
bcedde6
feat: extract weapon stats to global variable / no impact on function…
cyotas Dec 26, 2025
137d41b
bugfix: fix bug affecting vehicle repair on ships (#1079)
Tyrrhene Dec 27, 2025
e1a8bec
build: Add required prefabs to project (#1084)
Tyrrhene Dec 29, 2025
639f464
ci: Modify GameMaker build workflow and update dependencies (#1085)
EttyKitty Dec 29, 2025
c54515d
refactor: More efficient string_to_integer (#1086)
EttyKitty Dec 31, 2025
35cee65
refactor: show_debug_message_adv() (#1088)
EttyKitty Jan 28, 2026
31a6721
feat: Ground Combat Rebalance (#431)
EttyKitty Jan 29, 2026
572a73d
chore: Bump GM version to latest beta (#1089)
EttyKitty Jan 29, 2026
8506636
docs: Update README with more helpful links (#1091)
EttyKitty Jan 30, 2026
95f8ee2
refactor: SliderBar, TextBarArea and MainMenuButton
EttyKitty Jan 30, 2026
ef44261
refactor: scr_keyboard_helpers
EttyKitty Jan 30, 2026
0d1cac5
chore: Update .gitattributes
EttyKitty Jan 30, 2026
0797a93
fix: drop_down() pop_draw_return_values call outside return
EttyKitty Jan 30, 2026
eb559f7
refactor: Use randomise() and random_get_seed() instead of shenanigan…
EttyKitty Jan 30, 2026
f4cdd51
fix: Empty 1st disadvantage slot
EttyKitty Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
* text working-tree-encoding=UTF-8

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# For safety
*.yyp text eol=crlf
*.yy text eol=crlf
*.gml text eol=crlf

# Re-classify .yy files (for GMS 2 projects)
*.yy linguist-language=GML
*.yyp linguist-language=GML
Expand Down
2 changes: 1 addition & 1 deletion .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"CHECKS": {
"regexp": "((feat|fix|ci|chore|docs|test|refactor|revert|style|perf|build)(\\(.*\\))?: )|Merge branch"
"regexp": "((feat|fix|ci|chore|docs|test|refactor|revert|style|perf|build)(\\(.*\\))?!?: )|Merge branch"
},
"MESSAGES": {
"failure": "Invalid PR Title. Please use the following formats: `<type>(<optional-scope>): <Short summary>`. Refer to the list of [conventional commit types](https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types)."
Expand Down
10 changes: 10 additions & 0 deletions .github/pr_labeler_contents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ labels:
title: "^perf"
- label: "Type: Performance"
body: "(?i)(\\[performance\\]|\\[perf\\])"

- label: "Type: Revert"
title: "^revert"
- label: "Type: Revert"
body: "(?i)\\[revert\\]"

- label: "Type: Build"
title: "^build"
- label: "Type: Build"
body: "(?i)\\[build\\]"
18 changes: 5 additions & 13 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
<!--- Make use of markdown lists. They make stuff much easier to read through. -->
### Purpose
<!-- With a few sentences, describe why you decided to make these changes/additions. -->
## Purpose and Description
<!-- Explain why and what your changes do in simple terms. -->
- Self-descriptive.

### Describe your changes/additions
<!-- What your changes do and how. No need to get too technical. Some stuff from this list will also be used for the player release notes. -->
- Self-descriptive.

### What can/needs to be improved/changed
<!-- Is there anything that you think can/needs to be improved, or perhaps done using a different approach. -->
- Nothing.

### Testing done
## Testing done
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. -->
- None, and I understand the risks.

### Related things and/or additional context
## Related things and/or additional context
<!-- Other PRs, Discord bug reports, messages, threads, outside docs, screenshots etc. -->
- None.
-

<!--- PR title format should be "<type>(<optional-scope>): <Short summary>" -->
<!--- Commit types can be found at https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types -->
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/discord-prerelease-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Discord Release Notification
on:
release:
types: [prereleased]
permissions:
contents: read
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: GitHub Releases to Discord
uses: SethCohen/github-releases-to-discord@v1.19.0
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
username: "GitHub Releases"
content: |-
<@&1318332223232938014>
-# :warning: These builds are auto-generated. They may be **heavily unstable**, in which case try using an older build (10 exist at the same time), or divert to <#1283955919566143561>. :warning:
reduce_headings: true
38 changes: 23 additions & 15 deletions .github/workflows/gamemaker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true

- name: fetch tags
run: git fetch --tags origin

fetch-depth: 0
fetch-tags: true

# Causing issues with the stable release workflow;
# - name: fetch tags
# run: git fetch --tags origin

- name: Set date-time and version info
id: version_info
shell: pwsh
run: |
# Generate current date-time directly in the format you want
git fetch --tags

Write-Output "GITHUB_EVENT_NAME is: $env:GITHUB_EVENT_NAME"

if (-not "${{ inputs.build_date }}") {
Expand Down Expand Up @@ -80,29 +81,36 @@ jobs:
name: Find The yyp File
run: |
# Search for .yyp file recursively in the repository
$yyp = Get-ChildItem -Path ${{ github.workspace }} -Recurse -Filter *.yyp
$yypFiles = Get-ChildItem -Path ${{ github.workspace }} -Recurse -Filter ChapterMaster.yyp

# Check if the file was found
if ($yyp.Count -eq 0) {
Write-Error "No .yyp file found in the repository"
exit 1
if ($yypFiles.Count -eq 0) {
Write-Error "No .yyp file found in the repository"
exit 1
}

$yypPath = $yypFiles[0].FullName

if ($yypFiles.Count -gt 1) {
Write-Host "::warning:: Multiple .yyp files found. Using the first one: $yypPath"
}

# If found, output the path of the .yyp file
Write-Output "YYP file found at: $yyp"
"yyp-path=$yyp" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
Write-Output "YYP file found at: $yypPath"
"yyp-path=$yypPath" | Out-File -FilePath $env:GITHUB_OUTPUT -Append

# This step sets up the GameMaker build CLI tool Igor https://github.com/bscotch/igor-setup
- id: igor_setup
name: Setup Igor
uses: bscotch/igor-setup@v1.1.0
uses: bscotch/igor-setup@v1.2.1
with:
target-yyp: ${{ steps.find_yyp.outputs.yyp-path }}
access-key: ${{ secrets.GM_ACCESS_KEY }}

# Update the version.json file with build date and other versioning information
- id: igor_build
name: Build with Igor
uses: bscotch/igor-build@v1.0.3
uses: bscotch/igor-build@v1.1.0
with:
yyp-path: ${{ steps.find_yyp.outputs.yyp-path }}
user-dir: ${{ steps.igor_setup.outputs.user-dir }}
Expand Down
98 changes: 76 additions & 22 deletions .github/workflows/release_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- YYC
- VM
schedule:
- cron: "0 0 * * *"
- cron: "0 22 * * *" # every day at 22:00 UTC

jobs:
build_needed:
Expand All @@ -36,32 +36,55 @@ jobs:

# manual override
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "Manually triggered → build."
echo "Manually triggered → build."
echo "needed=true" >> $GITHUB_OUTPUT
exit 0
fi

# determine commit range since last tag
# Use 2>/dev/null to suppress error if no tags exist
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -n "$LAST_TAG" ]; then
RANGE="$LAST_TAG..HEAD"
echo "Checking commits in range: $RANGE (since last tag '$LAST_TAG')"
else
RANGE="HEAD"
RANGE="HEAD" # If no tags, check all commits up to HEAD
echo "No previous tags found. Checking all commits up to HEAD."
fi
echo "Commit range: $RANGE"

# Check if there are *any* commits in the range.
# git log -n 1 --format=%H will return the latest commit SHA if there's at least one.
# If the range is empty (HEAD is same as LAST_TAG), it returns nothing.
COMMITS_IN_RANGE=$(git log $RANGE -n 1 --format=%H 2>/dev/null || echo "")

if [ -z "$COMMITS_IN_RANGE" ]; then
echo "No new commits found in the range '$RANGE'. HEAD is likely the same as the last tag ($LAST_TAG)."
echo "Skipping build as no changes since the last tagged build."
# needed is already defaulted to false, so we just exit.
exit 0
fi

# If we reached here, there are new commits in the range.
echo "New commits found in range '$RANGE'. Checking their messages."

# collect all commit messages in range
ALL_MSGS=$(git log $RANGE --pretty=%B)
ALL_MSGS=$(git log $RANGE --pretty=%s)
echo "Messages in range:"
echo "$ALL_MSGS"
# Use sed to indent messages for clarity in logs
echo "$ALL_MSGS" | sed 's/^/ /'

# only skip if every message matches exclude pattern
# only build if at least one message does NOT match exclude pattern
# The -v option inverts the match; -E enables extended regex; -q suppresses output.
# The overall command exits successfully (0) if a non-matching line is found.
EXCLUDE="^(docs|chore|style|ci)"
if echo "$ALL_MSGS" | grep -vEq "$EXCLUDE"; then
echo "Found non-excluded commit → build needed."
echo "Found at least one commit message not matching the exclude pattern '$EXCLUDE'."
echo "Build needed."
echo "needed=true" >> $GITHUB_OUTPUT
else
echo "All commits are docs/chore/style/ci → skipping build."
echo "All new commit messages match the exclude pattern '$EXCLUDE'."
echo "Skipping build."
# needed is already defaulted to false.
fi

prepare_release:
Expand Down Expand Up @@ -92,26 +115,58 @@ jobs:

- name: Cleanup old releases
run: |
# tag_name looks like: branch-name/date
set -euo pipefail # Exit immediately if a command exits with a non-zero status

# tag_name looks like: branch-name/date (e.g., main/2025-05-10-2220)
TAG_NAME="${{ steps.tag_info.outputs.tag_name }}"
BRANCH_SUFFIX="${TAG_NAME%%/*}"
PREFIX="${BRANCH_SUFFIX}/"

echo "Checking releases with prefix: $PREFIX"
# Extract the branch prefix from the tag name (e.g., "main/")
# This assumes your tag format is always 'branch-name/date'
BRANCH_PREFIX="${TAG_NAME%%/*}/"

# Get tags starting with the prefix, sort reverse chronologically (best effort with default sort)
# Using gh release list is more reliable than just git tags if releases exist
TAGS=$(gh release list --limit 100 | awk '{print $1}' | grep "^${PREFIX}" | sort -r)
echo "Starting cleanup for releases with prefix: ${BRANCH_PREFIX}"

COUNT=0
# --- Added Step: List all tag names found before filtering ---
echo "--- All tag names found by 'gh release list --json tagName': ---"
# Get all tag names first
ALL_TAG_NAMES=$(gh release list --limit 100 --json tagName | jq -r '.[].tagName' || true)
if [ -z "$ALL_TAG_NAMES" ]; then
echo "No releases found at all."
else
echo "$ALL_TAG_NAMES" | cat -n # List all found tags with line numbers
fi
echo "-----------------------------------------------------------"


# Get tag names starting with the prefix, sort reverse chronologically by tag name.
# We use the previously fetched ALL_TAG_NAMES to avoid calling gh release list again
# Use || true at the end of the pipe to prevent the step from failing if no releases match the prefix
TAGS_TO_PROCESS=$(echo "$ALL_TAG_NAMES" | grep "^${BRANCH_PREFIX}" | sort -r || true)

if [ -z "$TAGS_TO_PROCESS" ]; then
echo "No releases found matching prefix '${BRANCH_PREFIX}'. No cleanup needed."
exit 0
fi

# --- The rest of the logic (count, keep, delete) remains the same ---
# Count the filtered tags
NUM_MATCHING=$(echo "$TAGS_TO_PROCESS" | wc -l)
RELEASES_TO_KEEP=10 # How many releases per branch prefix to keep
for TAG in $TAGS; do
echo "Found ${NUM_MATCHING} releases matching prefix '${BRANCH_PREFIX}'. Will keep the latest $RELEASES_TO_KEEP."

COUNT=0
IFS=$'\n' # Set IFS to newline to correctly iterate over tags
for TAG in $TAGS_TO_PROCESS; do
COUNT=$((COUNT + 1))
if [ $COUNT -gt $RELEASES_TO_KEEP ]; then
echo "Deleting old release+tag: $TAG"
gh release delete "$TAG" -y --cleanup-tag || echo "Failed to delete release $TAG, maybe already deleted?"
gh release delete "$TAG" -y --cleanup-tag || echo "Warning: Failed to delete release $TAG. It may have been deleted already."
else
echo "Keeping release+tag: $TAG (it's within the latest $RELEASES_TO_KEEP)"
fi
done
unset IFS # Reset IFS

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needs permissions to delete releases/tags

Expand Down Expand Up @@ -156,14 +211,13 @@ jobs:

- id: create_release
name: Create a release and upload the build
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v2.3.2
with:
name: ${{ steps.prep_release_name.outputs.release_name }}
token: ${{ secrets.RELEASE_TOKEN_SECRET }}
tag_name: ${{ needs.prepare_release.outputs.tag_name }}
prerelease: true
generate_release_notes: true
make_latest: false
files: |
./build_output/${{ needs.gamemaker_build.outputs.built_file }}/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 10 additions & 8 deletions .github/workflows/release_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,29 @@ jobs:
uses: ./.github/workflows/gamemaker_build.yml
secrets: inherit
with:
build_date: ""
yyc: true
build_date: ""
release:
name: Release
runs-on: windows-2022
runs-on: ubuntu-latest
needs: gamemaker_build
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Download built file artifact
- id: download_artifact
name: Download built file artifact
uses: actions/download-artifact@v4
with:
name: built-file
path: ./build_output

- id: create_release
name: Create Release
uses: softprops/action-gh-release@v2.0.9
name: Create a release and upload the build
uses: softprops/action-gh-release@v2.3.2
with:
name: ChapterMaster ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
token: ${{ secrets.RELEASE_TOKEN_SECRET }}
prerelease: false
generate_release_notes: true
make_latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Mark stale issues and PRs"
on:
schedule:
- cron: '0 0 * * *' # every day at midnight UTC
- cron: '0 22 * * *' # every day at 22:00 UTC

jobs:
stale:
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ ChapterMaster.resource_order

tmp/
stitch.config.json

objects/obj_garbage_collector/

# If all of your sprite sources are in this repo you can stick a "!" in front of this to track this file. Otherwise this file is machine-specific and should be ignored.
sprites.import.json
# This is a cache file for speeding up subsequent pipeline operations. It should not be tracked in git.
sprites.info.json
Loading