- They now have 30 labels each, not 10. Seriously, 10 was too low and 30 should not be too griefy, imo.
- Maximum length of one stretch of text increased from 10 characters to 64.
- If the combined name of your target object, along with the label is 64, you won't be able to label it to prevent names that are too long. (This safety check has been left unchanged)
- You can no longer tag humans as they can just peel the tag off. Sorry clowns, find other ways of being annoying.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1826 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-07-10 16:08:06 +00:00
parent e8b2360ea0
commit 4caf165253

View File

@@ -94,7 +94,7 @@
item_state = "flight"
name = "Hand labeler"
var/label = null
var/labels_left = 10
var/labels_left = 30
/obj/item/weapon/hand_labeler/afterattack(atom/A, mob/user as mob)
if(A==loc) // if placing the labeller into something (e.g. backpack)
@@ -109,9 +109,11 @@
if(length(A.name) + length(label) > 64)
user << "\red Label too big."
return
if(ishuman(A))
user << "\red You can't label humans."
for(var/mob/M in viewers())
M << "\blue [user] puts a label on [A]."
M << "\blue [user] labels [A] as [label]."
A.name = "[A.name] ([label])"
/obj/item/weapon/hand_labeler/attack_self()
@@ -119,7 +121,7 @@
if(!str || !length(str))
usr << "\red Invalid text."
return
if(length(str) > 10)
if(length(str) > 64)
usr << "\red Text too long."
return
label = str