Skip to content

Commit

Permalink
Merge pull request #62 from CheBuRek017/dev-sierra
Browse files Browse the repository at this point in the history
Makes positronics able to become human'ish
  • Loading branch information
800maximum123 authored Nov 2, 2024
2 parents 4d26c6b + 8d15d99 commit caba1f3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
11 changes: 9 additions & 2 deletions code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,18 @@
var/is_synth = isSynthetic()
if(!(skipjumpsuit && skipface))
var/species_name = "\improper "
if(is_synth && species.cyborg_noun)
// [FD-EDIT]
var/s_flesh_colour = species.get_flesh_colour(src)
if(organs_by_name[BP_HEAD]?.model == "Vey-Med")
species_name += "Human"
s_flesh_colour = "#ffc896"
else if(is_synth && species.cyborg_noun)
species_name += "[species.cyborg_noun] [species.get_bodytype(src)]"
else
species_name += "[species.name]"
msg += ", <b>[SPAN_COLOR(species.get_flesh_colour(src), "\a [species_name]!")]</b>[(user.can_use_codex() && SScodex.get_codex_entry(get_codex_value())) ? SPAN_NOTICE(" \[<a href='?src=\ref[SScodex];show_examined_info=\ref[src];show_to=\ref[user]'>?</a>\]") : ""]"
//msg += ", <b>[SPAN_COLOR(species.get_flesh_colour(src), "\a [species_name]!")]</b>[(user.can_use_codex() && SScodex.get_codex_entry(get_codex_value())) ? SPAN_NOTICE(" \[<a href='?src=\ref[SScodex];show_examined_info=\ref[src];show_to=\ref[user]'>?</a>\]") : ""]"
msg += ", <b>[SPAN_COLOR(s_flesh_colour, "\a [species_name]!")]</b>[(user.can_use_codex() && SScodex.get_codex_entry(get_codex_value())) ? SPAN_NOTICE(" \[<a href='?src=\ref[SScodex];show_examined_info=\ref[src];show_to=\ref[user]'>?</a>\]") : ""]"
// [/FD-EDIT]

var/extra_species_text = species.get_additional_examine_text(src)
if(extra_species_text)
Expand Down
15 changes: 14 additions & 1 deletion mods/_fd/fd_species/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ ID мода: FD_SPECIES

- Мулов

Убирает ограничения для:

- ИПС (Веймед)

Маскирует веймед-ИПС под людей
<!--
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь.
А также любая полезная информация.
Expand All @@ -43,6 +48,8 @@ ID мода: FD_SPECIES
- `code\modules\species\station\station.dm`: `var/spawn_flags`
- `mods\tajara\code\datum\species.dm`: `var/spawn_flags`
- `code\modules\species\station\human_subspecies.dm`: `var/spawn_flags`

- `code\modules\mob\living\carbon\human\examine.dm`: `proc/examine`
<!--
Если вы редактировали какие-либо процедуры или переменные в кор коде,
они должны быть указаны здесь.
Expand All @@ -53,7 +60,12 @@ ID мода: FD_SPECIES

### Оверрайды

Отсутствуют
- `code\modules\organs\robolimbs.dm`: `var/species_cannot_use`
- `mods\ipc_mods\code\machine.dm`: `var/genders`, `var/appearance_flags`
- `code\modules\sprite_accessories\_accessory.dm`: `var/species_allowed`
- `code\modules\sprite_accessories\_accessory_hair.dm`: `var/species_allowed`
- `code\modules\sprite_accessories\accessory_human.dm`: `var/species_allowed`
- `code\modules\sprite_accessories\accessory_hair_fade.dm`: `var/species_allowed`
<!--
Если ты добавлял новый модульный оверрайд, его нужно указать здесь.
Здесь указываются оверрайды в твоём моде и папке `_master_files`
Expand Down Expand Up @@ -85,6 +97,7 @@ ID мода: FD_SPECIES
### "Авторы:"

Chaplain Maximum
CheBuRek017 & XeroXOffice & xDanilcusx
<!--
Здесь находится твой никнейм
Если работал совместно - никнеймы тех, кто помогал.
Expand Down
2 changes: 2 additions & 0 deletions mods/_fd/fd_species/_fd_species.dme
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@

#include "whitelist.dm"

#include "shells.dm"

#endif
18 changes: 18 additions & 0 deletions mods/_fd/fd_species/shells.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/datum/robolimb/veymed
species_cannot_use = list()

/datum/species/machine
genders = list(NEUTER, MALE, FEMALE, PLURAL)
appearance_flags = SPECIES_APPEARANCE_HAS_HAIR_COLOR | SPECIES_APPEARANCE_HAS_UNDERWEAR | SPECIES_APPEARANCE_HAS_EYE_COLOR //IPCs can wear undies too :(

/datum/sprite_accessory
species_allowed = list(SPECIES_HUMAN, SPECIES_IPC)

/datum/sprite_accessory/hair/bald
species_allowed = list(SPECIES_HUMAN,SPECIES_UNATHI,SPECIES_VOX,SPECIES_IPC)

/datum/sprite_accessory/marking/human
species_allowed = list(SPECIES_HUMAN, SPECIES_IPC)

/datum/sprite_accessory/marking/hair_fade
species_allowed = list(SPECIES_HUMAN, SPECIES_IPC)

0 comments on commit caba1f3

Please sign in to comment.