Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 91df820

Browse files
authored
Update strippable.dm (#22706)
1 parent 9d588c7 commit 91df820

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

code/datums/elements/strippable.dm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -535,31 +535,31 @@
535535
return
536536

537537
if (istype(storage_item, /obj/item/storage/backpack/duffelbag))
538-
to_chat(user, span_notice("You try to unzip [living_source]'s [storage_item]. Hopefully they don't notice."))
538+
to_chat(user, span_notice("You try to unzip [living_source]'s [storage_item.name]. Hopefully they don't notice."))
539539
playsound(living_source, 'sound/items/zip.ogg', 100, TRUE) // obnoxiously loud
540540
else
541-
to_chat(user, span_notice("You try to pull something out of [living_source]'s [storage_item]."))
541+
to_chat(user, span_notice("You try to pull something out of [living_source]'s [storage_item.name]."))
542542

543-
var/log_message = "[key_name(living_source)] is being pickpocketed by [key_name(user)] ([storage_item])"
543+
var/log_message = "[key_name(living_source)] is being pickpocketed by [key_name(user)] ([storage_item.name])"
544544
living_source.log_message(log_message, LOG_ATTACK, color="red")
545545
user.log_message(log_message, LOG_ATTACK, color="red", log_globally=FALSE)
546546
storage_item.add_fingerprint(user)
547547

548548
if (!do_after(user, POCKET_STRIP_DELAY, living_source, interaction_key = REF(storage_item)))
549-
to_chat(living_source, span_warning("You feel your [storage_item] being fumbled with!"))
549+
to_chat(living_source, span_warning("You feel your [storage_item.name] being fumbled with!"))
550550
return
551551

552552
var/list/atom/lootables = storage.contents()
553553
if (lootables.len == 0)
554-
to_chat(user, span_notice("You couldn't find anything inside [living_source]'s [storage_item]."))
554+
to_chat(user, span_notice("You couldn't find anything inside [living_source]'s [storage_item.name]."))
555555
return
556556

557557
var/obj/item/loot = pick(lootables)
558558
if (!istype(loot))
559-
to_chat(user, span_notice("You found \a [loot] inside [living_source]'s [storage_item] but couldn't pull it out."))
559+
to_chat(user, span_notice("You found \a [loot] inside [living_source]'s [storage_item.name] but couldn't pull it out."))
560560
return
561561

562-
var/log_message_success = "[key_name(living_source)]'s [loot] was successfully pickpocketed by [key_name(user)] ([storage_item])"
562+
var/log_message_success = "[key_name(living_source)]'s [loot] was successfully pickpocketed by [key_name(user)] ([storage_item.name])"
563563
living_source.log_message(log_message_success, LOG_ATTACK, color="red")
564564
user.log_message(log_message_success, LOG_ATTACK, color="red", log_globally=FALSE)
565565
loot.add_fingerprint(user)

0 commit comments

Comments
 (0)