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:
Charlie Nolan
2025-07-30 23:01:26 -07:00
committed by GitHub
parent 97d72d6e22
commit 435637e257
17 changed files with 107 additions and 58 deletions
+5 -2
View File
@@ -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>")