forked from infinitystation/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: add EC rank badges for Sierra (#693)
# Описание ПР делает что-то умное. Конкретно - добавляет функцию сверки выбранной для персонажа фракции для предметов лодаута, а также портирует значки ЭК ЦПСС с Торча, что пользуются этой самой функцией. ## Основные изменения * Добавляет ранговые значки ЭК ЦПСС в лодаут Сьерры. * Добавляет новую функцию проверки предмета в лодауте - на соответствие фракции, выбранной на экране бэкграунда. * Таким образом, новые значки доступны при выборе фракций ЦПСС, ЭК или EXO. ## Скриншоты ![image](https://github.com/ss220-space/Baystation12/assets/52104104/42be233c-7b35-4c08-be3b-6007b98e71ad) ![image](https://github.com/ss220-space/Baystation12/assets/52104104/2377cfe0-a5e9-4a14-8300-887074ee12a9) ![image](https://github.com/ss220-space/Baystation12/assets/52104104/eec83f8a-df41-4e2c-964b-b689acb24da8) ## Changelog <!-- С помощью этого раздела можно подготовить список изменений, которые попадут в игровой чейндж-лог. ---> <!-- Вам нужно указать префикс изменения (Он идёт до двоеточия) и дать описание, как на примере. ---> <!-- Префиксы можно использовать несколько раз. ---> <!-- Если Вы не планируете добавлять записи в чейндж-лог - просто удалите из пулл-реквеста этот раздел. ---> :cl: rscadd: Introduced faction-locked loadout items. rscadd: Ported SCG EC rank badges to Sierra, locked for SCG, EC and EXO factions. /:cl:
- Loading branch information
1 parent
a3345fa
commit c4672eb
Showing
5 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/obj/item/clothing/accessory/solgov | ||
name = "master solgov accessory" | ||
icon = 'maps/torch/icons/obj/obj_accessories_solgov.dmi' | ||
accessory_icons = list(slot_w_uniform_str = 'maps/torch/icons/mob/onmob_accessories_solgov.dmi', slot_wear_suit_str = 'maps/torch/icons/mob/onmob_accessories_solgov.dmi') | ||
w_class = ITEM_SIZE_TINY | ||
|
||
/********* | ||
ranks - ec | ||
*********/ | ||
|
||
/obj/item/clothing/accessory/solgov/rank | ||
name = "ranks" | ||
desc = "Insignia denoting rank of some kind. These appear blank." | ||
icon_state = "fleetrank" | ||
on_rolled = list("down" = "none") | ||
slot = ACCESSORY_SLOT_RANK | ||
gender = PLURAL | ||
high_visibility = 1 | ||
sprite_sheets = list( | ||
SPECIES_UNATHI = 'icons/mob/species/unathi/onmob_accessories_sol_unathi.dmi', | ||
SPECIES_RESOMI = 'infinity/icons/mob/species/resomi/onmob_accessories_resomi.dmi' | ||
) | ||
|
||
/obj/item/clothing/accessory/solgov/rank/get_fibers() | ||
return null | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec | ||
name = "explorer ranks" | ||
desc = "Insignia denoting rank of some kind. These appear blank." | ||
icon_state = "ecrank_e1" | ||
on_rolled = list("down" = "none") | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/enlisted | ||
name = "ranks (E-1 apprentice explorer)" | ||
desc = "Insignia denoting the rank of Apprentice Explorer." | ||
icon_state = "ecrank_e1" | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/enlisted/e3 | ||
name = "ranks (E-3 explorer)" | ||
desc = "Insignia denoting the rank of Explorer." | ||
icon_state = "ecrank_e3" | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/enlisted/e5 | ||
name = "ranks (E-5 senior explorer)" | ||
desc = "Insignia denoting the rank of Senior Explorer." | ||
icon_state = "ecrank_e5" | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/enlisted/e7 | ||
name = "ranks (E-7 chief explorer)" | ||
desc = "Insignia denoting the rank of Chief Explorer." | ||
icon_state = "ecrank_e7" | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/officer | ||
name = "ranks (O-1 ensign)" | ||
desc = "Insignia denoting the rank of Ensign." | ||
icon_state = "ecrank_o1" | ||
|
||
/obj/item/clothing/accessory/solgov/rank/ec/officer/o3 | ||
name = "ranks (O-3 lieutenant)" | ||
desc = "Insignia denoting the rank of Lieutenant." | ||
icon_state = "ecrank_o3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters