Files
Paradise/code/modules/mob/living/basic/hostile/bear.dm
PollardTheDragon b33f74594a Converts space bears, space carp, and space bats to basic mobs (#29775)
* Bears and bats.

* Carp

* Comments, file locations

* Linters!

* Moved initial emotes for basic mobs to a component

* Linters

* Adjusted emote chance for space bats

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

* Updatepaths

* Apply code review suggestions

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2025-07-26 05:53:00 +00:00

83 lines
3.2 KiB
Plaintext

// Space bears!
/mob/living/basic/bear
name = "space bear"
desc = "You don't need to be faster than a space bear, you just need to outrun your crewmates."
icon_state = "bear"
icon_living = "bear"
icon_dead = "bear_dead"
icon_gib = "bear_gib"
mob_biotypes = MOB_ORGANIC | MOB_BEAST
speak_emote = list("growls", "roars")
see_in_dark = 6
butcher_results = list(/obj/item/food/monstermeat/bearmeat = 5, /obj/item/clothing/head/bearpelt = 1)
response_help_continuous = "pets"
response_help_simple = "pet"
response_disarm_continuous = "gently pushes aside"
response_disarm_simple = "gently push aside"
attack_verb_continuous = "mauls"
attack_verb_simple = "maul"
friendly_verb_continuous = "bear hugs"
friendly_verb_simple = "bear hug"
attack_sound = 'sound/effects/bite.ogg'
maxHealth = 60
health = 60
obj_damage = 60
melee_attack_cooldown_min = 1.5 SECONDS
melee_attack_cooldown_max = 2.5 SECONDS
melee_damage_lower = 20
melee_damage_upper = 30
environment_smash = ENVIRONMENT_SMASH_STRUCTURES
attack_sound = 'sound/weapons/genhit3.ogg'
ai_controller = /datum/ai_controller/basic_controller/simple/simple_hostile_obstacles
// Space bears aren't affected by atmos.
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
minimum_survivable_temperature = 0
faction = list("soviet")
gold_core_spawnable = HOSTILE_SPAWN
step_type = FOOTSTEP_MOB_CLAW
/mob/living/basic/bear/Initialize(mapload)
. = ..()
AddComponent(/datum/component/aggro_emote, emote_list = list("roars"))
/mob/living/basic/bear/Process_Spacemove(movement_dir = 0, continuous_move = FALSE)
return TRUE // No drifting in space for space bears!
/mob/living/basic/bear/black
name = "black bear"
icon_state = "black_bear"
icon_living = "black_bear"
icon_dead = "black_bear_dead"
butcher_results = list(/obj/item/food/monstermeat/bearmeat = 5, /obj/item/clothing/head/bearpelt/black = 1)
/mob/living/basic/bear/brown
name = "brown bear"
icon_state = "brown_bear"
icon_living = "brown_bear"
icon_dead = "brown_bear_dead"
butcher_results = list(/obj/item/food/monstermeat/bearmeat = 5, /obj/item/clothing/head/bearpelt/brown = 1)
/mob/living/basic/bear/polar
name = "polar bear"
desc = "Found in the most extreme climates, its insides won't protect you from that kind of cold."
icon_state = "polar_bear"
icon_living = "polar_bear"
icon_dead = "polar_bear_dead"
butcher_results = list(/obj/item/food/monstermeat/bearmeat = 5, /obj/item/clothing/head/bearpelt/polar = 1)
// SPACE BEARS! SQUEEEEEEEE~ OW! FUCK! IT BIT MY HAND OFF!!
/mob/living/basic/bear/hudson
name = "Hudson"
desc = "Feared outlaw, this guy is one bad news bear." // I'm sorry...
icon_state = "combat_bear"
icon_living = "combat_bear"
icon_dead = "combat_bear_dead"
butcher_results = list(/obj/item/food/monstermeat/bearmeat = 5, /obj/item/clothing/head/bearpelt/brown = 1)
/mob/living/basic/bear/hudson/Initialize(mapload)
. = ..()
var/unbearable_pun = pick("He's unbearably cute.", "It looks like he is a bearer of bad news.", "Sadly, he is bearly able to comprehend puns.")
desc = "That's Hudson. " + unbearable_pun // I am not sorry for this.