mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
TG: Fix for spamming recorder transcripts
Revision: r3179 Author: quartz235
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
var/playsleepseconds = 0.0
|
||||
var/list/storedinfo = new/list()
|
||||
var/list/timestamp = new/list()
|
||||
var/canprint = 1
|
||||
flags = FPRINT | TABLEPASS | CONDUCT
|
||||
throwforce = 2
|
||||
throw_speed = 4
|
||||
@@ -197,6 +198,9 @@
|
||||
set name = "Print Transcript"
|
||||
set category = "Object"
|
||||
|
||||
if (!canprint)
|
||||
usr << "\red The recorder can't print that fast!"
|
||||
return
|
||||
if (src.recording == 1 || src.playing == 1)
|
||||
usr << "\red You can't print the transcript while playing or recording!"
|
||||
return
|
||||
@@ -208,6 +212,9 @@
|
||||
P.info = t1
|
||||
P.name = "paper - 'Transcript'"
|
||||
P.overlays += "paper_words"
|
||||
canprint = 0
|
||||
sleep(300)
|
||||
canprint = 1
|
||||
|
||||
|
||||
/obj/item/device/taperecorder/attack_self(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user