-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds a fennec mob fennec! * Adds a fennec crate as well * Update modular_nova/master_files/code/modules/mob/living/simple_animal/friendly/fennec.dm Co-authored-by: Bloop <[email protected]> * Update modular_nova/master_files/code/modules/mob/living/simple_animal/friendly/fennec.dm Co-authored-by: Bloop <[email protected]> * Turns the fennec into a fox subtype instead * Adds a missing breeding component & hunt sprites * Fixes a little merging error. --------- Co-authored-by: Bloop <[email protected]>
- Loading branch information
1 parent
76bb290
commit 5112f3d
Showing
8 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
modular_nova/master_files/code/modules/mob/living/simple_animal/friendly/fennec.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,62 @@ | ||
/mob/living/basic/pet/cat/fennec | ||
name = "fennec fox" | ||
desc = "Vulpes Zerda. Also known as a Goob or a Dingler." | ||
icon = 'modular_nova/master_files/icons/mob/pets.dmi' | ||
icon_state = "fennec" | ||
icon_living = "fennec" | ||
icon_dead = "fennec_dead" | ||
held_lh = 'modular_nova/master_files/icons/mob/inhands/pets_held_lh.dmi' | ||
held_rh = 'modular_nova/master_files/icons/mob/inhands/pets_held_rh.dmi' | ||
head_icon = 'modular_nova/master_files/icons/mob/clothing/head/pets_head.dmi' | ||
speak_emote = list("screms", "squeaks", "rrrfs") | ||
butcher_results = list( | ||
/obj/item/food/meat/slab = 1, | ||
) | ||
collar_icon_state = null | ||
has_collar_resting_icon_state = FALSE | ||
can_be_held = TRUE | ||
worn_slot_flags = ITEM_SLOT_HEAD | ||
held_state = "fennec" | ||
ai_controller = /datum/ai_controller/basic_controller/cat/fennec | ||
|
||
/mob/living/basic/pet/cat/fennec/update_overlays() | ||
. = ..() | ||
if(stat == DEAD || resting || !held_food) | ||
return | ||
if(istype(held_food, /obj/item/fish)) | ||
held_item_overlay = mutable_appearance(icon, "fennec_fish_overlay") | ||
if(istype(held_food, /obj/item/food/deadmouse)) | ||
held_item_overlay = mutable_appearance(icon, "fennec_mouse_overlay") | ||
. += held_item_overlay | ||
|
||
/datum/ai_planning_subtree/random_speech/fennecs | ||
speech_chance = 5 | ||
speak = list( | ||
"screm!", | ||
"rrrrf!", | ||
"screech!", | ||
"aaaaaa!", | ||
"squeak!", | ||
"yip!", | ||
"squee!", | ||
) | ||
|
||
/datum/ai_controller/basic_controller/cat/fennec | ||
planning_subtrees = list( | ||
/datum/ai_planning_subtree/reside_in_home, | ||
/datum/ai_planning_subtree/flee_target/from_flee_key/cat_struggle, | ||
/datum/ai_planning_subtree/find_and_hunt_target/hunt_mice, | ||
/datum/ai_planning_subtree/find_and_hunt_target/find_cat_food, | ||
/datum/ai_planning_subtree/simple_find_target, | ||
/datum/ai_planning_subtree/haul_food_to_young, | ||
/datum/ai_planning_subtree/territorial_struggle, | ||
/datum/ai_planning_subtree/make_babies, | ||
/datum/ai_planning_subtree/random_speech/fennecs, | ||
) | ||
|
||
/mob/living/basic/pet/cat/fennec/add_breeding_component() | ||
AddComponent(\ | ||
/datum/component/breed,\ | ||
can_breed_with = typecacheof(list(/mob/living/basic/pet/cat/fennec)),\ | ||
baby_path = /mob/living/basic/pet/cat/fennec,\ | ||
) |
Binary file not shown.
Binary file modified
BIN
+291 Bytes
(150%)
modular_nova/master_files/icons/mob/inhands/pets_held_lh.dmi
Binary file not shown.
Binary file modified
BIN
+297 Bytes
(150%)
modular_nova/master_files/icons/mob/inhands/pets_held_rh.dmi
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
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