diff --git a/modular_zzplurt/code/datums/components/crafting/equipment.dm b/modular_zzplurt/code/datums/components/crafting/equipment.dm index 368548ba3092a..9e0e27dfac02a 100644 --- a/modular_zzplurt/code/datums/components/crafting/equipment.dm +++ b/modular_zzplurt/code/datums/components/crafting/equipment.dm @@ -3,7 +3,7 @@ name = "Hemorrhagic Sanguinizer" desc = "A modified Bloodfledge ID card capable of channeling technopathic blood magic." reqs = list( - /obj/item/card/id/vampire = 1, + /obj/item/card/id/advanced/quirk/bloodfledge = 1, /obj/item/assembly/signaler = 1, /obj/item/reagent_containers/syringe = 1, /obj/item/reagent_containers/blood = 1, diff --git a/modular_zzplurt/code/datums/id_trim/quirks.dm b/modular_zzplurt/code/datums/id_trim/quirks.dm new file mode 100644 index 0000000000000..3806a2a0ac4ca --- /dev/null +++ b/modular_zzplurt/code/datums/id_trim/quirks.dm @@ -0,0 +1,19 @@ +// This file contains all the trims associated with quirks. + +// Base entry +/datum/id_trim/quirk + trim_icon = 'modular_zzplurt/icons/obj/card.dmi' + trim_state = "trim_question" + assignment = "Error Reporter" + department_color = COLOR_NEARLY_ALL_BLACK + subdepartment_color = COLOR_NEARLY_ALL_BLACK + +// Quirk: Bloodsucker Fledgling +/datum/id_trim/quirk/bloodfledge + trim_state = "trim_bloodfledge" + // Colors disabled because Bloodfledge ID has a custom sprite + department_color = "#00000000" + subdepartment_color = "#00000000" + assignment = "Bloodsucker Fledgling" + intern_alt_name = "Fledgling" + threat_modifier = 2 // Equal to dress code violation diff --git a/modular_zzplurt/code/datums/quirks/positive_quirks/bloodfledge.dm b/modular_zzplurt/code/datums/quirks/positive_quirks/bloodfledge.dm index dbfd2debbd469..9f2771c84abaf 100644 --- a/modular_zzplurt/code/datums/quirks/positive_quirks/bloodfledge.dm +++ b/modular_zzplurt/code/datums/quirks/positive_quirks/bloodfledge.dm @@ -165,7 +165,7 @@ var/mob/living/carbon/human/quirk_mob = quirk_holder // Create vampire ID card - var/obj/item/card/id/vampire/id_vampire = new(get_turf(quirk_mob)) + var/obj/item/card/id/advanced/quirk/bloodfledge/id_vampire = new(get_turf(quirk_mob)) // Define default card type name var/card_name_type = "Blood" @@ -194,8 +194,9 @@ if(quirk_mob.chrono_age) id_vampire.registered_age = quirk_mob.chrono_age - // Set assignment - id_vampire.assignment = "[card_name_type]sucker Fledgling" + // Set assignment overrides + id_vampire.assignment = "[card_name_type]fledge" + id_vampire.trim?.assignment = "[card_name_type]fledge" // Update label id_vampire.update_label() diff --git a/modular_zzplurt/code/game/objects/items/cards_ids.dm b/modular_zzplurt/code/game/objects/items/cards_ids.dm index a404b9e7768bd..ab79864f0055b 100644 --- a/modular_zzplurt/code/game/objects/items/cards_ids.dm +++ b/modular_zzplurt/code/game/objects/items/cards_ids.dm @@ -1,6 +1,15 @@ -/obj/item/card/id/vampire - name = "Bloodfledge ID" +// Base quirk ID card +/obj/item/card/id/advanced/quirk + name = "quirky ID card" + desc = "Show this to a coder to indicate something went wrong." + assignment = "Error Reporter" + trim = /datum/id_trim/quirk + +// Quirk: Bloodsucker Fledgling +/obj/item/card/id/advanced/quirk/bloodfledge + name = "bloodfledge identification card" desc = "An ID made to easily recognize sanguine crew members without requiring medical scans." icon = 'modular_zzplurt/icons/obj/card.dmi' - icon_state = "vampire" + icon_state = "card_bloodfledge" assignment = "Bloodsucker Fledgling" + trim = /datum/id_trim/quirk/bloodfledge diff --git a/modular_zzplurt/icons/obj/card.dmi b/modular_zzplurt/icons/obj/card.dmi index 45b073437f0c0..f62249222b0cf 100644 Binary files a/modular_zzplurt/icons/obj/card.dmi and b/modular_zzplurt/icons/obj/card.dmi differ diff --git a/tgstation.dme b/tgstation.dme index 1ce43a0887404..0512007467c1a 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -9400,6 +9400,7 @@ #include "modular_zzplurt\code\datums\elements\headpat.dm" #include "modular_zzplurt\code\datums\elements\holder_micro.dm" #include "modular_zzplurt\code\datums\elements\mob_holder.dm" +#include "modular_zzplurt\code\datums\id_trim\quirks.dm" #include "modular_zzplurt\code\datums\keybinding\human.dm" #include "modular_zzplurt\code\datums\keybinding\living.dm" #include "modular_zzplurt\code\datums\mutations\body.dm"