mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
ehhh rid of that warning (#19163)
* ehhh rid of that warning * yuck * . * first spark then damage calc * .
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
save_data["runechat_color"] = pref.runechat_color
|
||||
|
||||
/datum/category_item/player_setup_item/general/language/sanitize_character()
|
||||
#ifdef TESTING
|
||||
var/char_name = pref.read_preference(/datum/preference/name/real_name) || "-name not yet loaded-"
|
||||
#endif
|
||||
if(!islist(pref.alternate_languages))
|
||||
testing("LANGSANI: Sanitizing languages on [pref.client]'s character [char_name] because their character has no languages list")
|
||||
pref.alternate_languages = list()
|
||||
|
||||
@@ -273,7 +273,8 @@
|
||||
|
||||
/obj/item/clothing/head/psy_crown/proc/activate_ability(var/mob/living/wearer)
|
||||
cooldown = world.time + cooldown_duration
|
||||
to_chat(wearer, flavor_activate)
|
||||
if(flavor_activate)
|
||||
to_chat(wearer, flavor_activate)
|
||||
to_chat(wearer, span_danger("The inside of your head hurts..."))
|
||||
wearer.adjustBrainLoss(brainloss_cost)
|
||||
|
||||
@@ -281,15 +282,18 @@
|
||||
..()
|
||||
if(istype(H) && H.head == src && H.is_sentient())
|
||||
START_PROCESSING(SSobj, src)
|
||||
to_chat(H, flavor_equip)
|
||||
if(flavor_equip)
|
||||
to_chat(H, flavor_equip)
|
||||
|
||||
/obj/item/clothing/head/psy_crown/dropped(var/mob/living/carbon/human/H)
|
||||
..()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
if(H.is_sentient())
|
||||
if(loc == H) // Still inhand.
|
||||
to_chat(H, flavor_unequip)
|
||||
else
|
||||
if(flavor_unequip)
|
||||
to_chat(H, flavor_unequip)
|
||||
return
|
||||
if(flavor_drop)
|
||||
to_chat(H, flavor_drop)
|
||||
|
||||
/obj/item/clothing/head/psy_crown/Destroy()
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
add_overlay(image(icon = 'icons/mecha/mecha_equipment.dmi', icon_state = "repair_droid"))
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/bullet_act()
|
||||
. = ..()
|
||||
sparks.start()
|
||||
. = ..()
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/speech_bubble_appearance()
|
||||
return pilot_type ? "" : ..()
|
||||
|
||||
Reference in New Issue
Block a user