Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Fixed Typo in Mech Construction Steps #2117

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/modules/vehicles/mecha/_mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@
. += span_notice("[icon2html(ME, user)] \A [ME].")
if(mecha_flags & PANEL_OPEN)
if(servo)
. += span_notice("Micro-servos reduce movement power usage by [100 - round(100 / servo.rating)]%")
. += span_notice("Servo reduces movement power usage by [100 - round(100 / servo.rating)]%")
else
. += span_warning("It's missing a micro-servo.")
. += span_warning("It's missing a servo.")
if(capacitor)
. += span_notice("Capacitor increases armor against energy attacks by [capacitor.rating * 5].")
else
Expand Down
30 changes: 15 additions & 15 deletions code/modules/vehicles/mecha/mecha_construction_paths.dm
Original file line number Diff line number Diff line change
Expand Up @@ -197,24 +197,24 @@
"key" = /obj/item/stock_parts/servo,
"action" = ITEM_MOVE_INSIDE,
"back_key" = TOOL_SCREWDRIVER,
"desc" = "Scanning module is secured, the <b> micro-servo</b> can be added.",
"forward_message" = "added micro-servo",
"desc" = "Scanning module is secured, the <b>servo</b> can be added.",
"forward_message" = "added servo",
"backward_message" = "unsecured capacitor"
),
list(
"key" = TOOL_SCREWDRIVER,
"back_key" = TOOL_CROWBAR,
"desc" = "Micro-servo is installed, and can be <b>screwed</b> into place.",
"forward_message" = "secured micro-servo",
"backward_message" = "removed micro-servo"
"desc" = "Servo is installed, and can be <b>screwed</b> into place.",
"forward_message" = "secured servo",
"backward_message" = "removed servo"
),
list(
"key" = /obj/item/stock_parts/cell,
"action" = ITEM_MOVE_INSIDE,
"back_key" = TOOL_SCREWDRIVER,
"desc" = "Micro-servo is secured, and the <b>power cell</b> can be added.",
"desc" = "Servo is secured, and the <b>power cell</b> can be added.",
"forward_message" = "added power cell",
"backward_message" = "unsecured micro-servo"
"backward_message" = "unsecured servo"
),
list(
"key" = TOOL_SCREWDRIVER,
Expand Down Expand Up @@ -534,7 +534,7 @@
list(
"key" = /obj/item/stock_parts/servo,
"action" = ITEM_MOVE_INSIDE,
"desc" = "Humor <b>micro-servo</b> can be added!",
"desc" = "Humor <b>servo</b> can be added!",
"forward_message" = "added smile"
),
list(
Expand Down Expand Up @@ -680,24 +680,24 @@
"key" = /obj/item/stock_parts/servo,
"action" = ITEM_MOVE_INSIDE,
"back_key" = TOOL_SCREWDRIVER,
"desc" = "Capacitor is secured, the <b>micro-servo</b> can be added.",
"forward_message" = "added micro-servo",
"desc" = "Capacitor is secured, the <b>servo</b> can be added.",
"forward_message" = "added servo",
"backward_message" = "unsecured capacitor"
),
list(
"key" = TOOL_SCREWDRIVER,
"back_key" = TOOL_CROWBAR,
"desc" = "Micro-servo is installed, and can be <b>screwed</b> into place.",
"forward_message" = "secured micro-servo",
"backward_message" = "removed micro-servo"
"desc" = "Servo is installed, and can be <b>screwed</b> into place.",
"forward_message" = "secured servo",
"backward_message" = "removed servo"
),
list(
"key" = /obj/item/stack/ore/bluespace_crystal,
"amount" = 1,
"back_key" = TOOL_SCREWDRIVER,
"desc" = "Micro-servo is secured, and the <b>bluespace crystal</b> can be added.",
"desc" = "Servo is secured, and the <b>bluespace crystal</b> can be added.",
"forward_message" = "added bluespace crystal",
"backward_message" = "unsecured micro-servo"
"backward_message" = "unsecured servo"
),
list(
"key" = /obj/item/stack/cable_coil,
Expand Down
2 changes: 1 addition & 1 deletion code/modules/vehicles/mecha/mecha_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
if(isnull(capacitor))
missing_parts += "capacitor"
if(isnull(servo))
missing_parts += "micro-servo"
missing_parts += "servo"
if(length(missing_parts))
if(TIMER_COOLDOWN_FINISHED(src, COOLDOWN_MECHA_MESSAGE))
to_chat(occupants, "[icon2html(src, occupants)][span_warning("Missing [english_list(missing_parts)].")]")
Expand Down
Loading