Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: TobleroneSwordfish <[email protected]>
  • Loading branch information
amylizzle and TobleroneSwordfish authored Feb 15, 2025
1 parent 725f8d0 commit 0eedff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/modules/materials/Mat_FabRecipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
name = "Turbine Blade"
desc = "A replacement blade for the reactor turbine"
category = "Nuclear"
materials = list("!any"=2)
materials = list("!any"=5)
result = /obj/item/turbine_component/blade

/datum/matfab_recipe/simple/turbine/stator
name = "Turbine Stator"
desc = "A replacement stator coil for the reactor turbine"
category = "Nuclear"
materials = list("!any"=2)
materials = list("!any"=3)
result = /obj/item/turbine_component/stator

/datum/matfab_recipe/spacesuit
Expand Down
4 changes: 2 additions & 2 deletions code/obj/nuclearreactor/turbine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
return
if(I:try_weld(user,1))
if(src.ruined || src.blade_health < src.max_blade_health)
user.visible_message("[user] attempts to repair some damage to the [src]", "you start to repair the [src]")
user.visible_message("[user] attempts to repair some damage to the [src]", "You start to repair the [src]")
var/datum/action/bar/icon/callback/A = new(user, src, 1 SECONDS, PROC_REF(weld_repair_callback), list(user), user.equipped().appearance, null, \
"", INTERRUPT_ACTION | INTERRUPT_MOVE | INTERRUPT_STUNNED | INTERRUPT_ACT)
A.maximum_range=3 //should action bar used bounds_dist? idk probably
Expand All @@ -390,7 +390,7 @@
if(src.RPM > 1)
boutput(user, SPAN_ALERT("you cannot replace turbine components while the turbine is spinning!"))
else
user.visible_message("[user] begins replacing a turbine component", "you begin replacing a turbine component")
user.visible_message("[user] begins replacing a turbine component", "You begin replacing a turbine component")
var/datum/action/bar/icon/callback/A = new(user, src, 4 SECONDS, PROC_REF(component_replace_callback), list(user,I), I.appearance, null, \
"", INTERRUPT_ACTION | INTERRUPT_MOVE | INTERRUPT_STUNNED | INTERRUPT_ACT)
A.maximum_range=3 //should action bar used bounds_dist? idk probably
Expand Down

0 comments on commit 0eedff8

Please sign in to comment.