Skip to content

Add max complexity for T3 drones - #86

Merged
CaitlynMainer merged 1 commit into
PC-Logix:main-MC1.21.1from
RobertCochran:add-complexity-for-t3-drone
Aug 27, 2026
Merged

Add max complexity for T3 drones#86
CaitlynMainer merged 1 commit into
PC-Logix:main-MC1.21.1from
RobertCochran:add-complexity-for-t3-drone

Conversation

@RobertCochran

Copy link
Copy Markdown
Collaborator

The base assembler template code has a maxComplexity method that does some sort of calculation for the complexity limit of an assembled computer. Robots use this unmodified, and tablets use it but further tweak it. Drones don't do this. For some reason - probably owing to not figuring out a way to sanely reuse the existing formula - they opt to just hardcode the complexities of each tier. Surprise surprise, the T3 drone (added as part of the Tier 4 equipment inherited from the vibeport) didn't have a complexity defined, so the existing implementation ended up falling back to the T1 complexity value. Give the T3 drone a complexity limit (10 complexity, chosen by fair dice roll) and hopefully add a guard clause that will cause someone to notice that something is amiss if we ever add another tier of equipment.

Fixes #85.

@CaitlynMainer
CaitlynMainer merged commit f8dc4aa into PC-Logix:main-MC1.21.1 Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The Level 3 drone case is worse than the Level 2 one...

2 participants