Skip to content

Commit

Permalink
fix text from circuits to stockparts
Browse files Browse the repository at this point in the history
  • Loading branch information
jdawg1290 committed Feb 11, 2020
1 parent 39c075c commit 4da91a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/game/mecha/mecha_construction_paths.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,18 @@
list(
"key" = TOOL_SCREWDRIVER,
"back_key" = TOOL_CROWBAR,
"desc" = "Weapons control module is installed"
"desc" = "Weapons control module is installed."
)
)

/datum/component/construction/mecha/proc/get_stockpart_steps()
var/prevstep_text = circuit_weapon ? "Weapons control module is secured." : "Peripherals control module is secured."
return list(
list(
"key" = /obj/item/stock_parts/scanning_module,
"action" = ITEM_MOVE_INSIDE,
"back_key" = TOOL_SCREWDRIVER,
"desc" = "Peripherals control module is secured."
"desc" = prevstep_text
),
list(
"key" = TOOL_SCREWDRIVER,
Expand Down

0 comments on commit 4da91a2

Please sign in to comment.