forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port loadout cloaks & Unathi loadout items (#1562)
Co-authored-by: SuhEugene <[email protected]>
- Loading branch information
1 parent
f1a65de
commit 93a2025
Showing
15 changed files
with
230 additions
and
3 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
6 changes: 6 additions & 0 deletions
6
mods/_master_files/code/modules/clothing/spacesuits/spacesuits.dm
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,6 @@ | ||
//Spacesuit | ||
//Note: Everything in modules/clothing/spacesuits should have the entire suit grouped together. | ||
// Meaning the the suit is defined directly after the corrisponding helmet. Just like below! | ||
|
||
/obj/item/clothing/suit/space | ||
valid_accessory_slots = list(ACCESSORY_SLOT_INSIGNIA, ACCESSORY_SLOT_ARMBAND, ACCESSORY_SLOT_OVER) |
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,80 @@ | ||
|
||
#### Список PRов: | ||
|
||
- https://github.com/SierraBay/SierraBay12/pull/1562 | ||
<!-- | ||
Ссылки на PRы, связанные с модом: | ||
- Создание | ||
- Большие изменения | ||
--> | ||
|
||
<!-- Название мода. Не важно на русском или на английском. --> | ||
## Предметы лодаута | ||
|
||
ID мода: LOADOUT_ITEMS | ||
<!-- | ||
Название модпака прописными буквами, СОЕДИНЁННЫМИ_ПОДЧЁРКИВАНИЕМ, | ||
которое ты будешь использовать для обозначения файлов. | ||
--> | ||
|
||
### Описание мода | ||
|
||
Модулярно добавленные в билд предметы для лодаута. | ||
<!-- | ||
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь. | ||
А также любая полезная информация. | ||
--> | ||
|
||
### Изменения *кор кода* | ||
|
||
- Отсутствуют | ||
<!-- | ||
Если вы редактировали какие-либо процедуры или переменные в кор коде, | ||
они должны быть указаны здесь. | ||
Нужно указать и файл, и процедуры/переменные. | ||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Оверрайды | ||
|
||
- `mods/_master_files/code/modules/clothing/spacesuits/spacesuits.dm`: | ||
- `/obj/item/clothing/suit/space/var/valid_accessory_slots` | ||
<!-- | ||
Если ты добавлял новый модульный оверрайд, его нужно указать здесь. | ||
Здесь указываются оверрайды в твоём моде и папке `_master_files` | ||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Дефайны | ||
|
||
- `code/__defines/~mods/~master_defines.dm`: | ||
- `ACCESSORY_SLOT_OVER` | ||
<!-- | ||
Если требовалось добавить какие-либо дефайны, укажи файлы, | ||
в которые ты их добавил, а также перечисли имена. | ||
И то же самое, если ты используешь дефайны, определённые другим модом. | ||
Не используешь - напиши "Отсутствуют" | ||
--> | ||
|
||
### Используемые файлы, не содержащиеся в модпаке | ||
|
||
- Отсутствуют | ||
|
||
<!-- | ||
Будь то немодульный файл или модульный файл, который не содержится в папке, | ||
принадлежащей этому конкретному моду, он должен быть упомянут здесь. | ||
Хорошими примерами являются иконки или звуки, которые используются одновременно | ||
несколькими модулями, или что-либо подобное. | ||
--> | ||
|
||
### Авторы: | ||
|
||
UEDHighCommand | ||
<!-- | ||
Здесь находится твой никнейм | ||
Если работал совместно - никнеймы тех, кто помогал. | ||
В случае порта чего-либо должна быть ссылка на источник. | ||
--> |
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,4 @@ | ||
/singleton/modpack/loadout_items | ||
name = "Предметы лодаута" | ||
desc = "Модулярно добавленные в билд предметы для лодаута." | ||
author = "UEDHighCommand" |
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,10 @@ | ||
#ifndef MODPACK_LOADOUT_ITEMS | ||
#define MODPACK_LOADOUT_ITEMS | ||
|
||
#include "_loadout_items.dm" | ||
#include "code/cloak.dm" | ||
#include "code/shoes.dm" | ||
#include "code/lists/cloaks.dm" | ||
#include "code/lists/xenowear.dm" | ||
|
||
#endif |
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,83 @@ | ||
/datum/gear/clothing/cloak_custom // common cloak | ||
display_name = "cloak, colorable" | ||
path = /obj/item/clothing/accessory/cloak | ||
flags = GEAR_HAS_COLOR_SELECTION | ||
|
||
//command cloaks | ||
|
||
/datum/gear/clothing/cloak_captain | ||
display_name = "cloak, command (captain)" | ||
path = /obj/item/clothing/accessory/cloak/captain | ||
allowed_roles = list(/datum/job/captain) | ||
|
||
/datum/gear/clothing/cloak_hop | ||
display_name = "cloak, command (head of personnel)" | ||
path = /obj/item/clothing/accessory/cloak/hop | ||
allowed_roles = list(/datum/job/hop) | ||
|
||
/datum/gear/clothing/cloak_hos | ||
display_name = "cloak, command (head of security)" | ||
path = /obj/item/clothing/accessory/cloak/hos | ||
allowed_roles = list(/datum/job/hos) | ||
|
||
/datum/gear/clothing/cloak_cmo | ||
display_name = "cloak, command (chief medical officer)" | ||
path = /obj/item/clothing/accessory/cloak/cmo | ||
allowed_roles = list(/datum/job/cmo) | ||
|
||
/datum/gear/clothing/cloak_ce | ||
display_name = "cloak, command (chief engineer)" | ||
path = /obj/item/clothing/accessory/cloak/ce | ||
allowed_roles = list(/datum/job/chief_engineer) | ||
|
||
/datum/gear/clothing/cloak_rd | ||
display_name = "cloak, command (research director)" | ||
path = /obj/item/clothing/accessory/cloak/rd | ||
allowed_roles = list(/datum/job/rd) | ||
|
||
/datum/gear/clothing/cloak_qm | ||
display_name = "cloak, command (quartermaster)" | ||
path = /obj/item/clothing/accessory/cloak/qm | ||
allowed_roles = list(/datum/job/qm) | ||
|
||
// departaments cloaks | ||
|
||
/datum/gear/clothing/cloak_cargo | ||
display_name = "cloak, cargo" | ||
path = /obj/item/clothing/accessory/cloak/cargo | ||
|
||
/datum/gear/clothing/cloak_mining | ||
display_name = "cloak, mining" | ||
path = /obj/item/clothing/accessory/cloak/mining | ||
|
||
/datum/gear/clothing/cloak_security | ||
display_name = "cloak, security" | ||
path = /obj/item/clothing/accessory/cloak/security | ||
|
||
/datum/gear/clothing/cloak_service | ||
display_name = "cloak, service" | ||
path = /obj/item/clothing/accessory/cloak/service | ||
|
||
/datum/gear/clothing/cloak_engineer | ||
display_name = "cloak, engineer" | ||
path = /obj/item/clothing/accessory/cloak/engineer | ||
|
||
/datum/gear/clothing/cloak_atmos | ||
display_name = "cloak, atmos" | ||
path = /obj/item/clothing/accessory/cloak/atmos | ||
|
||
/datum/gear/clothing/cloak_research | ||
display_name = "cloak, science" | ||
path = /obj/item/clothing/accessory/cloak/research | ||
|
||
/datum/gear/clothing/cloak_medical | ||
display_name = "cloak, medical" | ||
path = /obj/item/clothing/accessory/cloak/medical | ||
|
||
/datum/gear/clothing/cloak_antiq | ||
display_name = "antiquated cape" | ||
path = /obj/item/clothing/accessory/cloak/antiq | ||
|
||
/datum/gear/clothing/cloak_hooded | ||
display_name = "cloak, hooded" | ||
path = /obj/item/clothing/accessory/cloak/hooded |
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,16 @@ | ||
// Alien clothing. | ||
|
||
// Unathi clothing | ||
/datum/gear/suit/unathi/footwraps | ||
display_name = "(Unathi) big footwraps" | ||
path = /obj/item/clothing/shoes/loadout_unathi | ||
cost = 1 | ||
slot = slot_shoes | ||
flags = GEAR_HAS_COLOR_SELECTION | ||
|
||
/datum/gear/suit/unathi/sandals | ||
display_name = "(Unathi) unathi sandals" | ||
path = /obj/item/clothing/shoes/loadout_unathi/sandals | ||
cost = 1 | ||
slot = slot_shoes | ||
flags = GEAR_HAS_COLOR_SELECTION |
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,19 @@ | ||
/obj/item/clothing/shoes/loadout_unathi | ||
name = "big footwraps" | ||
desc = "A large roll of treated canvas used to protect paws." | ||
icon = 'mods/loadout_items/icons/obj_feet.dmi' | ||
item_icons = list(slot_shoes_str = 'mods/loadout_items/icons/onmob_feet.dmi') | ||
sprite_sheets = list( | ||
SPECIES_UNATHI = 'mods/loadout_items/icons/onmob_feet.dmi' | ||
) | ||
icon_state = "unathi_footwraps" | ||
item_state = "unathi_footwraps" | ||
force = 0 | ||
w_class = ITEM_SIZE_SMALL | ||
species_restricted = list(SPECIES_UNATHI) | ||
|
||
/obj/item/clothing/shoes/loadout_unathi/sandals | ||
name = "unathi sandals" | ||
desc = "A pair of unathi sandals built exclusively for their paws." | ||
icon_state = "unathi_sandals" | ||
item_state = "unathi_sandals" |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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