Adds New PoI Features + Bonus PoI

This commit is contained in:
Neerti
2019-01-10 17:17:43 -05:00
committed by Novacat
parent dbd85f3243
commit 91a5203e32
37 changed files with 1287 additions and 418 deletions
@@ -180,6 +180,8 @@ the artifact triggers the rage.
accuracy = -75 // Aiming requires focus.
accuracy_dispersion = 3 // Ditto.
evasion = -45 // Too angry to dodge.
<<<<<<< HEAD
=======
// Non-cult version of deep wounds.
// Surprisingly, more dangerous.
@@ -213,6 +215,10 @@ the artifact triggers the rage.
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
var/damage_per_tick = 5
/datum/modifier/fire/intense
mob_overlay_state = "on_fire_intense"
damage_per_tick = 10
/datum/modifier/fire/tick()
holder.inflict_heat_damage(damage_per_tick)
@@ -452,6 +452,13 @@
emp_act(1)
to_chat(src, span("critical", "You've been struck by lightning!"))
// Called when touching a lava tile.
// Does roughly 100 damage to unprotected mobs, and 20 to fully protected mobs.
/mob/living/lava_act()
add_modifier(/datum/modifier/fire/intense, 8 SECONDS) // Around 40 total if left to burn and without fire protection per stack.
inflict_heat_damage(40) // Another 40, however this is instantly applied to unprotected mobs.
adjustFireLoss(20) // Lava cannot be 100% resisted with fire protection.
/mob/living/proc/reagent_permeability()
return 1
return round(FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE*(fire_stacks/FIRE_MAX_FIRESUIT_STACKS)**2)
@@ -216,6 +216,17 @@
ash()
return // No point deafening something that wont exist.
// Lava
/mob/living/simple_mob/lava_act()
..()
// Similar to lightning, the mob is turned to ash if the lava tick was fatal and it isn't a player.
// Unlike lightning, we don't add an additional damage spike (since lava already hurts a lot).
if(!client)
updatehealth()
if(health <= 0)
visible_message(span("critical", "\The [src] flashes into ash as the lava consumes them!"))
ash()
// Injections.
/mob/living/simple_mob/can_inject(mob/user, error_msg, target_zone, ignore_thickness)
if(ignore_thickness)