mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
let's not have the paper forever stuck in case of power outage.
This commit is contained in:
@@ -532,10 +532,13 @@ var/global/list/datum/cachedbook/cachedbooks // List of our cached book datums
|
||||
busy = 1
|
||||
sleep(rand(200,400))
|
||||
busy = 0
|
||||
if(P && !stat)
|
||||
visible_message("[src] whirs as it prints and binds a new book.")
|
||||
var/obj/item/weapon/book/B = new(src.loc)
|
||||
B.dat = P.info
|
||||
B.name = "Print Job #" + "[rand(100, 999)]"
|
||||
B.icon_state = "book[rand(1,7)]"
|
||||
qdel(P)
|
||||
if(P)
|
||||
if(!stat)
|
||||
visible_message("[src] whirs as it prints and binds a new book.")
|
||||
var/obj/item/weapon/book/B = new(src.loc)
|
||||
B.dat = P.info
|
||||
B.name = "Print Job #" + "[rand(100, 999)]"
|
||||
B.icon_state = "book[rand(1,7)]"
|
||||
qdel(P)
|
||||
else
|
||||
P.loc = loc
|
||||
Reference in New Issue
Block a user