Skip to content

Commit

Permalink
Feat: improve passport icons, add new passport loadout options (#662)
Browse files Browse the repository at this point in the history
# Описание

Добавляет новые иконки для паспортов, а также вариации регистрационного
документа унати, завязанные на принадлежность к крупным клановым
объединениям Могеса и Терстена.

## Основные изменения

* Особая иконка добавлена для паспорта Мирании;
* Добавлены 5 вариантов регистрационных документов унати в зависимости
от принадлежности к клановому альянсу (согласовано с ксеномодератором
imony.);
* Улучшены описания паспортов Мирании и Авалона.

## Changelog

<!-- С помощью этого раздела можно подготовить список изменений, которые
попадут в игровой чейндж-лог. --->
<!-- Вам нужно указать префикс изменения (Он идёт до двоеточия) и дать
описание, как на примере. --->
<!-- Префиксы можно использовать несколько раз. --->
<!-- Если Вы не планируете добавлять записи в чейндж-лог - просто
удалите из пулл-реквеста этот раздел. --->

:cl:
imageadd: Added Miranian passport icon
rscadd: Added Unathi registration document selection options
tweak: Improved item description for several independent passports
/:cl:
  • Loading branch information
UEDCommander authored Nov 20, 2023
1 parent bbe0413 commit 1299b0e
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
9 changes: 9 additions & 0 deletions infinity/code/game/objects/items/loadout_xeno.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/datum/gear/passport/unathi/New()
..()
var/list/passports = list()
passports["independent clans registration document"] = /obj/item/passport/xeno/unathi/independent
passports["Moghes Hegemony registration document"] = /obj/item/passport/xeno/unathi/hegemony
passports["Ssen-Uuma Convent registration document"] = /obj/item/passport/xeno/unathi/convent
passports["Rah'Zakeh League registration document"] = /obj/item/passport/xeno/unathi/league
passports["Tersten Republic identity document"] = /obj/item/passport/xeno/unathi/tersten
gear_tweaks += new/datum/gear_tweak/path(passports)
32 changes: 32 additions & 0 deletions infinity/code/game/objects/items/passport.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/obj/item/passport/independent/mirania
icon = 'infinity/icons/obj/item/passport.dmi'
icon_state = "passport_mir"

/obj/item/passport/xeno/unathi/independent
name = "\improper independent clans registration document"
icon_state = "passport"
desc = "A document that indentifies its bearer as a member of a minor clan that is not aligned with any major power."

/obj/item/passport/xeno/unathi/hegemony
name = "\improper Moghes Hegemony registration document"
icon = 'infinity/icons/obj/item/passport.dmi'
icon_state = "passport_unathi_heg"
desc = "A document that indentifies its bearer as a registered denizen of the Moghes Hegemony."

/obj/item/passport/xeno/unathi/convent
name = "\improper Ssen-Uuma Convent registration document"
icon = 'infinity/icons/obj/item/passport.dmi'
icon_state = "passport_unathi_conv"
desc = "A document that indentifies its bearer as a registered denizen of the Ssen-Uuma Convent."

/obj/item/passport/xeno/unathi/league
name = "\improper Rah'Zakeh League registration document"
icon = 'infinity/icons/obj/item/passport.dmi'
icon_state = "passport_unathi_league"
desc = "A document that indentifies its bearer as a registered denizen of the Rah'Zakeh League."

/obj/item/passport/xeno/unathi/tersten
name = "\improper Tersten Republic identity document"
icon = 'infinity/icons/obj/item/passport.dmi'
icon_state = "passport_unathi_tersten"
desc = "Issued by the Tersten Republic to its Unathi inhabitants, this document identifies its bearer as a citizen of the Republic, while also acting as a permanent residence permit across the rest of the SCG space."
Binary file added infinity/icons/obj/item/passport.dmi
Binary file not shown.
4 changes: 2 additions & 2 deletions maps/sierra/items/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ Passports

/obj/item/passport/independent/mirania
name = "\improper Mirania passport"
desc = "A passport from Mirania, an independent colony."
desc = "A passport from the Federal Republic of Mirania, an independent nation established upon Mirania III after its secession from the SCG."

/obj/item/passport/independent/avalon
name = "\improper Avalon passport"
desc = "A passport from Avalon, an independent colony."
desc = "A passport from the Star Kingdom of Avalon, an independent nation established upon Claude III."

/obj/item/passport/independent/eremus
name = "\improper Eremus passport"
Expand Down

0 comments on commit 1299b0e

Please sign in to comment.