mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Space ruin: The sieged lab, a submap extravaganza. (#28393)
* Space ruin: The sieged lab, a submap extravaganza. * fix airlock access * fix skiff, make whole lab teleproof for now * indestructible rivet command room * add strategically placed helpful items/spawners * fix gun rack placement * no butchering on harbinger murder * small adjustments * esword drop as a treat, m90 seems excessive * make boss door obvious * Lots of map/boss fixes * Update everything for razor wire, try and unfuck some weird AI behavior * stupid mines * sort and fix comments for different ruin categories * always place ruin for TM * first batch of fixes * reinforce hard rock walls * tweaks * improve hard rock design * tiny cleanups * singleton out med and sci rooms * kitchen rework updatepath * run updatepaths * update maplint exceptions
This commit is contained in:
@@ -61,6 +61,7 @@ Difficulty: Medium
|
||||
/datum/action/innate/megafauna_attack/transform_weapon)
|
||||
|
||||
initial_traits = list() // Don't want to inherit flight from parent type /megafauna/
|
||||
var/death_simplemob_representation = /obj/effect/temp_visual/dir_setting/miner_death
|
||||
|
||||
/obj/item/gps/internal/miner
|
||||
icon_state = null
|
||||
@@ -140,7 +141,7 @@ Difficulty: Medium
|
||||
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/death()
|
||||
if(health > 0)
|
||||
return
|
||||
new /obj/effect/temp_visual/dir_setting/miner_death(loc, dir)
|
||||
new death_simplemob_representation(loc, dir)
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/Move(atom/newloc)
|
||||
@@ -157,6 +158,16 @@ Difficulty: Medium
|
||||
transform_stop_attack = FALSE
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/proc/butcher(mob/living/L)
|
||||
visible_message("<span class='danger'>[src] butchers [L]!</span>",
|
||||
"<span class='userdanger'>You butcher [L], restoring your health!</span>")
|
||||
if(!is_station_level(z) || client) //NPC monsters won't heal while on station
|
||||
if(guidance)
|
||||
adjustHealth(-L.maxHealth)
|
||||
else
|
||||
adjustHealth(-(L.maxHealth * 0.5))
|
||||
L.gib()
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/AttackingTarget()
|
||||
if(client)
|
||||
transform_stop_attack = FALSE
|
||||
@@ -166,14 +177,7 @@ Difficulty: Medium
|
||||
if(isliving(target))
|
||||
var/mob/living/L = target
|
||||
if(L.stat == DEAD)
|
||||
visible_message("<span class='danger'>[src] butchers [L]!</span>",
|
||||
"<span class='userdanger'>You butcher [L], restoring your health!</span>")
|
||||
if(!is_station_level(z) || client) //NPC monsters won't heal while on station
|
||||
if(guidance)
|
||||
adjustHealth(-L.maxHealth)
|
||||
else
|
||||
adjustHealth(-(L.maxHealth * 0.5))
|
||||
L.gib()
|
||||
butcher(L)
|
||||
return TRUE
|
||||
changeNext_move(CLICK_CD_MELEE)
|
||||
miner_saw.melee_attack_chain(src, target)
|
||||
|
||||
Reference in New Issue
Block a user