Custom item for Coolcrow420, minor change to stamp code

This commit is contained in:
Casey
2021-12-03 16:56:34 -05:00
committed by Chompstation Bot
parent 0609e71f61
commit 6004382872
5 changed files with 96 additions and 3 deletions

View File

@@ -234,6 +234,12 @@
ckeywhitelist = list("chaleur") ckeywhitelist = list("chaleur")
character_name = list("Hisako Arato") character_name = list("Hisako Arato")
/datum/gear/fluff/jade_stamp
path = /obj/item/weapon/stamp/fluff/jade_horror
display_name = "Official Council of Mid Horror rubber stamp"
ckeywhitelist = list("coolcrow420")
character_name = list("Jade Davis")
// D CKEYS // D CKEYS
/datum/gear/fluff/dhaeleena_medal /datum/gear/fluff/dhaeleena_medal
path = /obj/item/clothing/accessory/medal/silver/security/fluff/dhael path = /obj/item/clothing/accessory/medal/silver/security/fluff/dhael

View File

@@ -63,6 +63,9 @@
///////////////////////////////////////// /////////////////////////////////////////
//Seals and Signet Rings //Seals and Signet Rings
/obj/item/clothing/gloves/ring/seal
var/stamptext = null
/obj/item/clothing/gloves/ring/seal/secgen /obj/item/clothing/gloves/ring/seal/secgen
name = "Secretary-General's official seal" name = "Secretary-General's official seal"
desc = "The official seal of the Secretary-General of the Sol Central Government, featured prominently on a silver ring." desc = "The official seal of the Secretary-General of the Sol Central Government, featured prominently on a silver ring."

View File

@@ -597,11 +597,20 @@
return return
else if(istype(P, /obj/item/weapon/stamp) || istype(P, /obj/item/clothing/gloves/ring/seal)) 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)) if((!in_range(src, usr) && loc != user && !( istype(loc, /obj/item/weapon/clipboard) ) && loc.loc != user && user.get_active_hand() != P))
return 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/image/stampoverlay = image('icons/obj/bureaucracy.dmi')
var/x, y var/x, y
if(istype(P, /obj/item/weapon/stamp/captain) || istype(P, /obj/item/weapon/stamp/centcomm)) if(istype(P, /obj/item/weapon/stamp/captain) || istype(P, /obj/item/weapon/stamp/centcomm))

View File

@@ -14,6 +14,7 @@
attack_verb = list("stamped") attack_verb = list("stamped")
drop_sound = 'sound/items/drop/device.ogg' drop_sound = 'sound/items/drop/device.ogg'
pickup_sound = 'sound/items/pickup/device.ogg' pickup_sound = 'sound/items/pickup/device.ogg'
var/stamptext = null
/obj/item/weapon/stamp/captain /obj/item/weapon/stamp/captain
name = "site manager's rubber stamp" name = "site manager's rubber stamp"

View File

@@ -1347,4 +1347,78 @@
End CHOMP Removal*/ End CHOMP Removal*/
<<<<<<< HEAD
=======
// Astra - // Astra
/obj/item/weapon/material/knife/ritual/fluff/astra
name = "Polished Ritual Knife"
desc = "A well kept strange ritual knife, There is a small tag with the name 'Astra Ether' on it. They are probably looking for this."
icon = 'icons/obj/wizard.dmi'
icon_state = "render"
//AlFalah - Charlotte Graves
/obj/item/weapon/storage/fancy/fluff/charlotte
name = "inconspicuous cigarette case"
desc = "A SkyTron 3000 cigarette case with no additional functions. The buttons and CRT monitor are completely for show and have no functions. Seriously. "
icon_state = "charlotte"
icon = 'icons/vore/custom_items_vr.dmi'
storage_slots = 7
can_hold = list(/obj/item/clothing/mask/smokable/cigarette, /obj/item/weapon/flame/lighter, /obj/item/trash/cigbutt)
icon_type = "charlotte"
//brand = "\improper Professional 120"
w_class = ITEMSIZE_TINY
starts_with = list(/obj/item/clothing/mask/smokable/cigarette = 7)
//Ashling - Antoinette deKaultieste
/obj/item/weapon/material/knife/machete/hatchet/unathiknife/fluff/antoinette
name = "sawtooth ritual knife"
desc = "A mostly decorative knife made from thin ceramic and toothed with large black fangs. Printed on the flat is an eight-armed cross, like an asterisk with an extra stroke, ringed by a calligraphy-style crescent."
attack_verb = list("mauled", "bit", "sawed", "butchered")
dulled = 1
default_material = "glass"
//Ashling - Antoinette deKaultieste
/obj/item/clothing/accessory/storage/ritualharness/fluff/antoinette
name = "silk knife loops"
desc = "A clip-on pair of pouched loops made from surprisingly sturdy silk. Made for holding knives and small vials in a pinch."
icon_state = "unathiharness1"
slots = 2
/obj/item/weapon/reagent_containers/glass/bottle/poppy
name = "poppy flour bottle"
desc = "A small bottle of finely ground poppyseed and mixed dried berries."
icon = 'icons/obj/chemical.dmi'
icon_state = "bottle3"
prefill = list("bicaridine" = 30, "nutriment" = 30)
/obj/item/clothing/accessory/storage/ritualharness/fluff/antoinette/Initialize()
. = ..()
hold.max_storage_space = ITEMSIZE_COST_SMALL * 2
hold.can_hold = list(/obj/item/weapon/material/knife, /obj/item/weapon/reagent_containers/glass/bottle)
new /obj/item/weapon/material/knife/machete/hatchet/unathiknife/fluff/antoinette(hold)
new /obj/item/weapon/reagent_containers/glass/bottle/poppy(hold)
//Hunterbirk - Amaryll
//This is a 'technical item' which basically is meant to represent rippiing things up with bare claws.
/obj/item/weapon/surgical/scalpel/amaryll_claws
name = "Amaryll's Claws"
desc = "This doesn't quite look like what it really is."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "claws"
drop_sound = null
pickup_sound = null
origin_tech = null
matter = null
//Coolcrow420 - Jade Davis
/obj/item/weapon/stamp/fluff/jade_horror
name = "Council of Mid Horror rubber stamp"
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "stamp-midhorror"
stamptext = "This paper has been certified by The Council of Mid Horror"
>>>>>>> a036cd6a3e... Merge pull request #11935 from faaaay/jade-stamp