Merge pull request #4974 from CHOMPStation2/revert-439-Lun-Moth

Revert salt pr "Solar Moth nerfs"
This commit is contained in:
Razgriz
2022-09-22 20:32:40 -07:00
committed by GitHub
@@ -17,19 +17,19 @@
var/mycolour = COLOR_BLUE //Variable Lighting colours
var/original_temp = null //Value to remember temp
var/set_temperature = T0C + 450 //Sets the target point of 450 degrees celsius
var/heating_power = 100000 //This controls the strength at which it heats the environment. // The number seems ridiculous but this is actually pretty reasonable - Lunar
var/set_temperature = T0C + 10000 //Sets the target point of 10k degrees celsius
var/heating_power = 100000 //This controls the strength at which it heats the environment.
var/emp_heavy = 2
var/emp_med = 4
var/emp_light = 7
var/emp_long = 10
faction = "grubs"
maxHealth = 200 // Tanky fuckers.
health = 200 // Tanky fuckers.
maxHealth = 400 // Tanky fuckers.
health = 400 // Tanky fuckers.
melee_damage_lower = 5
melee_damage_upper = 10
melee_damage_lower = 1
melee_damage_upper = 5
movement_cooldown = 5
@@ -59,18 +59,18 @@
minbodytemp = 0
heat_damage_per_tick = 0 //Even if the atmos stuff doesn't work, at least it won't take any damage.
armor = list(
"melee" = -50,
"bullet" = 0,
"laser" = 50,
"energy" = 50,
"bomb" = 25,
armor = list(
"melee" = 0,
"bullet" = 90,
"laser" = 100,
"energy" = 100,
"bomb" = 100,
"bio" = 100,
"rad" = 100)
/datum/say_list/solarmoth
emote_see = list("flutters")
/mob/living/simple_mob/vore/solarmoth/apply_melee_effects(var/atom/A)
if(isliving(A))
var/mob/living/L = A
@@ -106,17 +106,17 @@
if(heat_transfer > 0 && env.temperature < T0C + 200) //This should start heating the room at a moderate pace up to 200 degrees celsius.
heat_transfer = min(heat_transfer , heating_power) //limit by the power rating of the heater
removed.add_thermal_energy(heat_transfer)
else if(heat_transfer > 0 && env.temperature < set_temperature) //Set temperature is 450 degrees celsius. Heating rate should increase between 200 and 450 C.
heating_power = original_temp*100
else if(heat_transfer > 0 && env.temperature < set_temperature) //Set temperature is 10,000 degrees celsius. So this thing will start cooking crazy hot between the temperatures of 200C and 10,000C.
heating_power = original_temp*100 //Changed to work variable -shark //FLAME ON! This will make the moth heat up the room at an incredible rate.
heat_transfer = min(heat_transfer , heating_power) //limit by the power rating of the heater. Except it's hot, so yeah.
removed.add_thermal_energy(heat_transfer)
else
return
env.merge(removed)
//Since I'm changing hyper mode to be variable we need to store old power
@@ -132,10 +132,11 @@
/mob/living/simple_mob/vore/solarmoth/death()
explode()
..()
/mob/living/simple_mob/vore/solarmoth/gib() //This baby will explode no matter what you do to it.
explode()
..()
/mob/living/simple_mob/vore/solarmoth/handle_light()
@@ -156,7 +157,9 @@
/mob/living/simple_mob/vore/solarmoth/lunarmoth
name = "lunarmoth"
desc = "A majestic sparkling lunarmoth. Also a slight engineering hazard."
var/nospampls = 0
cold_damage_per_tick = 0
//ATMOS
set_temperature = T0C - 10000
@@ -169,7 +172,7 @@
if(prob(25))
for(var/obj/machinery/light/light in range(5, src))
if(prob(50))
light.broken()
light.broken()
if(prob(10))
for(var/obj/structure/window/window in range(5, src))
if(prob(50))
@@ -180,7 +183,7 @@
visible_message("<span class='danger'>Emergency Shutter malfunction!</span>")
door.blocked = 0
door.open(1)
spawn(100)
nospampls = 0
@@ -188,5 +191,4 @@
..()
if(!nospampls)
chilltheglass() //shatter and broken calls for glass and lights. Also some special thing.