-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from Glyphee/goblintime
Goblin Time
- Loading branch information
Showing
18 changed files
with
206 additions
and
1 deletion.
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
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
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
16 changes: 16 additions & 0 deletions
16
monkestation/code/modules/client/preferences/species_features/goblin.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,16 @@ | ||
/datum/preference/choiced/goblin_ears | ||
savefile_key = "feature_goblin_ears" | ||
savefile_identifier = PREFERENCE_CHARACTER | ||
category = PREFERENCE_CATEGORY_FEATURES | ||
main_feature_name = "Goblin Ears" | ||
should_generate_icons = TRUE | ||
|
||
/datum/preference/choiced/goblin_ears/init_possible_values() | ||
return possible_values_for_sprite_accessory_list_for_body_part( | ||
GLOB.goblin_ears_list, | ||
"goblin_ears", | ||
list("ADJ", "FRONT"), | ||
) | ||
|
||
/datum/preference/choiced/goblin_ears/apply_to_human(mob/living/carbon/human/target, value) | ||
target.dna.features["goblin_ears"] = value |
19 changes: 19 additions & 0 deletions
19
monkestation/code/modules/mob/dead/new_player/sprite_accessories/goblin_accessories.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,19 @@ | ||
/datum/sprite_accessory/goblin_ears | ||
icon = 'monkestation/icons/mob/species/goblin/goblin_ears.dmi' | ||
color_src = MUTCOLORS | ||
|
||
/datum/sprite_accessory/goblin_ears/normal | ||
name = "Normal" | ||
icon_state = "normal" | ||
|
||
/datum/sprite_accessory/goblin_ears/wide | ||
name = "Wide" | ||
icon_state = "wide" | ||
|
||
/datum/sprite_accessory/goblin_ears/broad | ||
name = "Broad" | ||
icon_state = "broad" | ||
|
||
/datum/sprite_accessory/goblin_ears/long | ||
name = "Long" | ||
icon_state = "long" |
128 changes: 128 additions & 0 deletions
128
monkestation/code/modules/mob/living/carbon/human/species_type/goblin.dm
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
monkestation/code/modules/surgery/organs/external/goblin_accessories.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,25 @@ | ||
/obj/item/organ/external/goblin_ears | ||
name = "goblin ears" | ||
desc = "They don't actually let you hear better." | ||
icon_state = "goblin_ears" | ||
icon = 'monkestation/icons/obj/medical/organs/organs.dmi' | ||
|
||
preference = "feature_goblin_ears" | ||
zone = BODY_ZONE_HEAD | ||
slot = ORGAN_SLOT_EXTERNAL_FRILLS | ||
|
||
use_mob_sprite_as_obj_sprite = TRUE | ||
bodypart_overlay = /datum/bodypart_overlay/mutant/goblin_ears | ||
|
||
/datum/bodypart_overlay/mutant/goblin_ears | ||
layers = EXTERNAL_ADJACENT | EXTERNAL_FRONT | ||
feature_key = "goblin_ears" | ||
|
||
/datum/bodypart_overlay/mutant/goblin_ears/get_global_feature_list() | ||
return GLOB.goblin_ears_list | ||
|
||
/datum/bodypart_overlay/mutant/goblin_ears/get_base_icon_state() | ||
return sprite_datum.icon_state | ||
|
||
/datum/bodypart_overlay/mutant/goblin_ears/can_draw_on_bodypart(mob/living/carbon/human/human) | ||
return TRUE |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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