Skip to content

Commit

Permalink
Update autolathe.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers authored Feb 17, 2024
1 parent 3d4ac1c commit 1b562f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/machinery/autolathe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
var/list/storage_capacity = list("metal" = 0, "glass" = 0)
var/list/printables = list() // data list of each printable item (for tgUI)
var/list/recipes
var/lathe_speed = 5 SECONDS //time required to print 1 item
var/list/categories
var/list/disabled_categories = AUTOLATHE_STANDARD_DISABLED_CATS_LIST
var/list/components = list(
Expand Down Expand Up @@ -423,7 +424,7 @@
icon_state = "[base_state]_n"

playsound(src, 'sound/machines/print.ogg', 25)
sleep(5 SECONDS)
sleep(lathe_speed)
playsound(src, 'sound/machines/print_off.ogg', 25)
icon_state = "[base_state]"

Expand Down Expand Up @@ -603,6 +604,7 @@
disabled_categories = AUTOLATHE_MEDILATHE_DISABLED_CATS_LIST
make_loc = TRUE
tgui_theme = "weyland"
lathe_speed = 2 SECONDS

/obj/structure/machinery/autolathe/medilathe/full
stored_material = list("glass" = 20000, "plastic" = 40000) //20 plastic and 10 glass sheets
Expand Down

0 comments on commit 1b562f7

Please sign in to comment.