[Donator] Official Cat Stamp (#21442)

* OFFICIAL CAT!!

Adds the stamp

* Adds stamp to donator list

I WANT MY STAMP!!
This commit is contained in:
KathrinBailey
2023-05-28 04:13:32 +02:00
committed by GitHub
parent 623d5668cc
commit df899f3e53
13 changed files with 87 additions and 0 deletions
+12
View File
@@ -1,6 +1,18 @@
/datum/asset/spritesheet/simple/paper
name = "paper"
assets = list(
// SKYRAT ADDITION: START - Donator stamp icons
"stamp-cat_blue" = 'modular_skyrat/master_files/icons/stamp_icons/cat_blue.png',
"stamp-paw_blue" = 'modular_skyrat/master_files/icons/stamp_icons/paw_blue.png',
"stamp-cat_red" = 'modular_skyrat/master_files/icons/stamp_icons/cat_red.png',
"stamp-paw_red" = 'modular_skyrat/master_files/icons/stamp_icons/paw_red.png',
"stamp-cat_orange" = 'modular_skyrat/master_files/icons/stamp_icons/cat_orange.png',
"stamp-paw_orange" = 'modular_skyrat/master_files/icons/stamp_icons/paw_orange.png',
"stamp-cat_green" = 'modular_skyrat/master_files/icons/stamp_icons/cat_green.png',
"stamp-paw_green" = 'modular_skyrat/master_files/icons/stamp_icons/paw_green.png',
// SKYRAT ADDITION: END - Donator stamp icons
"stamp-clown" = 'icons/stamp_icons/large_stamp-clown.png',
"stamp-deny" = 'icons/stamp_icons/large_stamp-deny.png',
"stamp-ok" = 'icons/stamp_icons/large_stamp-ok.png',
@@ -0,0 +1,69 @@
/obj/item/stamp/cat
name = "\improper Official Cat Stamp"
desc = "A rubber stamp for stamping documents of questionable importance."
icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi'
icon_state = "stamp-cat_blue"
inhand_icon_state = "stamp"
// Radial menu options
var/static/cat_blue = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_cat_blue")
var/static/paw_blue = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_paw_blue")
var/static/cat_red = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_cat_red")
var/static/paw_red = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_paw_red")
var/static/cat_orange = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_cat_orange")
var/static/paw_orange = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_paw_orange")
var/static/cat_green = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_cat_green")
var/static/paw_green = image(icon = 'modular_skyrat/master_files/icons/obj/bureaucracy.dmi', icon_state = "radial_paw_green")
// Choices for the radial menu
var/static/list/radial_options = list(
"cat_blue" = cat_blue,
"paw_blue" = paw_blue,
"cat_red" = cat_red,
"paw_red" = paw_red,
"cat_orange" = cat_orange,
"paw_orange" = paw_orange,
"cat_green" = cat_green,
"paw_green" = paw_green
)
/obj/item/stamp/cat/ui_interact(mob/user)
. = ..()
var/choice = show_radial_menu(user, src, radial_options)
switch(choice)
if("cat_blue")
icon_state = "stamp-cat_blue"
dye_color = DYE_HOP
name = "\improper Official Cat Stamp"
if("paw_blue")
icon_state = "stamp-paw_blue"
dye_color = DYE_HOP
name = "\improper Paw Stamp"
if("cat_red")
icon_state = "stamp-cat_red"
dye_color = DYE_HOS
name = "\improper Official Cat Stamp"
if("paw_red")
icon_state = "stamp-paw_red"
dye_color = DYE_HOS
name = "\improper Paw Stamp"
if("cat_orange")
icon_state = "stamp-cat_orange"
dye_color = DYE_QM
name = "\improper Official Cat Stamp"
if("paw_orange")
icon_state = "stamp-paw_orange"
dye_color = DYE_QM
name = "\improper Paw Stamp"
if("cat_green")
icon_state = "stamp-cat_green"
dye_color = DYE_CENTCOM
name = "\improper Official Cat Stamp"
if("paw_green")
icon_state = "stamp-paw_green"
dye_color = DYE_CENTCOM
name = "\improper Paw Stamp"
else
return
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

@@ -679,3 +679,8 @@
name = "Color-Block Hoodie"
item_path = /obj/item/clothing/suit/hooded/colorblockhoodie
ckeywhitelist = list("lolpopomg101")
/datum/loadout_item/inhand/officialcat
name = "Official Cat Stamp"
item_path = /obj/item/stamp/cat
ckeywhitelist = list("kathrinbailey")
+1
View File
@@ -5576,6 +5576,7 @@
#include "modular_skyrat\master_files\code\modules\mod\modules\_module.dm"
#include "modular_skyrat\master_files\code\modules\mod\modules\modules_antag.dm"
#include "modular_skyrat\master_files\code\modules\modular_computers\computers\item\laptop_presets.dm"
#include "modular_skyrat\master_files\code\modules\paperwork\stamps.dm"
#include "modular_skyrat\master_files\code\modules\power\cable.dm"
#include "modular_skyrat\master_files\code\modules\power\lighting\light_mapping_helpers.dm"
#include "modular_skyrat\master_files\code\modules\power\singularity\containment_field.dm"