mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 08:35:39 +01:00
support for unique stamp text
This commit is contained in:
@@ -580,11 +580,20 @@
|
||||
return
|
||||
|
||||
else if(istype(P, /obj/item/weapon/stamp) || istype(P, /obj/item/clothing/gloves/ring/seal))
|
||||
if(istype(P, /obj/item/weapon/stamp))
|
||||
var/obj/item/weapon/stamp/the_stamp = P
|
||||
if(the_stamp.stamptext)
|
||||
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>[the_stamp.stamptext]</i>"
|
||||
else
|
||||
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>This paper has been stamped with the [the_stamp.name].</i>"
|
||||
else
|
||||
var/obj/item/clothing/gloves/ring/seal/the_stamp = P
|
||||
if(the_stamp.stamptext)
|
||||
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>[the_stamp.stamptext]</i>"
|
||||
else
|
||||
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>This paper has been stamped with the [the_stamp.name].</i>"
|
||||
if((!in_range(src, usr) && loc != user && !( istype(loc, /obj/item/weapon/clipboard) ) && loc.loc != user && user.get_active_hand() != P))
|
||||
return
|
||||
|
||||
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>This paper has been stamped with the [P.name].</i>"
|
||||
|
||||
var/image/stampoverlay = image('icons/obj/bureaucracy.dmi')
|
||||
var/x, y
|
||||
if(istype(P, /obj/item/weapon/stamp/captain) || istype(P, /obj/item/weapon/stamp/centcomm))
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
attack_verb = list("stamped")
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
var/stamptext = null
|
||||
|
||||
/obj/item/weapon/stamp/captain
|
||||
name = "site manager's rubber stamp"
|
||||
|
||||
Reference in New Issue
Block a user