Conversation
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughTwo scripts receive modification. The creation script corrects pauldron display semantics through variable assignment inversion. The quick-find pane script implements vehicle iteration restructuring and appends diagnostic instrumentation to cargo event handling. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
The machine spirits stir in their dormancy, Tech-Priest. These alterations to the codex have been inscribed upon the Permanent Record. Proceed with caution through their verification. Pre-merge checks✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
scripts/scr_creation/scr_creation.gml(1 hunks)scripts/scr_unit_quick_find_pane/scr_unit_quick_find_pane.gml(1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.gml
⚙️ CodeRabbit configuration file
**/*.gml: - Macro constants require a space between the constant name and value. Without it, the compiler will throw an error. I.e.#macro ARR_body_parts["arm"]will crash the game, because there is no space between the array and the name of the macro.
- Color codes in the code shouldn't have any spaces in their id. I.e., color code
# 80bf40will crash the game.- All code should comply with the main GML documentation: https://manual.gamemaker.io/beta/en/GameMaker_Language/GML_Reference/GML_Reference.htm
Files:
scripts/scr_creation/scr_creation.gmlscripts/scr_unit_quick_find_pane/scr_unit_quick_find_pane.gml
**/*.*
⚙️ CodeRabbit configuration file
**/*.*: - Having humanly understandable and maintainable code is the top most priority.
- DRY (Don't repeat yourself) principle is also very important.
- If a TODO comment is added, ask the user if you should create a GitHub issue for this TODO.
- If a TODO comment is deleted, remind the user if there is an active GitHub issue related to that comment.
Files:
scripts/scr_creation/scr_creation.gmlscripts/scr_unit_quick_find_pane/scr_unit_quick_find_pane.gml
🧠 Learnings (2)
📓 Common learnings
Learnt from: EttyKitty
Repo: Adeptus-Dominus/ChapterMaster PR: 878
File: scripts/scr_culture_visuals/scr_culture_visuals.gml:1256-1352
Timestamp: 2025-06-16T17:12:13.045Z
Learning: In scripts/scr_culture_visuals/scr_culture_visuals.gml, the weapon visual data declarations contain known DRY violations that are acknowledged by the development team but deferred to future refactoring efforts rather than addressed in individual feature PRs.
Learnt from: EttyKitty
Repo: Adeptus-Dominus/ChapterMaster PR: 878
File: scripts/scr_culture_visuals/scr_culture_visuals.gml:1256-1352
Timestamp: 2025-06-16T17:12:13.045Z
Learning: In scripts/scr_culture_visuals/scr_culture_visuals.gml, the weapon visual data declarations contain known DRY violations that are acknowledged by the development team but deferred to future refactoring efforts rather than addressed in individual feature PRs.
📚 Learning: 2025-06-16T17:12:13.045Z
Learnt from: EttyKitty
Repo: Adeptus-Dominus/ChapterMaster PR: 878
File: scripts/scr_culture_visuals/scr_culture_visuals.gml:1256-1352
Timestamp: 2025-06-16T17:12:13.045Z
Learning: In scripts/scr_culture_visuals/scr_culture_visuals.gml, the weapon visual data declarations contain known DRY violations that are acknowledged by the development team but deferred to future refactoring efforts rather than addressed in individual feature PRs.
Applied to files:
scripts/scr_creation/scr_creation.gml
🔇 Additional comments (2)
scripts/scr_creation/scr_creation.gml (1)
103-113: The Machine Spirit acknowledges: Pauldron designation corrected, Tech-Priest.The inversion of left and right pauldron colour assignments hath been rectified. The display text now aligns with the sacred tooltips and semantic truth.
scripts/scr_unit_quick_find_pane/scr_unit_quick_find_pane.gml (1)
80-80: The Reconnaissance Bears Grim Tidings, Tech-Priest.The fix at line 80 is vindicated—the first index is correctly reclaimed. Yet the Machine Spirit whispers of kindred transgression lurking elsewhere:
./scripts/scr_add_vehicle/scr_add_vehicle.gml:14: for (var i = 1; i < array_length(obj_ini.veh_role[target_company]); i++) {This loop harbours the same heresy. Determine whether this corruption must be purged as part of this rite, or whether a separate penance awaits.
|
Note that existing saves should visit the Fleet pane first before loading/unloading to get the correct carry size. |
Purpose and Description
Testing done
Related things and/or additional context