Skip to content

Commit

Permalink
Light changes
Browse files Browse the repository at this point in the history
Почистил код где надо, переместил иконки органов вринов в отдельный файл.
  • Loading branch information
oi98 committed Nov 16, 2024
1 parent 31301d3 commit 8c18a2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
16 changes: 0 additions & 16 deletions code/__HELPERS/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,6 @@
var/h_style = "Bald"
var/list/valid_hairstyles = list()

if(species == SPECIES_WRYN) // wryns antennaes now bound to hivenode, no need to change them
if(H)
var/obj/item/organ/external/head/head_organ = H.get_organ(BODY_ZONE_HEAD)
if(head_organ?.h_style)
return head_organ.h_style
else
for(var/hairstyle in GLOB.hair_styles_public_list) // cycle for putting hair styles into list
var/datum/sprite_accessory/S = GLOB.hair_styles_public_list[hairstyle]

if(hairstyle != "Bald" && species in S.species_allowed)
valid_hairstyles += hairstyle
if(valid_hairstyles.len)
h_style = pick(valid_hairstyles)
return h_style


for(var/hairstyle in GLOB.hair_styles_public_list)
var/datum/sprite_accessory/S = GLOB.hair_styles_public_list[hairstyle]

Expand Down
5 changes: 3 additions & 2 deletions code/modules/surgery/organs/subtypes/wryn.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/obj/item/organ/internal/wryn/hivenode
species_type = /datum/species/wryn
name = "antennae"
icon = 'icons/mob/human_races/r_wryn.dmi'
icon = 'icons/obj/species_organs/wryn.dmi'
icon_state = "antennae"
parent_organ_zone = BODY_ZONE_HEAD
slot = INTERNAL_ORGAN_HIVENODE
Expand All @@ -27,7 +27,8 @@
/obj/item/organ/internal/wryn/glands
species_type = /datum/species/wryn
name = "wryn wax glands"
icon_state = "eggsac"
icon = 'icons/obj/species_organs/wryn.dmi'
icon_state = "waxsac"
parent_organ_zone = BODY_ZONE_PRECISE_MOUTH
slot = INTERNAL_ORGAN_WAX_GLANDS
var/datum/action/innate/honeycomb/honeycomb = new
Expand Down
Binary file added icons/obj/species_organs/wryn.dmi
Binary file not shown.

0 comments on commit 8c18a2d

Please sign in to comment.