Adds penguins and lizards to new mob framework.

This commit is contained in:
Neerti
2018-08-04 18:44:17 -04:00
parent dd1a5b9ec4
commit c07470cae2
6 changed files with 62 additions and 2 deletions

View File

@@ -110,4 +110,7 @@
say_understood = list("Affirmative.", "Positive.")
say_cannot = list("Denied.", "Negative.")
say_maybe_target = list("Possible threat detected. Investigating.", "Motion detected.", "Investigating.")
say_got_target = list("Threat detected.", "New task: Remove threat.", "Threat removal engaged.", "Engaging target.")
say_got_target = list("Threat detected.", "New task: Remove threat.", "Threat removal engaged.", "Engaging target.")
/datum/say_list/lizard
emote_hear = list("hisses")

View File

@@ -1,2 +1,3 @@
/mob/living/simple_mob/animal
mob_class = MOB_CLASS_ANIMAL
mob_class = MOB_CLASS_ANIMAL
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat

View File

@@ -0,0 +1,24 @@
/mob/living/simple_mob/animal/passive/lizard
name = "lizard"
desc = "A cute, tiny lizard."
tt_desc = "E Anolis cuvieri"
icon_state = "lizard"
icon_living = "lizard"
icon_dead = "lizard-dead"
health = 5
maxHealth = 5
mob_size = MOB_MINISCULE
response_help = "pets"
response_disarm = "shoos"
response_harm = "stomps on"
attacktext = list("bitten")
melee_damage_lower = 1
melee_damage_upper = 2
speak_emote = list("hisses")
say_list_type = /datum/say_list/lizard

View File

@@ -0,0 +1,3 @@
// Passive mobs can't attack things, and will run away instead.
/mob/living/simple_mob/animal/passive
ai_holder_type = /datum/ai_holder/simple_mob/passive

View File

@@ -0,0 +1,26 @@
/mob/living/simple_mob/animal/passive/penguin
name = "penguin"
desc = "An ungainly, waddling, cute, and VERY well-dressed bird."
tt_desc = "Aptenodytes forsteri"
icon_state = "penguin"
icon_living = "penguin"
icon_dead = "penguin_dead"
maxHealth = 20
health = 20
minbodytemp = 175 // Same as Sif mobs.
response_help = "pets"
response_disarm = "pushes aside"
response_harm = "hits"
harm_intent_damage = 5
melee_damage_lower = 10
melee_damage_upper = 15
attacktext = list("pecked")
has_langs = list("Bird")
/mob/living/simple_mob/animal/passive/penguin/tux
name = "Tux"
desc = "A penguin that has been known to associate with gnus."