|
1 | | -/mob/living/simple_animal/lesserdemon |
| 1 | +/mob/living/basic/lesserdemon |
2 | 2 | name = "demon" |
3 | 3 | real_name = "demon" |
4 | 4 | desc = "A large, menacing creature covered in armored red scales." |
5 | 5 | speak_emote = list("cackles") |
6 | | - emote_hear = list("cackles","screeches") |
7 | 6 | response_help_continuous = "thinks better of touching" |
8 | 7 | response_help_simple = "thinks better of touchingt" |
9 | 8 | response_disarm_continuous = "flails at" |
|
15 | 14 | icon_living = "lesserdaemon" |
16 | 15 | mob_biotypes = MOB_ORGANIC|MOB_HUMANOID |
17 | 16 | speed = 1 |
18 | | - combat_mode = TRUE |
19 | | - stop_automated_movement = 1 |
20 | | - status_flags = CANPUSH |
21 | 17 | attack_sound = 'sound/effects/magic/demon_attack1.ogg' |
22 | 18 | death_sound = 'sound/effects/magic/demon_dies.ogg' |
23 | 19 | death_message = "wails in anger and fear as it collapses in defeat!" |
24 | | - atmos_requirements = null |
25 | | - minbodytemp = 250 //Weak to cold |
26 | | - maxbodytemp = INFINITY |
| 20 | + minimum_survivable_temperature = 250 //Weak to cold |
| 21 | + maximum_survivable_temperature = INFINITY |
27 | 22 | faction = list("hell") |
28 | 23 | attack_verb_continuous = "wildly tears into" |
29 | 24 | attack_verb_simple = "wildly tears into" |
30 | 25 | maxHealth = 150 |
31 | 26 | health = 150 |
32 | | - environment_smash = ENVIRONMENT_SMASH_STRUCTURES |
33 | 27 | obj_damage = 40 |
34 | 28 | melee_damage_lower = 15 |
35 | 29 | melee_damage_upper = 15 |
36 | 30 | wound_bonus = -15 |
37 | 31 | lighting_cutoff_red = 22 |
38 | 32 | lighting_cutoff_green = 5 |
39 | 33 | lighting_cutoff_blue = 5 |
40 | | - loot = (/obj/effect/decal/cleanable/blood) |
41 | | - del_on_death = TRUE |
| 34 | + butcher_results = list(/obj/effect/decal/cleanable/blood) |
| 35 | + basic_mob_flags = DEL_ON_DEATH |
42 | 36 |
|
43 | | -/mob/living/simple_animal/lesserdemon/attackby(obj/item/W, mob/living/caster, params) |
| 37 | +/mob/living/basic/lesserdemon/attackby(obj/item/W, mob/living/caster, params) |
44 | 38 | . = ..() |
45 | 39 | if(istype(W, /obj/item/nullrod)) |
46 | 40 | visible_message(span_warning("[src] screams in unholy pain from the blow!"), \ |
47 | 41 | span_cult("As \the [W] hits you, you feel holy power blast through your form, tearing it apart!")) |
48 | | - adjust_brute_loss(22) //22(0) extra damage from the nullrod while in your true form of massmeta. On average this means 40 damage is taken now. |
| 42 | + adjust_brute_loss(22) //22 extra damage from the nullrod while in your true form. On average this means 40 damage is taken now. |
49 | 43 |
|
50 | | -/mob/living/simple_animal/lesserdemon/UnarmedAttack(atom/attack_target, proximity_flag, list/modifiers)//10 hp healed from landing a hit. |
| 44 | +/mob/living/basic/lesserdemon/UnarmedAttack(atom/attack_target, proximity_flag, list/modifiers)//10 hp healed from landing a hit. |
51 | 45 | if(!isliving(attack_target)) |
52 | 46 | return ..() |
53 | 47 | var/mob/living/living_target = attack_target |
54 | 48 | if(living_target.stat != DEAD && !living_target.can_block_magic(MAGIC_RESISTANCE_HOLY|MAGIC_RESISTANCE_MIND)) //demons do not gain succor from the dead or holy |
55 | | - adjustHealth(-maxHealth * 0.05) |
| 49 | + adjust_health(-maxHealth * 0.05) |
56 | 50 | return ..() |
57 | 51 |
|
58 | | -/mob/living/simple_animal/lesserdemon/Life(seconds_per_tick = SSMOBS_DT, times_fired) |
| 52 | +/mob/living/basic/lesserdemon/Life(seconds_per_tick = SSMOBS_DT, times_fired) |
59 | 53 | . = ..() |
60 | 54 | if(!src) |
61 | 55 | return |
62 | 56 | if(istype(get_area(src.loc), /area/station/service/chapel)) //being a non-carbon will not save you! |
63 | 57 | if(src.stat != DEAD) //being dead, however, will save you |
64 | 58 | src.visible_message(span_warning("[src] begins to melt apart!"), span_danger("Your very soul melts from the holy room!"), "You hear sizzling.") |
65 | | - adjustHealth(20) //(2)20 damage every ~2 seconds. About 20 seconds for a full HP demon to melt apart in the chapel. |
| 59 | + adjust_health(20) //20 damage every ~2 seconds. About 20 seconds for a full HP demon to melt apart in the chapel. |
66 | 60 |
|
67 | | -/mob/living/simple_animal/lesserdemon/Initialize(mapload) |
| 61 | +/mob/living/basic/lesserdemon/Initialize(mapload) |
68 | 62 | . = ..() |
69 | 63 | AddElement(/datum/element/lifesteal, 2) |
0 commit comments