Skip to content

Commit

Permalink
Updates & fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UEDCommander committed Mar 25, 2024
1 parent c6703ce commit a3f421c
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 11 deletions.
22 changes: 17 additions & 5 deletions code/modules/clothing/head/jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,29 @@
icon_state = "beret"
slot_flags = SLOT_HEAD | SLOT_BELT
body_parts_covered = 0
// [SIERRA-ADD] - RESOMI
var/base_sprite_sheets = list()
// [/SIERRA-ADD]

// [SIERRA-ADD] - RESOMI
/obj/item/clothing/head/beret/Initialize()
. = ..()
base_sprite_sheets = sprite_sheets
// [/SIERRA-ADD]

/obj/item/clothing/head/beret/equipped(mob/user, slot)
switch(slot)
if(slot_belt)
sprite_sheets = list()
if(slot_head)
sprite_sheets = list(
SPECIES_VOX = 'icons/mob/species/vox/onmob_head_vox.dmi',
SPECIES_UNATHI = 'icons/mob/species/unathi/onmob_head_unathi.dmi',
SPECIES_NABBER = 'icons/mob/species/nabber/onmob_head_gas.dmi'
)
// [SIERRA-EDIT] - RESOMI
//sprite_sheets = list( // SIERRA-EDIT - ORIGINAL
// SPECIES_VOX = 'icons/mob/species/vox/onmob_head_vox.dmi', // SIERRA-EDIT - ORIGINAL
// SPECIES_UNATHI = 'icons/mob/species/unathi/onmob_head_unathi.dmi', // SIERRA-EDIT - ORIGINAL
// SPECIES_NABBER = 'icons/mob/species/nabber/onmob_head_gas.dmi' // SIERRA-EDIT - ORIGINAL
// ) // SIERRA-EDIT - ORIGINAL
sprite_sheets = base_sprite_sheets
// [/SIERRA-EDIT]
return ..()

/obj/item/clothing/head/beret/sec
Expand Down
6 changes: 6 additions & 0 deletions code/modules/clothing/masks/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@
icon_state = initial(icon_state)
sprite_sheets = list(
SPECIES_VOX = 'icons/mob/species/vox/onmob_mask_vox.dmi',
// [SIERRA-ADD] - RESOMI
SPECIES_RESOMI = 'mods/resomi/icons/clothing/onmob_mask_resomi.dmi',
// [/SIERRA-ADD]
SPECIES_UNATHI = 'icons/mob/species/unathi/onmob_mask_unathi.dmi'
)
if(slot_head)
Expand All @@ -249,6 +252,9 @@
icon_state = "[initial(icon_state)]_up"
sprite_sheets = list(
SPECIES_VOX = 'icons/mob/species/vox/onmob_head_vox.dmi',
// [SIERRA-ADD] - RESOMI
SPECIES_RESOMI = 'mods/resomi/icons/clothing/onmob_head_resomi.dmi',
// [/SIERRA-ADD]
SPECIES_UNATHI = 'icons/mob/species/unathi/onmob_head_unathi.dmi'
)

Expand Down
9 changes: 8 additions & 1 deletion mods/resomi/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#### Список PRов:

- https://github.com/SierraBay/SierraBay12/pull/2047
- https://github.com/SierraBay/SierraBay12/pull/2054
<!--
Ссылки на PRы, связанные с модом:
- Создание
Expand Down Expand Up @@ -34,6 +34,12 @@ ID мода: RESOMI
- `/obj/item/organ/external/on_update_icon()`
- `mods/resomi/code/overrides.dm`
- `/mob/living/carbon/human/get_pulse_as_number()`
- `code/modules/clothing/head/jobs.dm`
- `/obj/item/clothing/head/beret`
- `/obj/item/clothing/head/beret/Initialize()`
- `/obj/item/clothing/head/beret/equipped()`
- `code/modules/clothing/masks/miscellaneous.dm`
- `/obj/item/clothing/mask/bandana/equipped()`

<!--
Если вы редактировали какие-либо процедуры или переменные в кор коде,
Expand Down Expand Up @@ -66,6 +72,7 @@ ID мода: RESOMI
- `CULTURE_RESOMI_NEWGENERATION`
- `CULTURE_RESOMI_LOSTCOLONYRICH`
- `CULTURE_RESOMI_LOSTCOLONYPOOR`
- `CULTURE_RESOMI_SKRELL`
- `HOME_SYSTEM_RESOMI_BIRDCAGE`
- `HOME_SYSTEM_RESOMI_EREMUS`
- `HOME_SYSTEM_RESOMI_ASRANDA`
Expand Down
1 change: 1 addition & 0 deletions mods/resomi/code/datum/_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#define CULTURE_RESOMI_NEWGENERATION "New generation"
#define CULTURE_RESOMI_LOSTCOLONYRICH "A native of a thriving lost colony"
#define CULTURE_RESOMI_LOSTCOLONYPOOR "A native of a impoverished lost colony"
#define CULTURE_RESOMI_SKRELL "Skrellian Adoptive"

#define HOME_SYSTEM_RESOMI_BIRDCAGE "Birdcage (Colchis Habitat)"
#define HOME_SYSTEM_RESOMI_EREMUS "Eremus"
Expand Down
8 changes: 8 additions & 0 deletions mods/resomi/code/datum/resomi_culture.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
Колонисты таких миров не живут, они каждый день ведут борьбу за выживание."
economic_power = 0.65

/singleton/cultural_info/culture/resomi/skrell
name = CULTURE_RESOMI_SKRELL
nickname = "Скрелльский приемыш"
description = "Первая крупная волна резоми-беженцев, частично осевшая у скреллов, прошла еще в 2243 году.\
Скреллы оценили развитие и профессионализм некоторых беженцев, оставив их у себя, а менее достойных оставили на попечение ЦПСС. \
Резоми, ассимилировавшиеся со скреллами, часто менее эмоциональны и склонны соблюдать многие обычаи Кверрбалака."
economic_power = 1.2



/singleton/cultural_info/location/birdcage
Expand Down
11 changes: 6 additions & 5 deletions mods/resomi/code/datum/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
heat_level_3 = 600
heat_discomfort_level = 292
heat_discomfort_strings = list(
"Ваши перья колются от жары..",
"Вы чувствуете дискомфорт от жары..",
"Вашу кожу покалывает от жары.",
"Вам жарко.",
)
cold_discomfort_level = 200
cold_discomfort_strings = list(
"Вы не чувствуете своих лап из-за холода..",
"Вы чувствуете усталость и чувство холода..",
"Твои перья щетинятся от холода..")
"Вы не чувствуете своих лап из-за холода.",
"Вы чувствуете усталость и чувство холода.",
"Ваши перья щетинятся от холода.")

has_limbs = list(
BP_CHEST = list("path" = /obj/item/organ/external/chest),
Expand Down Expand Up @@ -128,6 +128,7 @@
CULTURE_HUMAN_CETII,
CULTURE_RESOMI_LOSTCOLONYRICH,
CULTURE_RESOMI_LOSTCOLONYPOOR,
CULTURE_RESOMI_SKRELL,
//CULTURE_RESOMI_SAVEEL,
CULTURE_OTHER
),
Expand Down

0 comments on commit a3f421c

Please sign in to comment.