Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Hegemony Passports & Passcards (Aurorastation#17727)
Browse files Browse the repository at this point in the history
* hegemony passports

* loadout & cl

* one letter
  • Loading branch information
RustingWithYou authored Nov 20, 2023
1 parent 2325145 commit 321c375
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 0 deletions.
23 changes: 23 additions & 0 deletions code/modules/client/preference_setup/loadout/items/xeno/unathi.dm
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,26 @@
origin_restriction = list(/singleton/origin_item/origin/heartland_upper, /singleton/origin_item/origin/trad_nobles, /singleton/origin_item/origin/tza_upper, /singleton/origin_item/origin/southlands_upper, /singleton/origin_item/origin/zazalai_upper, /singleton/origin_item/origin/broken_nobles)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION

/datum/gear/accessory/hegemony_passport
display_name = "hegemony passport"
path = /obj/item/clothing/accessory/badge/passport/hegemony
cost = 1
whitelisted = list(SPECIES_UNATHI, SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER, SPECIES_DIONA, SPECIES_DIONA_COEUS, SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_HUMAN)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION

/datum/gear/accessory/hegemony_passcards
display_name = "hegemony passcard selection"
path = /obj/item/clothing/accessory/badge/passcard/hegemony
cost = 1
whitelisted = list(SPECIES_UNATHI, SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER, SPECIES_DIONA, SPECIES_DIONA_COEUS, SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_HUMAN)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION

/datum/gear/augment/accessory/hegemony_passcards/New()
..()
var/list/cards = list()
cards["hegemony passcard"] = /obj/item/clothing/accessory/badge/passcard/hegemony
cards["ouerea passcard"] = /obj/item/clothing/accessory/badge/passcard/ouerea
gear_tweaks += new /datum/gear_tweak/path(cards)
10 changes: 10 additions & 0 deletions code/modules/client/preference_setup/loadout/items/xeno/vaurca.dm
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,13 @@
sort_category = "Xenowear - Vaurca"
whitelisted = list(SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BULWARK)
allowed_roles = list("Shaft Miner", "Engineer", "Atmospheric Technician", "Engineering Apprentice", "Xenoarchaeologist")

/datum/gear/accessory/tret_passcard
display_name = "tret passcard"
description = "A Hegemony-issued passcard for K'laxan Vaurcae."
path = /obj/item/clothing/accessory/badge/passcard/tret
cost = 1
whitelisted = list(SPECIES_VAURCA_BREEDER, SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_WORKER)
culture_restriction = /singleton/origin_item/culture/klax
sort_category = "Xenowear - Vaurca"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION
27 changes: 27 additions & 0 deletions code/modules/clothing/under/accessories/badges.dm
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,27 @@
icon_state = "passcard_konyang"
item_state = "passcard_konyang"

/obj/item/clothing/accessory/badge/passcard/hegemony
name = "hegemony passcard"
desc = "A passcard issued to citizens of the Izweski Hegemony."
desc_extended = "As the feudal citizenship standards of the Hegemony have changed to deal with the realities of an interstellar empire, human-inspired passcards have become a quick and easy method of identification for Unathi travelling abroad. This passcard is the most common design, seen throughout Hegemony space."
icon_state = "passcard_hegemony"
item_state = "passcard_hegemony"

/obj/item/clothing/accessory/badge/passcard/ouerea
name = "ouerean passcard"
desc = "A passcard issued to residents of the planet Ouerea."
desc_extended = "Though not a fully independent state, the people of Ouerea have managed to win a great deal of autonomy from the Izweski Hegemony, which is reflected in the passcards that citizens of the Confederation carry."
icon_state = "passcard_ouerea"
item_state = "passcard_ouerea"

/obj/item/clothing/accessory/badge/passcard/tret
name = "tret passcard"
desc = "A passcard issued to residents of the planet Tret."
desc_extended = "In recognition of the K'lax Hive's unique status and needs, the Hegemony has issued custom passcards for the planet Tret, for easy identification of K'laxan Vaurcae abroad. Many K'lax do not carry these, though those working in the Hegemony are likely to."
icon_state = "passcard_tret"
item_state = "passcard_tret"

// Work Visa
/obj/item/clothing/accessory/badge/passcard/workvisa
name = "republic of biesel work visa"
Expand Down Expand Up @@ -575,6 +596,12 @@
/obj/item/clothing/accessory/badge/passport/nralakk/update_icon()
icon_state = "[initial(icon_state)][open ? "_o[species_tag]" : ""]"

/obj/item/clothing/accessory/badge/passport/hegemony
name = "hegemony passport"
desc = "A passport issued to a citizen of the Izweski Hegemony."
icon_state = "passport_hegemony"
item_state = "passport_hegemony"

#undef CANT_OPEN
#undef CLOSED
#undef OPEN
41 changes: 41 additions & 0 deletions html/changelogs/RustingWithYou - bureaucracy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################

# Your name.
author: RustingWithYou

# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True

# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Adds Hegemony passports and passcards."
Binary file modified icons/clothing/accessories/passcards.dmi
Binary file not shown.

0 comments on commit 321c375

Please sign in to comment.