mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-09 00:52:09 +00:00
* Butterflies, Cockroaches, Slothes, Snakes, Penguins, and Bunny Basic Mobs * Lizards too * Oops * Lizard emote keybind * Updatepaths * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> * Moved lizard emote to basic_emotes.dm, simplified hide action * New linters * Merge conflict resolution --------- Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
/mob/living/basic/butterfly
|
|
name = "butterfly"
|
|
desc = "A colorful butterfly, how'd it get up here?"
|
|
icon_state = "butterfly"
|
|
icon_living = "butterfly"
|
|
icon_dead = "butterfly_dead"
|
|
faction = list("neutral", "jungle")
|
|
response_help_continuous = "shoos"
|
|
response_help_simple = "shoo"
|
|
response_disarm_continuous = "brushes aside"
|
|
response_disarm_simple = "brush aside"
|
|
response_harm_continuous = "squashes"
|
|
response_harm_simple = "squash"
|
|
ai_controller = /datum/ai_controller/basic_controller/butterfly
|
|
maxHealth = 2
|
|
health = 2
|
|
harm_intent_damage = 1
|
|
density = FALSE
|
|
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
|
|
ventcrawler = VENTCRAWLER_ALWAYS
|
|
mob_size = MOB_SIZE_TINY
|
|
mob_biotypes = MOB_ORGANIC | MOB_BUG
|
|
butcher_results = list(/obj/item/food/meat = 0)
|
|
gold_core_spawnable = FRIENDLY_SPAWN
|
|
initial_traits = list(TRAIT_FLYING, TRAIT_EDIBLE_BUG)
|
|
|
|
/mob/living/basic/butterfly/Initialize(mapload)
|
|
. = ..()
|
|
color = rgb(rand(0, 255), rand(0, 255), rand(0, 255))
|
|
|
|
/datum/ai_controller/basic_controller/butterfly
|
|
ai_movement = /datum/ai_movement/basic_avoidance
|
|
idle_behavior = /datum/idle_behavior/idle_random_walk
|