Converts blob mobs to basic mobs (#29806)

* Converts blob mobs to basic mobs

* Linters

* Updatepaths

* Apply review changes

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

* New linters

* Intents

* Lints

* Fixes blobbernaut AI being active after being offered

* Linters

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
PollardTheDragon
2025-10-01 12:25:57 -04:00
committed by GitHub
parent 91a83e7056
commit da37a3a59d
11 changed files with 137 additions and 58 deletions
@@ -144,6 +144,10 @@ RESTRICT_TYPE(/mob/living/basic)
var/melee_attack_cooldown_min = 2 SECONDS
/// Upper bound for melee attack cooldown
var/melee_attack_cooldown_max = 2 SECONDS
/// Can this mob ignite?
var/can_be_on_fire = FALSE
/// How much fire damage does a mob take?
var/fire_damage = 2
/// Loot this mob drops on death.
var/list/loot = list()
@@ -207,6 +211,14 @@ RESTRICT_TYPE(/mob/living/basic)
/mob/living/basic/proc/apply_temperature_requirements()
AddElement(/datum/element/body_temperature, minimum_survivable_temperature, maximum_survivable_temperature, unsuitable_cold_damage, unsuitable_heat_damage)
/mob/living/basic/handle_fire()
if(!can_be_on_fire)
return FALSE
. = ..()
if(!.)
return
adjustFireLoss(fire_damage) // Slowly start dying from being on fire
/mob/living/basic/vv_edit_var(vname, vval)
switch(vname)
if("atmos_requirements", "unsuitable_atmos_damage")