mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
All Secondary Goals use labels (#29776)
* All Secondary Goals use labels * Fixes. * Fixes. * Update code/__DEFINES/dcs/basetype_signals.dm Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: Charlie Nolan <funnyman3595@gmail.com> --------- Signed-off-by: Charlie Nolan <funnyman3595@gmail.com> Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
. += "<span class='notice'>The label is currently set to \"[label]\".</span>"
|
||||
|
||||
/obj/item/hand_labeler/interact_with_atom(atom/target, mob/living/user, list/modifiers)
|
||||
if(iseffect(target))
|
||||
to_chat(user, "<span class='warning'>\The [target] doesn't seem solid enough to label!</span>")
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
if(!mode == LABEL_MODE_OFF)
|
||||
apply_label(target, user)
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
@@ -44,8 +47,8 @@
|
||||
return
|
||||
|
||||
if(mode == LABEL_MODE_GOAL)
|
||||
if(istype(target, /obj/item))
|
||||
to_chat(user, "<span class='warning'>Put it in a personal crate instead!</span>")
|
||||
if(isturf(target))
|
||||
to_chat(user, "<span class='warning'>You can't just claim a bit of [target] as yours!</span>")
|
||||
return
|
||||
user.visible_message("<span class='notice'>[user] labels [target] as part of a secondary goal for [label].</span>", \
|
||||
"<span class='notice'>You label [target] as part of a secondary goal for [label].</span>")
|
||||
|
||||
Reference in New Issue
Block a user