[MIRROR] intent cleanup (#9778)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-03 13:57:25 -07:00
committed by GitHub
parent 667c3c4c13
commit 16d5b45148
53 changed files with 115 additions and 111 deletions

View File

@@ -20,6 +20,7 @@
#define FACTION_VIRGO3B "virgo3b" #define FACTION_VIRGO3B "virgo3b"
#define FACTION_ALTEVIAN "altevian" #define FACTION_ALTEVIAN "altevian"
#define FACTION_BLACKHOLE "blackhole" //CHOMPAdd
#define FACTION_CULT "cult" #define FACTION_CULT "cult"
#define FACTION_ECLIPSE "eclipse" //CHOMPAdd #define FACTION_ECLIPSE "eclipse" //CHOMPAdd
#define FACTION_GLAMOUR "glamour" #define FACTION_GLAMOUR "glamour"

View File

@@ -75,6 +75,9 @@
#define I_GRAB "grab" #define I_GRAB "grab"
#define I_HURT "harm" #define I_HURT "harm"
#define I_RUN "run"
#define I_WALK "walk"
//These are used Bump() code for living mobs, in the mob_bump_flag, mob_swap_flags, and mob_push_flags vars to determine whom can bump/swap with whom. //These are used Bump() code for living mobs, in the mob_bump_flag, mob_swap_flags, and mob_push_flags vars to determine whom can bump/swap with whom.
#define HUMAN 1 #define HUMAN 1
#define MONKEY 2 #define MONKEY 2

View File

@@ -12,7 +12,7 @@
using.name = "mov_intent" using.name = "mov_intent"
using.set_dir(SOUTHWEST) using.set_dir(SOUTHWEST)
using.icon = HUD.ui_style using.icon = HUD.ui_style
using.icon_state = (m_intent == "run" ? "running" : "walking") using.icon_state = (m_intent == I_RUN ? "running" : "walking")
using.screen_loc = ui_acti using.screen_loc = ui_acti
using.layer = HUD_LAYER using.layer = HUD_LAYER
HUD.adding += using HUD.adding += using

View File

@@ -132,7 +132,7 @@
using = new /obj/screen() using = new /obj/screen()
using.name = "mov_intent" using.name = "mov_intent"
using.icon = HUD.ui_style using.icon = HUD.ui_style
using.icon_state = (m_intent == "run" ? "running" : "walking") using.icon_state = (m_intent == I_RUN ? "running" : "walking")
using.screen_loc = ui_movi using.screen_loc = ui_movi
using.color = HUD.ui_color using.color = HUD.ui_color
using.alpha = HUD.ui_alpha using.alpha = HUD.ui_alpha

View File

@@ -85,7 +85,7 @@ var/obj/screen/robot_inventory
using = new /obj/screen() using = new /obj/screen()
using.name = "mov_intent" using.name = "mov_intent"
using.icon = HUD.ui_style using.icon = HUD.ui_style
using.icon_state = (m_intent == "run" ? "running" : "walking") using.icon_state = (m_intent == I_RUN ? "running" : "walking")
using.screen_loc = ui_movi using.screen_loc = ui_movi
using.color = HUD.ui_color using.color = HUD.ui_color
using.alpha = HUD.ui_alpha using.alpha = HUD.ui_alpha
@@ -230,7 +230,7 @@ var/obj/screen/robot_inventory
else if(speed == -1) else if(speed == -1)
using.icon_state = "speed_2" using.icon_state = "speed_2"
HUD.control_vtec = using HUD.control_vtec = using
m_intent = "run" m_intent = I_RUN
HUD.move_intent.icon_state = "running" HUD.move_intent.icon_state = "running"
client.screen += HUD.control_vtec client.screen += HUD.control_vtec
@@ -254,7 +254,7 @@ var/obj/screen/robot_inventory
control_vtec.icon_state = "speed_1" control_vtec.icon_state = "speed_1"
else if(R.speed == -1) else if(R.speed == -1)
control_vtec.icon_state = "speed_2" control_vtec.icon_state = "speed_2"
R.m_intent = "run" R.m_intent = I_RUN
R.hud_used.move_intent.icon_state = "running" R.hud_used.move_intent.icon_state = "running"
R.client?.screen += control_vtec R.client?.screen += control_vtec
else else

View File

@@ -291,36 +291,36 @@
var/mob/living/carbon/C = usr var/mob/living/carbon/C = usr
if(C.legcuffed) if(C.legcuffed)
to_chat(C, span_notice("You are legcuffed! You cannot run until you get [C.legcuffed] removed!")) to_chat(C, span_notice("You are legcuffed! You cannot run until you get [C.legcuffed] removed!"))
C.m_intent = "walk" //Just incase C.m_intent = I_WALK //Just incase
C.hud_used.move_intent.icon_state = "walking" C.hud_used.move_intent.icon_state = "walking"
return 1 return 1
var/mob/living/L = usr var/mob/living/L = usr
switch(L.m_intent) switch(L.m_intent)
if("run") if(I_RUN)
L.m_intent = "walk" L.m_intent = I_WALK
L.hud_used.move_intent.icon_state = "walking" L.hud_used.move_intent.icon_state = "walking"
if("walk") if(I_WALK)
L.m_intent = "run" L.m_intent = I_RUN
L.hud_used.move_intent.icon_state = "running" L.hud_used.move_intent.icon_state = "running"
if("m_intent") if("m_intent")
if(!usr.m_int) if(!usr.m_int)
switch(usr.m_intent) switch(usr.m_intent)
if("run") if(I_RUN)
usr.m_int = "13,14" usr.m_int = "13,14"
if("walk") if(I_WALK)
usr.m_int = "14,14" usr.m_int = "14,14"
if("face") if("face")
usr.m_int = "15,14" usr.m_int = "15,14"
else else
usr.m_int = null usr.m_int = null
if("walk") if(I_WALK)
usr.m_intent = "walk" usr.m_intent = I_WALK
usr.m_int = "14,14" usr.m_int = "14,14"
if("face") if("face")
usr.m_intent = "face" usr.m_intent = "face"
usr.m_int = "15,14" usr.m_int = "15,14"
if("run") if(I_RUN)
usr.m_intent = "run" usr.m_intent = I_RUN
usr.m_int = "13,14" usr.m_int = "13,14"
if("Reset Machine") if("Reset Machine")
usr.unset_machine() usr.unset_machine()

View File

@@ -384,7 +384,7 @@ var/list/mob/living/forced_ambiance_list = new
if(!L.lastarea) if(!L.lastarea)
L.lastarea = src L.lastarea = src
var/area/oldarea = L.lastarea var/area/oldarea = L.lastarea
if((oldarea.get_gravity() == 0) && (get_gravity() == 1) && (L.m_intent == "run")) // Being ready when you change areas gives you a chance to avoid falling all together. if((oldarea.get_gravity() == 0) && (get_gravity() == 1) && (L.m_intent == I_RUN)) // Being ready when you change areas gives you a chance to avoid falling all together.
thunk(L) thunk(L)
L.update_floating( L.Check_Dense_Object() ) L.update_floating( L.Check_Dense_Object() )
@@ -450,7 +450,7 @@ var/list/mob/living/forced_ambiance_list = new
if(H.species.can_zero_g_move || H.species.can_space_freemove) if(H.species.can_zero_g_move || H.species.can_space_freemove)
return return
if(H.m_intent == "run") if(H.m_intent == I_RUN)
H.AdjustStunned(1) // CHOMPedit: No longer a supermassive long stun. H.AdjustStunned(1) // CHOMPedit: No longer a supermassive long stun.
// H.AdjustWeakened(6) // CHOMPedit: No longer weakens. // H.AdjustWeakened(6) // CHOMPedit: No longer weakens.
else else

View File

@@ -41,13 +41,13 @@
to_chat(src, span_notice("We may move at our normal speed while hidden.")) to_chat(src, span_notice("We may move at our normal speed while hidden."))
if(must_walk) if(must_walk)
H.set_m_intent("walk") H.set_m_intent(I_WALK)
var/remain_cloaked = TRUE var/remain_cloaked = TRUE
while(remain_cloaked) //This loop will keep going until the player uncloaks. while(remain_cloaked) //This loop will keep going until the player uncloaks.
sleep(1 SECOND) // Sleep at the start so that if something invalidates a cloak, it will drop immediately after the check and not in one second. sleep(1 SECOND) // Sleep at the start so that if something invalidates a cloak, it will drop immediately after the check and not in one second.
if(H.m_intent != "walk" && must_walk) // Moving too fast uncloaks you. if(H.m_intent != I_WALK && must_walk) // Moving too fast uncloaks you.
remain_cloaked = 0 remain_cloaked = 0
if(!H.mind.changeling.cloaked) if(!H.mind.changeling.cloaked)
remain_cloaked = 0 remain_cloaked = 0
@@ -65,7 +65,7 @@
H.invisibility = initial(invisibility) H.invisibility = initial(invisibility)
visible_message(span_warning("[src] suddenly fades in, seemingly from nowhere!"), visible_message(span_warning("[src] suddenly fades in, seemingly from nowhere!"),
span_notice("We revert our camouflage, revealing ourselves.")) span_notice("We revert our camouflage, revealing ourselves."))
H.set_m_intent("run") H.set_m_intent(I_RUN)
H.mind.changeling.cloaked = 0 H.mind.changeling.cloaked = 0
H.mind.changeling.chem_recharge_rate = old_regen_rate H.mind.changeling.chem_recharge_rate = old_regen_rate

View File

@@ -113,7 +113,7 @@
if(iscarbon(AM)) if(iscarbon(AM))
var/mob/living/carbon/M = AM var/mob/living/carbon/M = AM
if(M.m_intent != "walk") if(M.m_intent != I_WALK)
flash() flash()
/obj/machinery/flasher/portable/attackby(obj/item/W as obj, mob/user as mob) /obj/machinery/flasher/portable/attackby(obj/item/W as obj, mob/user as mob)

View File

@@ -61,7 +61,7 @@
..() ..()
/obj/item/deskbell/proc/ring(mob/user) /obj/item/deskbell/proc/ring(mob/user)
if(user.a_intent == "harm") if(user.a_intent == I_HURT)
playsound(src, 'sound/effects/deskbell_rude.ogg', 50, 1) playsound(src, 'sound/effects/deskbell_rude.ogg', 50, 1)
to_chat(user,span_notice("You hammer [src] rudely!")) to_chat(user,span_notice("You hammer [src] rudely!"))
if (prob(2)) if (prob(2))

View File

@@ -207,7 +207,7 @@
/obj/item/glass_jar/fish/afterattack(var/atom/A, var/mob/user, var/proximity) /obj/item/glass_jar/fish/afterattack(var/atom/A, var/mob/user, var/proximity)
if(!filled) if(!filled)
if(istype(A, /obj/structure/sink) || istype(A, /turf/simulated/floor/water)) if(istype(A, /obj/structure/sink) || istype(A, /turf/simulated/floor/water))
if(contains && user.a_intent == "help") if(contains && user.a_intent == I_HELP)
to_chat(user, span_warning("That probably isn't the best idea.")) to_chat(user, span_warning("That probably isn't the best idea."))
return return
@@ -221,7 +221,7 @@
/obj/item/glass_jar/fish/attack_self(var/mob/user) /obj/item/glass_jar/fish/attack_self(var/mob/user)
if(filled) if(filled)
if(contains == JAR_ANIMAL) if(contains == JAR_ANIMAL)
if(user.a_intent == "help") if(user.a_intent == I_HELP)
to_chat(user, span_notice("Maybe you shouldn't empty the water...")) to_chat(user, span_notice("Maybe you shouldn't empty the water..."))
return return

View File

@@ -257,7 +257,7 @@
return return
if((ishuman(H))) //i guess carp and shit shouldn't set them off if((ishuman(H))) //i guess carp and shit shouldn't set them off
var/mob/living/carbon/M = H var/mob/living/carbon/M = H
if(M.m_intent == "run") if(M.m_intent == I_RUN)
to_chat(M, span_warning("You step on the snap pop!")) to_chat(M, span_warning("You step on the snap pop!"))
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread

View File

@@ -274,8 +274,8 @@ var/last_chew = 0
lcuffs.loc = target lcuffs.loc = target
target.legcuffed = lcuffs target.legcuffed = lcuffs
target.update_inv_legcuffed() target.update_inv_legcuffed()
if(target.m_intent != "walk") if(target.m_intent != I_WALK)
target.m_intent = "walk" target.m_intent = I_WALK
if(target.hud_used && user.hud_used.move_intent) if(target.hud_used && user.hud_used.move_intent)
target.hud_used.move_intent.icon_state = "walking" target.hud_used.move_intent.icon_state = "walking"
return 1 return 1
@@ -283,8 +283,8 @@ var/last_chew = 0
/obj/item/handcuffs/legcuffs/equipped(var/mob/living/user,var/slot) /obj/item/handcuffs/legcuffs/equipped(var/mob/living/user,var/slot)
. = ..() . = ..()
if(slot == slot_legcuffed) if(slot == slot_legcuffed)
if(user.m_intent != "walk") if(user.m_intent != I_WALK)
user.m_intent = "walk" user.m_intent = I_WALK
if(user.hud_used && user.hud_used.move_intent) if(user.hud_used && user.hud_used.move_intent)
user.hud_used.move_intent.icon_state = "walking" user.hud_used.move_intent.icon_state = "walking"
@@ -325,8 +325,8 @@ var/last_chew = 0
lcuffs.loc = target lcuffs.loc = target
target.legcuffed = lcuffs target.legcuffed = lcuffs
target.update_inv_legcuffed() target.update_inv_legcuffed()
if(target.m_intent != "walk") if(target.m_intent != I_WALK)
target.m_intent = "walk" target.m_intent = I_WALK
if(target.hud_used && user.hud_used.move_intent) if(target.hud_used && user.hud_used.move_intent)
target.hud_used.move_intent.icon_state = "walking" target.hud_used.move_intent.icon_state = "walking"
return 1 return 1

View File

@@ -17,7 +17,7 @@
return return
if(isliving(AM)) if(isliving(AM))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps on \the [src]."), span_danger("[L] steps on \the [src]."),
span_danger("You step on \the [src], you poor bastard!"), span_danger("You step on \the [src], you poor bastard!"),
@@ -47,7 +47,7 @@
return return
if(isliving(AM)) if(isliving(AM))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps on \the [src]."), span_danger("[L] steps on \the [src]."),
span_danger("You step on \the [src], you poor bastard!"), span_danger("You step on \the [src], you poor bastard!"),

View File

@@ -56,7 +56,7 @@
..() ..()
/obj/item/tool/screwdriver/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) /obj/item/tool/screwdriver/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob)
if(!istype(M) || user.a_intent == "help") if(!istype(M) || user.a_intent == I_HELP)
return ..() return ..()
if(user.zone_sel.selecting != O_EYES && user.zone_sel.selecting != BP_HEAD) if(user.zone_sel.selecting != O_EYES && user.zone_sel.selecting != BP_HEAD)
return ..() return ..()

View File

@@ -125,7 +125,7 @@
return return
if(deployed && isliving(AM)) if(deployed && isliving(AM))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps on \the [src]."), span_danger("[L] steps on \the [src]."),
span_danger("You step on \the [src]!"), span_danger("You step on \the [src]!"),
@@ -272,7 +272,7 @@
return return
if(anchored && isliving(AM)) if(anchored && isliving(AM))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps in \the [src]."), span_danger("[L] steps in \the [src]."),
span_danger("You step in \the [src]!"), span_danger("You step in \the [src]!"),

View File

@@ -42,7 +42,7 @@
add_fingerprint(M) add_fingerprint(M)
if(ishuman(M)) if(ishuman(M))
var/mob/living/carbon/human/H = M var/mob/living/carbon/human/H = M
if(H.m_intent == "walk") if(H.m_intent == I_WALK)
to_chat(H, span_warning("You stop at the edge of \the [src.name].")) to_chat(H, span_warning("You stop at the edge of \the [src.name]."))
return FALSE return FALSE
else else

View File

@@ -125,7 +125,7 @@
if(H.shoes) if(H.shoes)
var/obj/item/clothing/shoes/S = H.shoes var/obj/item/clothing/shoes/S = H.shoes
if(istype(S)) if(istype(S))
S.handle_movement(src,(H.m_intent == "run" ? 1 : 0), H) // CHOMPEdit handle_movement now needs to know who is moving, for inshoe steppies S.handle_movement(src,(H.m_intent == I_RUN ? 1 : 0), H) // CHOMPEdit handle_movement now needs to know who is moving, for inshoe steppies
if(S.track_blood && S.blood_DNA) if(S.track_blood && S.blood_DNA)
bloodDNA = S.blood_DNA bloodDNA = S.blood_DNA
bloodcolor=S.blood_color bloodcolor=S.blood_color
@@ -146,7 +146,7 @@
if(src.wet || (dirtslip && (dirt > 50 || outdoors == 1))) //CHOMPEdit if(src.wet || (dirtslip && (dirt > 50 || outdoors == 1))) //CHOMPEdit
if(M.buckled || (src.wet == 1 && M.m_intent == "walk")) if(M.buckled || (src.wet == 1 && M.m_intent == I_WALK))
return return
var/slip_dist = 1 var/slip_dist = 1
@@ -159,7 +159,7 @@
floor_type = "dirty" floor_type = "dirty"
else if(outdoors) else if(outdoors)
floor_type = "uneven" floor_type = "uneven"
if(src.wet == 0 && M.m_intent == "walk") if(src.wet == 0 && M.m_intent == I_WALK)
return return
//CHOMPEdit End //CHOMPEdit End
switch(src.wet) switch(src.wet)

View File

@@ -85,7 +85,7 @@
if(armed) if(armed)
if(ishuman(AM)) if(ishuman(AM))
var/mob/living/carbon/H = AM var/mob/living/carbon/H = AM
if(H.m_intent == "run") if(H.m_intent == I_RUN)
triggered(H) triggered(H)
H.visible_message(span_warning("[H] accidentally steps on [src]."), \ H.visible_message(span_warning("[H] accidentally steps on [src]."), \
span_warning("You accidentally step on [src]")) span_warning("You accidentally step on [src]"))

View File

@@ -90,7 +90,7 @@
to_chat(user, span_warning("\The [H] is wearing gloves.")) to_chat(user, span_warning("\The [H] is wearing gloves."))
return 1 return 1
if(user != H && H.a_intent != "help" && !H.lying) if(user != H && H.a_intent != I_HELP && !H.lying)
user.visible_message(span_danger("\The [user] tries to take prints from \the [H], but they move away.")) user.visible_message(span_danger("\The [user] tries to take prints from \the [H], but they move away."))
return 1 return 1

View File

@@ -30,7 +30,7 @@
to_chat(user, span_warning("They don't seem to have DNA!")) to_chat(user, span_warning("They don't seem to have DNA!"))
return return
if(user != H && H.a_intent != "help" && !H.lying) if(user != H && H.a_intent != I_HELP && !H.lying)
user.visible_message(span_danger("\The [user] tries to take a swab sample from \the [H], but they move away.")) user.visible_message(span_danger("\The [user] tries to take a swab sample from \the [H], but they move away."))
return return

View File

@@ -2,7 +2,7 @@
var/mob/living/carbon/human/H = over_object var/mob/living/carbon/human/H = over_object
if(!istype(H) || !Adjacent(H)) if(!istype(H) || !Adjacent(H))
return ..() return ..()
if(H.a_intent == "grab" && hat && !H.hands_are_full()) if(H.a_intent == I_GRAB && hat && !H.hands_are_full())
hat.loc = get_turf(src) hat.loc = get_turf(src)
H.put_in_hands(hat) H.put_in_hands(hat)
H.visible_message(span_danger("\The [H] removes \the [src]'s [hat].")) H.visible_message(span_danger("\The [H] removes \the [src]'s [hat]."))
@@ -12,7 +12,7 @@
return ..() return ..()
/mob/living/carbon/alien/diona/attackby(var/obj/item/W, var/mob/user) /mob/living/carbon/alien/diona/attackby(var/obj/item/W, var/mob/user)
if(user.a_intent == "help" && istype(W, /obj/item/clothing/head)) if(user.a_intent == I_HELP && istype(W, /obj/item/clothing/head))
if(hat) if(hat)
to_chat(user, span_warning("\The [src] is already wearing \the [hat].")) to_chat(user, span_warning("\The [src] is already wearing \the [hat]."))
return return

View File

@@ -36,10 +36,10 @@
. = ..() . = ..()
if(src.nutrition && src.stat != 2) if(src.nutrition && src.stat != 2)
adjust_nutrition(-DEFAULT_HUNGER_FACTOR / 10) adjust_nutrition(-DEFAULT_HUNGER_FACTOR / 10)
if(src.m_intent == "run") if(src.m_intent == I_RUN)
adjust_nutrition(-DEFAULT_HUNGER_FACTOR / 10) adjust_nutrition(-DEFAULT_HUNGER_FACTOR / 10)
if((FAT in src.mutations) && src.m_intent == "run" && src.bodytemperature <= 360) if((FAT in src.mutations) && src.m_intent == I_RUN && src.bodytemperature <= 360)
src.bodytemperature += 2 src.bodytemperature += 2
// Moving around increases germ_level faster // Moving around increases germ_level faster

View File

@@ -314,10 +314,10 @@
if(!S) return if(!S) return
// Play every 20 steps while walking, for the sneak // Play every 20 steps while walking, for the sneak
if(m_intent == "walk" && step_count++ % 20 != 0) if(m_intent == I_WALK && step_count++ % 20 != 0)
check_vorefootstep(m_intent, T) //CHOMPstation edit: sloshing reagent belly walk system check_vorefootstep(m_intent, T) //CHOMPstation edit: sloshing reagent belly walk system
// Play every other step while running // Play every other step while running
if(m_intent == "run" && step_count++ % 2 != 0) if(m_intent == I_RUN && step_count++ % 2 != 0)
check_vorefootstep(m_intent, T) //CHOMPstation edit: sloshing reagent belly walk system check_vorefootstep(m_intent, T) //CHOMPstation edit: sloshing reagent belly walk system
*/ */
if(shoes && loc == T && get_gravity(loc) && !flying) if(shoes && loc == T && get_gravity(loc) && !flying)
@@ -330,7 +330,7 @@
var/volume = CONFIG_GET(number/footstep_volume) var/volume = CONFIG_GET(number/footstep_volume)
// Reduce volume while walking or barefoot // Reduce volume while walking or barefoot
if(!shoes || m_intent == "walk") if(!shoes || m_intent == I_WALK)
volume *= 0.5 volume *= 0.5
else if(shoes) else if(shoes)
var/obj/item/clothing/shoes/feet = shoes var/obj/item/clothing/shoes/feet = shoes

View File

@@ -14,7 +14,7 @@
var/volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) var/volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100)
// Reduce volume while walking or barefoot, but not so much since tummy slosh // Reduce volume while walking or barefoot, but not so much since tummy slosh
if(!shoes || m_intent == "walk") if(!shoes || m_intent == I_WALK)
volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) * 0.75 volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) * 0.75
else if(shoes) else if(shoes)
var/obj/item/clothing/shoes/feet = shoes var/obj/item/clothing/shoes/feet = shoes

View File

@@ -28,7 +28,7 @@
// Technically this does mean being dragged takes nutrition // Technically this does mean being dragged takes nutrition
if(stat != DEAD) if(stat != DEAD)
adjust_nutrition(hunger_rate/-10) adjust_nutrition(hunger_rate/-10)
if(m_intent == "run") if(m_intent == I_RUN)
adjust_nutrition(hunger_rate/-10) adjust_nutrition(hunger_rate/-10)
// Moving around increases germ_level faster // Moving around increases germ_level faster

View File

@@ -102,7 +102,7 @@
return return
if(isliving(AM) && trap_active) if(isliving(AM) && trap_active)
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps on \the [src]."), span_danger("[L] steps on \the [src]."),
span_danger("You step on \the [src]!"), span_danger("You step on \the [src]!"),

View File

@@ -17,7 +17,7 @@
/mob/living/SelfMove(turf/n, direct, movetime) /mob/living/SelfMove(turf/n, direct, movetime)
// If on walk intent, don't willingly step into hazardous tiles. // If on walk intent, don't willingly step into hazardous tiles.
// Unless the walker is confused. // Unless the walker is confused.
if(m_intent == "walk" && confused <= 0) if(m_intent == I_WALK && confused <= 0)
if(!n.is_safe_to_enter(src)) if(!n.is_safe_to_enter(src))
to_chat(src, span_warning("\The [n] is dangerous to move into.")) to_chat(src, span_warning("\The [n] is dangerous to move into."))
return FALSE // In case any code wants to know if movement happened. return FALSE // In case any code wants to know if movement happened.
@@ -184,11 +184,11 @@ default behaviour is:
. = ..() . = ..()
if (!istype(AM, /atom/movable) || AM.anchored) if (!istype(AM, /atom/movable) || AM.anchored)
//VOREStation Edit - object-specific proc for running into things //VOREStation Edit - object-specific proc for running into things
if(((confused || is_blind()) && stat == CONSCIOUS && prob(50) && m_intent=="run") || flying) if(((confused || is_blind()) && stat == CONSCIOUS && prob(50) && m_intent==I_RUN) || flying)
AM.stumble_into(src) AM.stumble_into(src)
//VOREStation Edit End //VOREStation Edit End
/* VOREStation Removal - See above /* VOREStation Removal - See above
if(confused && prob(50) && m_intent=="run") if(confused && prob(50) && m_intent==I_RUN)
Weaken(2) Weaken(2)
playsound(src, "punch", 25, 1, -1) playsound(src, "punch", 25, 1, -1)
visible_message(span_warning("[src] [pick("ran", "slammed")] into \the [AM]!")) visible_message(span_warning("[src] [pick("ran", "slammed")] into \the [AM]!"))

View File

@@ -142,7 +142,7 @@
using = new /obj/screen() using = new /obj/screen()
using.name = "mov_intent" using.name = "mov_intent"
using.icon = ui_style using.icon = ui_style
using.icon_state = (m_intent == "run" ? "running" : "walking") using.icon_state = (m_intent == I_RUN ? "running" : "walking")
using.screen_loc = ui_movi using.screen_loc = ui_movi
using.color = ui_color using.color = ui_color
using.alpha = ui_alpha using.alpha = ui_alpha

View File

@@ -216,7 +216,7 @@ var/list/mob_hat_cache = list()
//Drones cannot be upgraded with borg modules so we need to catch some items before they get used in ..(). //Drones cannot be upgraded with borg modules so we need to catch some items before they get used in ..().
/mob/living/silicon/robot/drone/attackby(var/obj/item/W, var/mob/user) /mob/living/silicon/robot/drone/attackby(var/obj/item/W, var/mob/user)
if(user.a_intent == "help" && istype(W, /obj/item/clothing/head)) if(user.a_intent == I_HELP && istype(W, /obj/item/clothing/head))
if(hat) if(hat)
to_chat(user, span_warning("\The [src] is already wearing \the [hat].")) to_chat(user, span_warning("\The [src] is already wearing \the [hat]."))
return return

View File

@@ -25,7 +25,7 @@
var/mob/living/carbon/human/H = over_object var/mob/living/carbon/human/H = over_object
if(!istype(H) || !Adjacent(H)) if(!istype(H) || !Adjacent(H))
return ..() return ..()
if(H.a_intent == "grab" && hat && !(H.l_hand && H.r_hand)) if(H.a_intent == I_GRAB && hat && !(H.l_hand && H.r_hand))
H.put_in_hands(hat) H.put_in_hands(hat)
H.visible_message(span_danger("\The [H] removes \the [src]'s [hat].")) H.visible_message(span_danger("\The [H] removes \the [src]'s [hat]."))
hat = null hat = null

View File

@@ -124,7 +124,7 @@
using = new /obj/screen() using = new /obj/screen()
using.name = "mov_intent" using.name = "mov_intent"
using.icon = ui_style using.icon = ui_style
using.icon_state = (m_intent == "run" ? "running" : "walking") using.icon_state = (m_intent == I_RUN ? "running" : "walking")
using.screen_loc = ui_movi using.screen_loc = ui_movi
using.color = ui_color using.color = ui_color
using.alpha = ui_alpha using.alpha = ui_alpha

View File

@@ -287,7 +287,7 @@
. = 1 . = 1
. *= purge . *= purge
if(m_intent == "walk") if(m_intent == I_WALK)
. *= 1.5 . *= 1.5
// VOREStation Edit Start // VOREStation Edit Start

View File

@@ -87,7 +87,7 @@
var/mob/living/carbon/H = over_object var/mob/living/carbon/H = over_object
if(!istype(H) || !Adjacent(H)) return ..() if(!istype(H) || !Adjacent(H)) return ..()
if(H.a_intent == "help") if(H.a_intent == I_HELP)
get_scooped(H) get_scooped(H)
return return
else else

View File

@@ -61,7 +61,7 @@
/obj/structure/gootrap/Crossed(AM as mob|obj) /obj/structure/gootrap/Crossed(AM as mob|obj)
if(deployed && isliving(AM)) if(deployed && isliving(AM))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run") if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps on \the [src]."), span_danger("[L] steps on \the [src]."),
span_danger("You step on \the [src]!"), span_danger("You step on \the [src]!"),

View File

@@ -214,7 +214,7 @@
if(istype(AM, /mob/living/carbon) || istype(AM, /mob/living/silicon)) if(istype(AM, /mob/living/carbon) || istype(AM, /mob/living/silicon))
var/mob/living/L = AM var/mob/living/L = AM
if(L.m_intent == "run" && !L.buckled) if(L.m_intent == I_RUN && !L.buckled)
if(has_buckled_mobs()) if(has_buckled_mobs())
return return
buckle_mob(L) buckle_mob(L)

View File

@@ -118,7 +118,7 @@
var/shakecamera = 0 var/shakecamera = 0
var/a_intent = I_HELP//Living var/a_intent = I_HELP//Living
var/m_int = null//Living var/m_int = null//Living
var/m_intent = "run"//Living var/m_intent = I_RUN//Living
var/lastKnownIP = null var/lastKnownIP = null
var/obj/buckled = null//Living var/obj/buckled = null//Living

View File

@@ -342,7 +342,7 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT)
if(2) return I_GRAB if(2) return I_GRAB
else return I_HURT else return I_HURT
//change a mob's act-intent. Input the intent as a string such as "help" or use "right"/"left //change a mob's act-intent. Input the intent as a string such as I_HELP or use "right"/"left
/mob/verb/a_intent_change(input as text) /mob/verb/a_intent_change(input as text)
set name = "a-intent" set name = "a-intent"
set hidden = 1 set hidden = 1

View File

@@ -21,11 +21,11 @@
// Movespeed delay based on movement mode // Movespeed delay based on movement mode
switch(m_intent) switch(m_intent)
if("run") if(I_RUN)
if(drowsyness > 0) if(drowsyness > 0)
. += 6 . += 6
. += CONFIG_GET(number/run_speed) . += CONFIG_GET(number/run_speed)
if("walk") if(I_WALK)
. += CONFIG_GET(number/walk_speed) . += CONFIG_GET(number/walk_speed)
/client/proc/client_dir(input, direction=-1) /client/proc/client_dir(input, direction=-1)
@@ -274,10 +274,10 @@
//drunk wheelchair driving //drunk wheelchair driving
else if(my_mob.confused) else if(my_mob.confused)
switch(my_mob.m_intent) switch(my_mob.m_intent)
if("run") if(I_RUN)
if(prob(50)) if(prob(50))
direct = turn(direct, pick(90, -90)) direct = turn(direct, pick(90, -90))
if("walk") if(I_WALK)
if(prob(25)) if(prob(25))
direct = turn(direct, pick(90, -90)) direct = turn(direct, pick(90, -90))
total_delay += 3 total_delay += 3
@@ -289,11 +289,11 @@
// Confused direction randomization // Confused direction randomization
if(my_mob.confused) if(my_mob.confused)
switch(my_mob.m_intent) switch(my_mob.m_intent)
if("run") if(I_RUN)
if(prob(75)) if(prob(75))
direct = turn(direct, pick(90, -90)) direct = turn(direct, pick(90, -90))
n = get_step(my_mob, direct) n = get_step(my_mob, direct)
if("walk") if(I_WALK)
if(prob(25)) if(prob(25))
direct = turn(direct, pick(90, -90)) direct = turn(direct, pick(90, -90))
n = get_step(my_mob, direct) n = get_step(my_mob, direct)

View File

@@ -16,7 +16,7 @@
if (. >= 2) if (. >= 2)
if(prob(1)) if(prob(1))
owner.custom_pain("Your abdomen feels like it's tearing itself apart!",1) owner.custom_pain("Your abdomen feels like it's tearing itself apart!",1)
owner.m_intent = "walk" owner.m_intent = I_WALK
owner.hud_used.move_intent.icon_state = "walking" owner.hud_used.move_intent.icon_state = "walking"
/obj/item/organ/internal/intestine/xeno /obj/item/organ/internal/intestine/xeno

View File

@@ -38,7 +38,7 @@
if (. >= 2) if (. >= 2)
if(prob(1)) if(prob(1))
owner.custom_pain("You feel extremely tired, like you can't move!",1) owner.custom_pain("You feel extremely tired, like you can't move!",1)
owner.m_intent = "walk" owner.m_intent = I_WALK
owner.hud_used.move_intent.icon_state = "walking" owner.hud_used.move_intent.icon_state = "walking"
/obj/item/organ/internal/kidneys/grey /obj/item/organ/internal/kidneys/grey

View File

@@ -58,9 +58,9 @@
trigger_aiming(TARGET_CAN_MOVE) trigger_aiming(TARGET_CAN_MOVE)
/mob/living/proc/set_m_intent(var/intent) /mob/living/proc/set_m_intent(var/intent)
if (intent != "walk" && intent != "run") if (intent != I_WALK && intent != I_RUN)
return 0 return 0
m_intent = intent m_intent = intent
if(hud_used) if(hud_used)
if (hud_used.move_intent) if (hud_used.move_intent)
hud_used.move_intent.icon_state = intent == "walk" ? "walking" : "running" hud_used.move_intent.icon_state = intent == I_WALK ? "walking" : "running"

View File

@@ -14,14 +14,14 @@
/mob/living/Bump(atom/movable/AM) /mob/living/Bump(atom/movable/AM)
//. = ..() //. = ..()
if(istype(AM, /mob/living)) if(istype(AM, /mob/living))
if(buckled != AM && (((confused || is_blind()) && stat == CONSCIOUS && prob(50) && m_intent=="run") || flying && flight_vore)) if(buckled != AM && (((confused || is_blind()) && stat == CONSCIOUS && prob(50) && m_intent==I_RUN) || flying && flight_vore))
AM.stumble_into(src) AM.stumble_into(src)
return ..() return ..()
// Because flips toggle density // Because flips toggle density
/mob/living/Crossed(var/atom/movable/AM) /mob/living/Crossed(var/atom/movable/AM)
if(istype(AM, /mob/living) && isturf(loc) && AM != src) if(istype(AM, /mob/living) && isturf(loc) && AM != src)
var/mob/living/AMV = AM var/mob/living/AMV = AM
if(AMV.buckled != src && (((AMV.confused || AMV.is_blind()) && AMV.stat == CONSCIOUS && prob(50) && AMV.m_intent=="run") || AMV.flying && AMV.flight_vore)) if(AMV.buckled != src && (((AMV.confused || AMV.is_blind()) && AMV.stat == CONSCIOUS && prob(50) && AMV.m_intent==I_RUN) || AMV.flying && AMV.flight_vore))
stumble_into(AMV) stumble_into(AMV)
..() ..()

View File

@@ -370,7 +370,7 @@
equip_to_slot_if_possible(prey.get_scooped(pred), slot_shoes, 0, 1) equip_to_slot_if_possible(prey.get_scooped(pred), slot_shoes, 0, 1)
add_attack_logs(pred, prey, "Grabbed underfoot ([tail ? "taur" : "nontaur"], no shoes)") add_attack_logs(pred, prey, "Grabbed underfoot ([tail ? "taur" : "nontaur"], no shoes)")
if(m_intent == "run") if(m_intent == I_RUN)
switch(a_intent) switch(a_intent)
if(I_DISARM) if(I_DISARM)
message_pred = "You quickly push [prey] to the ground with your foot!" message_pred = "You quickly push [prey] to the ground with your foot!"

View File

@@ -218,7 +218,7 @@
// speak = list("HONK", "Honk!") // speak = list("HONK", "Honk!")
// emote_hear = list("honks") // emote_hear = list("honks")
// speak_chance = 1 // speak_chance = 1
a_intent = "harm" a_intent = I_HURT
var/corpse = /obj/effect/landmark/mobcorpse/tunnelclown var/corpse = /obj/effect/landmark/mobcorpse/tunnelclown
var/weapon1 = /obj/item/material/twohanded/fireaxe var/weapon1 = /obj/item/material/twohanded/fireaxe
stop_when_pulled = 0 stop_when_pulled = 0
@@ -284,7 +284,7 @@
response_harm = "euthanizes" response_harm = "euthanizes"
// speak = list("HONK!", "Honk!", "H-Honk...", "Honk... Please...","Kill me... Honk.", "It hurts to live... Honk...","The pain... HONK!") // speak = list("HONK!", "Honk!", "H-Honk...", "Honk... Please...","Kill me... Honk.", "It hurts to live... Honk...","The pain... HONK!")
// emote_hear = list("honks", "wheeps","sobs","whimpers","honks uncontrollably") // emote_hear = list("honks", "wheeps","sobs","whimpers","honks uncontrollably")
a_intent = "harm" a_intent = I_HURT
stop_when_pulled = 0 stop_when_pulled = 0
maxHealth = 10 maxHealth = 10
health = 10 health = 10

View File

@@ -101,7 +101,7 @@
if(CHECK_MOVE_LOOP_FLAGS(owner, MOVEMENT_LOOP_OUTSIDE_CONTROL)) if(CHECK_MOVE_LOOP_FLAGS(owner, MOVEMENT_LOOP_OUTSIDE_CONTROL))
return return
*/ */
if(running == "walk") if(running == I_WALK)
running = 0.25 running = 0.25
else else
running = 1 running = 1

View File

@@ -81,7 +81,7 @@
var/mob/living/carbon/carbon_source = source var/mob/living/carbon/carbon_source = source
if(!carbon_source.get_organ(BP_L_LEG) && !carbon_source.get_organ(BP_R_LEG)) if(!carbon_source.get_organ(BP_L_LEG) && !carbon_source.get_organ(BP_R_LEG))
return return
if(carbon_source.m_intent == "walk") if(carbon_source.m_intent == I_WALK)
return// stealth return// stealth
steps_for_living[source] += 1 steps_for_living[source] += 1
var/steps = steps_for_living[source] var/steps = steps_for_living[source]

View File

@@ -26,9 +26,9 @@
if(ishuman(source)) if(ishuman(source))
var/mob/living/carbon/human/source_human = source var/mob/living/carbon/human/source_human = source
if(source_human.m_intent == "walk" && step_count++ % 20 == 0) if(source_human.m_intent == I_WALK && step_count++ % 20 == 0)
return return
if(source_human.m_intent == "run" && step_count++ % 2 != 0) if(source_human.m_intent == I_RUN && step_count++ % 2 != 0)
return return
choose_vorefootstep(source) choose_vorefootstep(source)
if(issilicon(source)) if(issilicon(source))
@@ -75,7 +75,7 @@
if(ishuman(source)) if(ishuman(source))
var/mob/living/carbon/human/human_source = source var/mob/living/carbon/human/human_source = source
if(!human_source.shoes || human_source.m_intent == "walk") if(!human_source.shoes || human_source.m_intent == I_WALK)
volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) * 0.75 volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) * 0.75
else if(human_source.shoes) else if(human_source.shoes)
var/obj/item/clothing/shoes/feet = human_source.shoes var/obj/item/clothing/shoes/feet = human_source.shoes

View File

@@ -29,7 +29,7 @@
return return
if(istype(AM, /mob/living)) if(istype(AM, /mob/living))
var/mob/living/M = AM var/mob/living/M = AM
if(M.m_intent == "run" && prob(5)) if(M.m_intent == I_RUN && prob(5))
M.Weaken(2) M.Weaken(2)
to_chat(M, "You trip over the [src]!") to_chat(M, "You trip over the [src]!")

View File

@@ -40,7 +40,7 @@
switch(pred.a_intent) switch(pred.a_intent)
if(I_HELP) if(I_HELP)
if(prob(10)) //Reducing spam exclusively on I_HELP. Still more frequent than old pitiful prob(1) if(prob(10)) //Reducing spam exclusively on I_HELP. Still more frequent than old pitiful prob(1)
if(pred.m_intent == "run") if(pred.m_intent == I_RUN)
message_prey = pick( message_prey = pick(
"You feel weightless for a brief moment as \the [name] move upwards.", "You feel weightless for a brief moment as \the [name] move upwards.",
"[pred]'s weight bears down on you with each of their steps.", "[pred]'s weight bears down on you with each of their steps.",
@@ -61,7 +61,7 @@
return //No message for pred if I_HELP return //No message for pred if I_HELP
if(I_DISARM) if(I_DISARM)
if(pred.m_intent == "run") if(pred.m_intent == I_RUN)
message_pred = "You step on [prey], squishing and pinning them within your [name]!" message_pred = "You step on [prey], squishing and pinning them within your [name]!"
message_prey = "[pred] steps on you, squishing and pinning you within their [name]!" message_prey = "[pred] steps on you, squishing and pinning you within their [name]!"
else else
@@ -71,7 +71,7 @@
add_attack_logs(pred, prey, "Pinned inshoe (walk, weaken(5))") add_attack_logs(pred, prey, "Pinned inshoe (walk, weaken(5))")
if(I_GRAB) if(I_GRAB)
if(pred.m_intent == "run") if(pred.m_intent == I_RUN)
message_pred = "You step down onto [prey], squishing and trapping them inbetween your toes!" message_pred = "You step down onto [prey], squishing and trapping them inbetween your toes!"
message_prey = "[pred] steps down on you, squishing and trapping you inbetween their toes!" message_prey = "[pred] steps down on you, squishing and trapping you inbetween their toes!"
else else
@@ -89,7 +89,7 @@
//Assuming regular micro pickup sizes outside dorms, size_damage multiplier should range from .25 to 1.75... right? //Assuming regular micro pickup sizes outside dorms, size_damage multiplier should range from .25 to 1.75... right?
var/damage = (rand(5, 15) * size_damage_multiplier) / 10 // This will sting, but not kill unless pred walks. Will range from .125 to 2.625 damage, randomly, to each limb var/damage = (rand(5, 15) * size_damage_multiplier) / 10 // This will sting, but not kill unless pred walks. Will range from .125 to 2.625 damage, randomly, to each limb
if(pred.m_intent == "run") if(pred.m_intent == I_RUN)
message_pred = "You carelessly step down onto [prey], crushing them within your [name]!" message_pred = "You carelessly step down onto [prey], crushing them within your [name]!"
message_prey = "[pred] steps carelessly on your body, crushing you within their [name]!" message_prey = "[pred] steps carelessly on your body, crushing you within their [name]!"
add_attack_logs(pred, prey, "Crushed inshoe (run, about [damage] damage per limb)") add_attack_logs(pred, prey, "Crushed inshoe (run, about [damage] damage per limb)")

View File

@@ -5,7 +5,7 @@
/mob/living/silicon/robot/handle_footstep(var/turf/T) /mob/living/silicon/robot/handle_footstep(var/turf/T)
if(step_count++ % 2) if(step_count++ % 2)
check_vorefootstep("run", T) //CHOMPstation edit: sloshing reagent belly walk system check_vorefootstep(I_RUN, T) //CHOMPstation edit: sloshing reagent belly walk system
// Handle footstep sounds // Handle footstep sounds
/mob/living/silicon/robot/handle_vorefootstep(var/m_intent, var/turf/T) /mob/living/silicon/robot/handle_vorefootstep(var/m_intent, var/turf/T)

View File

@@ -250,7 +250,7 @@ ANT STRUCTURES
var/mob/living/L = AM var/mob/living/L = AM
if(L == /mob/living/simple_mob/animal/tyr/mineral_ants) if(L == /mob/living/simple_mob/animal/tyr/mineral_ants)
return return
else if(L.m_intent == "run") else if(L.m_intent == I_RUN)
L.visible_message( L.visible_message(
span_danger("[L] steps in \the [src]."), span_danger("[L] steps in \the [src]."),
span_danger("You step in \the [src]!"), span_danger("You step in \the [src]!"),

View File

@@ -13,7 +13,7 @@
icon_living = "bhotie" icon_living = "bhotie"
icon_dead = "bhotie-dead" icon_dead = "bhotie-dead"
icon_rest = "bhotie-dead" icon_rest = "bhotie-dead"
faction = "blackhole" faction = FACTION_BLACKHOLE
maxHealth = 200 maxHealth = 200
health = 200 health = 200
minbodytemp = 200 minbodytemp = 200
@@ -95,7 +95,7 @@
to_chat(L, span_danger("\The [src] focuses on you!")) to_chat(L, span_danger("\The [src] focuses on you!"))
do_windup_animation(A, leap_warmup) do_windup_animation(A, leap_warmup)
addtimer(CALLBACK(src, PROC_REF(doLeap), L), leap_warmup, TIMER_DELETE_ME) addtimer(CALLBACK(src, PROC_REF(doLeap), L), leap_warmup, TIMER_DELETE_ME)
return TRUE return TRUE
@@ -132,7 +132,7 @@
name = "Black Hole fanatic" name = "Black Hole fanatic"
desc = "A tough looking armored feline creature. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper" icon_living = "trooper"
icon_state = "trooper" icon_state = "trooper"
@@ -192,7 +192,7 @@
name = "Black Hole bulwark" name = "Black Hole bulwark"
desc = "A tough looking armored feline creature armed with a shield and an energy lance. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature armed with a shield and an energy lance. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper_shield" icon_living = "trooper_shield"
icon_state = "trooper_shield" icon_state = "trooper_shield"
@@ -220,7 +220,7 @@
name = "grotesque" name = "grotesque"
desc = "A horribly mutated, pale creature, poorly morphed into some hyperaggressive feline abomination. This is what tends to happen to those that Black Hole take prisoner-- Cannonfodder." desc = "A horribly mutated, pale creature, poorly morphed into some hyperaggressive feline abomination. This is what tends to happen to those that Black Hole take prisoner-- Cannonfodder."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "grotesque-dead" icon_dead = "grotesque-dead"
icon_living = "grotesque" icon_living = "grotesque"
icon_state = "grotesque" icon_state = "grotesque"
@@ -247,7 +247,7 @@
name = "Black Hole trooper" name = "Black Hole trooper"
desc = "A tough looking armored feline creature armed with a pistol. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature armed with a pistol. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper_pistol" icon_living = "trooper_pistol"
icon_state = "trooper_pistol" icon_state = "trooper_pistol"
@@ -265,7 +265,7 @@
name = "Black Hole gunner" name = "Black Hole gunner"
desc = "A tough looking armored feline creature armed with an SMG. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature armed with an SMG. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper_smg" icon_living = "trooper_smg"
icon_state = "trooper_smg" icon_state = "trooper_smg"
@@ -283,7 +283,7 @@
name = "Black Hole rifleman" name = "Black Hole rifleman"
desc = "A tough looking armored feline creature armed with a rifle. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature armed with a rifle. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper_rifle" icon_living = "trooper_rifle"
icon_state = "trooper_rifle" icon_state = "trooper_rifle"
@@ -301,7 +301,7 @@
name = "Black Hole machinegunner" name = "Black Hole machinegunner"
desc = "A tough looking armored feline creature armed with a light machinegun. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline creature armed with a light machinegun. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "trooper-dead" icon_dead = "trooper-dead"
icon_living = "trooper_lmg" icon_living = "trooper_lmg"
icon_state = "trooper_lmg" icon_state = "trooper_lmg"
@@ -323,7 +323,7 @@
name = "Black Hole fanatic" name = "Black Hole fanatic"
desc = "A tough looking armored feline taur. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline taur. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole64x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole64x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "heavytrooper-dead" icon_dead = "heavytrooper-dead"
icon_living = "heavytrooper" icon_living = "heavytrooper"
icon_state = "heavytrooper" icon_state = "heavytrooper"
@@ -396,7 +396,7 @@
name = "Black Hole machinegunner" name = "Black Hole machinegunner"
desc = "A tough looking armored feline taur wielding a light machinegun. They wear various insignias identifying them as a member of Black Hole." desc = "A tough looking armored feline taur wielding a light machinegun. They wear various insignias identifying them as a member of Black Hole."
icon = 'modular_chomp/icons/blackhole/blackhole64x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole64x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "heavytrooper-dead" icon_dead = "heavytrooper-dead"
icon_living = "heavytrooper_lmg" icon_living = "heavytrooper_lmg"
icon_state = "heavytrooper_lmg" icon_state = "heavytrooper_lmg"
@@ -435,7 +435,7 @@
icon_rest = "heavytrooper_sniper" icon_rest = "heavytrooper_sniper"
projectiletype = /obj/item/projectile/bullet/rifle/a145/highvel // Really scary bullet. projectiletype = /obj/item/projectile/bullet/rifle/a145/highvel // Really scary bullet.
projectilesound = 'sound/weapons/serdy/molniyab.ogg' projectilesound = 'sound/weapons/serdy/molniyab.ogg'
faction = "blackhole" faction = FACTION_BLACKHOLE
movement_cooldown = 0 movement_cooldown = 0
harm_intent_damage = 5 harm_intent_damage = 5
melee_damage_lower = 15 melee_damage_lower = 15
@@ -525,7 +525,7 @@
name = "Black Hole mechanized troopers" name = "Black Hole mechanized troopers"
desc = "A pair of armed Black Hole troops riding an armored motorcycle. Watch out!" desc = "A pair of armed Black Hole troops riding an armored motorcycle. Watch out!"
icon = 'modular_chomp/icons/blackhole/blackhole64x64.dmi' icon = 'modular_chomp/icons/blackhole/blackhole64x64.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_dead = "bikeus" icon_dead = "bikeus"
icon_living = "bikeus" icon_living = "bikeus"
icon_state = "bikeus" icon_state = "bikeus"
@@ -590,7 +590,7 @@
It also is armed with an array of next-generation weaponry." It also is armed with an array of next-generation weaponry."
catalogue_data = list(/datum/category_item/catalogue/fauna/mercenary/blackhole) catalogue_data = list(/datum/category_item/catalogue/fauna/mercenary/blackhole)
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_living = "mech2" icon_living = "mech2"
icon_state = "mech2" icon_state = "mech2"
icon_rest = "mech2" icon_rest = "mech2"
@@ -623,7 +623,7 @@
desc = "A robust, advanced exosuit of Black Hole design, utilizing highly dangerous tesla weaponry." desc = "A robust, advanced exosuit of Black Hole design, utilizing highly dangerous tesla weaponry."
catalogue_data = list(/datum/category_item/catalogue/fauna/mercenary/blackhole) catalogue_data = list(/datum/category_item/catalogue/fauna/mercenary/blackhole)
icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi' icon = 'modular_chomp/icons/blackhole/blackhole32x32.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
icon_living = "mech1" icon_living = "mech1"
icon_state = "mech1" icon_state = "mech1"
icon_rest = "mech1" icon_rest = "mech1"
@@ -684,8 +684,8 @@ GLOBAL_LIST_INIT(obelisk_lure_messages, list(
icon_living = "obelisk" icon_living = "obelisk"
icon_dead = "obelisk-dead" icon_dead = "obelisk-dead"
icon = 'modular_chomp/icons/blackhole/blackhole64x64.dmi' icon = 'modular_chomp/icons/blackhole/blackhole64x64.dmi'
faction = "blackhole" faction = FACTION_BLACKHOLE
a_intent = "harm" a_intent = I_HURT
anchored = 1 anchored = 1
maxHealth = 400 maxHealth = 400
health = 400 health = 400