mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 23:59:40 +01:00
converts our spans (#9185)
This commit is contained in:
@@ -26,15 +26,15 @@
|
||||
set category = "Abilities.Vore"
|
||||
|
||||
if(!vore_icons && !vore_icons_cache)
|
||||
to_chat(src,"<span class='warning'>This simplemob has no vore sprite.</span>")
|
||||
to_chat(src,span_warning("This simplemob has no vore sprite."))
|
||||
else if(isnull(vore_icons_cache))
|
||||
vore_icons_cache = vore_icons
|
||||
vore_icons = 0
|
||||
to_chat(src,"<span class='warning'>Vore sprite disabled.</span>")
|
||||
to_chat(src,span_warning("Vore sprite disabled."))
|
||||
else
|
||||
vore_icons = vore_icons_cache
|
||||
vore_icons_cache = null
|
||||
to_chat(src,"<span class='warning'>Vore sprite enabled.</span>")
|
||||
to_chat(src,span_warning("Vore sprite enabled."))
|
||||
|
||||
update_icon()
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
set category = "IC.Mob"
|
||||
|
||||
if(stat)
|
||||
to_chat(src, "<span class='warning'>You must be awake and standing to perform this action!</span>")
|
||||
to_chat(src, span_warning("You must be awake and standing to perform this action!"))
|
||||
return
|
||||
|
||||
speech_sound_enabled = !speech_sound_enabled
|
||||
@@ -109,7 +109,7 @@
|
||||
if(istype(mob_radio, /obj/item/radio/headset))
|
||||
mob_radio.tgui_interact(src)
|
||||
else
|
||||
to_chat(src, "<span class='warning'>Your mob does not have a radio in its radio slot.</span>")
|
||||
to_chat(src, span_warning("Your mob does not have a radio in its radio slot."))
|
||||
|
||||
/mob/living/simple_mob/proc/use_pda()
|
||||
set name = "Use PDA"
|
||||
@@ -119,7 +119,7 @@
|
||||
if(istype(myid, /obj/item/pda))
|
||||
myid.tgui_interact(src)
|
||||
else
|
||||
to_chat(src, "<span class='warning'>Your mob does not have a PDA in its ID slot.</span>")
|
||||
to_chat(src, span_warning("Your mob does not have a PDA in its ID slot."))
|
||||
|
||||
/mob/living/simple_mob/New(var/newloc)
|
||||
..()
|
||||
|
||||
@@ -111,10 +111,10 @@
|
||||
set category = "Abilities.Mob"
|
||||
|
||||
if(pouncing)
|
||||
to_chat(src, "<span class='notice'>Pouncing toggled off.</span>")
|
||||
to_chat(src, span_notice("Pouncing toggled off."))
|
||||
pouncing = 0
|
||||
else
|
||||
to_chat(src, "<span class='notice'>Pouncing toggled on! DoubleClick somewhere to pounce there.</span>")
|
||||
to_chat(src, span_notice("Pouncing toggled on! DoubleClick somewhere to pounce there."))
|
||||
pouncing = 1
|
||||
update_icon()
|
||||
|
||||
@@ -162,9 +162,9 @@
|
||||
if(!foundpm)
|
||||
pass_flags &= ~PASSMOB
|
||||
else
|
||||
to_chat(src, "<span class='warning'>Pouncing blind isn't wise!</span>")
|
||||
to_chat(src, span_warning("Pouncing blind isn't wise!"))
|
||||
else
|
||||
to_chat(src, "<span class='warning'>You can't do that right now!</span>")
|
||||
to_chat(src, span_warning("You can't do that right now!"))
|
||||
// some sanity incase the callback didn't fire for some reason
|
||||
if(status_flags & LEAPING)
|
||||
status_flags &= ~LEAPING
|
||||
@@ -227,7 +227,7 @@
|
||||
return
|
||||
|
||||
if((spit_last + spit_delay) > world.time) //To prevent YATATATATATAT spitting.
|
||||
to_chat(src, "<span class='warning'>You have not yet prepared your chemical glands. You must wait before spitting again.</span>")
|
||||
to_chat(src, span_warning("You have not yet prepared your chemical glands. You must wait before spitting again."))
|
||||
return
|
||||
else
|
||||
spit_last = world.time
|
||||
@@ -238,7 +238,7 @@
|
||||
update_icon()
|
||||
return
|
||||
else if(spitting)
|
||||
//visible_message("<span class='warning'>[src] spits [spit_name] at \the [A]!</span>", "<span class='alium'>You spit [spit_name] at \the [A].</span>")
|
||||
//visible_message(span_warning("[src] spits [spit_name] at \the [A]!"), span_alium("You spit [spit_name] at \the [A]."))
|
||||
var/obj/item/projectile/P = new spit_projectile(get_turf(src))
|
||||
P.firer = src
|
||||
P.old_style_target(A)
|
||||
@@ -251,12 +251,12 @@
|
||||
set category = "Abilities.Mob"
|
||||
|
||||
if(spitting)
|
||||
to_chat(src, "<span class='notice'>You stop preparing to spit.</span>")
|
||||
to_chat(src, span_notice("You stop preparing to spit."))
|
||||
spitting = 0
|
||||
else
|
||||
spitting = 1
|
||||
spit_projectile = /obj/item/projectile/energy/neurotoxin
|
||||
to_chat(src, "<span class='notice'>You prepare to spit neurotoxin.</span>")
|
||||
to_chat(src, span_notice("You prepare to spit neurotoxin."))
|
||||
update_icon()
|
||||
|
||||
/mob/living/simple_mob/proc/acidspit()
|
||||
@@ -265,12 +265,12 @@
|
||||
set category = "Abilities.Mob"
|
||||
|
||||
if(spitting)
|
||||
to_chat(src, "<span class='notice'>You stop preparing to spit.</span>")
|
||||
to_chat(src, span_notice("You stop preparing to spit."))
|
||||
spitting = 0
|
||||
else
|
||||
spitting = 1
|
||||
spit_projectile = /obj/item/projectile/energy/acid
|
||||
to_chat(src, "<span class='notice'>You prepare to spit acid.</span>")
|
||||
to_chat(src, span_notice("You prepare to spit acid."))
|
||||
update_icon()
|
||||
|
||||
/mob/living/simple_mob/proc/corrosive_acid(O as obj|turf in oview(1)) //If they right click to corrode, an error will flash if its an invalid target./N
|
||||
@@ -279,7 +279,7 @@
|
||||
set category = "Abilities.Mob"
|
||||
|
||||
if(!(O in oview(1)))
|
||||
to_chat(src, "<span class='notice'>[O] is too far away.</span>")
|
||||
to_chat(src, span_notice("[O] is too far away."))
|
||||
return
|
||||
|
||||
// OBJ CHECK
|
||||
@@ -301,11 +301,11 @@
|
||||
cannot_melt = 1 //Gurgs : Everything that isn't a object, simulated wall, or simulated floor is assumed to be acid immune. Includes weird things like unsimulated floors and space.
|
||||
|
||||
if(cannot_melt)
|
||||
to_chat(src, "<span class='notice'>You cannot dissolve this object.</span>")
|
||||
to_chat(src, span_notice("You cannot dissolve this object."))
|
||||
return
|
||||
|
||||
new /obj/effect/alien/acid(get_turf(O), O)
|
||||
visible_message("<span class='alium'><B>[src] vomits globs of vile stuff all over [O]. It begins to sizzle and melt under the bubbling mess of acid!</B></span>")
|
||||
visible_message(span_alium(span_bold("[src] vomits globs of vile stuff all over [O]. It begins to sizzle and melt under the bubbling mess of acid!")))
|
||||
|
||||
return
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
set category = "Abilities.Mob"
|
||||
|
||||
if(world.time < speen_last)
|
||||
to_chat(src, "<span class='warning'>You cannot spin again so soon.</span>")
|
||||
to_chat(src, span_warning("You cannot spin again so soon."))
|
||||
return
|
||||
|
||||
speen_last = world.time + speen_delay
|
||||
@@ -344,6 +344,6 @@
|
||||
M.Weaken(1.5)
|
||||
if(!gentle)
|
||||
M.adjustBruteLoss(damage)
|
||||
to_chat(M, "<span class='userdanger'>You're thrown back by [src]!</span>")
|
||||
to_chat(M, span_userdanger("You're thrown back by [src]!"))
|
||||
playsound(src, get_sfx("punch"), 50, 1)
|
||||
AM.throw_at(throwtarget, maxthrow, 3, src)
|
||||
|
||||
@@ -254,7 +254,7 @@ ANT STRUCTURES
|
||||
L.visible_message(
|
||||
span_danger("[L] steps in \the [src]."),
|
||||
span_danger("You step in \the [src]!"),
|
||||
"<b>You hear a strange rustling!</b>"
|
||||
span_hear(span_bold("You hear a strange rustling!"))
|
||||
)
|
||||
attack_mob(L)
|
||||
update_icon()
|
||||
|
||||
@@ -87,8 +87,8 @@
|
||||
desc = "Can you even see this in game?"
|
||||
mob_overlay_state = "cult_aura"
|
||||
|
||||
on_created_text = "<span class='warning'>You feel incrediably vulnerable.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel better.</span>"
|
||||
on_created_text = span_warning("You feel incrediably vulnerable.")
|
||||
on_expired_text = span_notice("You feel better.")
|
||||
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
|
||||
incoming_damage_percent = 2 // Adjusts all incoming damage.
|
||||
incoming_brute_damage_percent = 2 // Only affects bruteloss.
|
||||
|
||||
@@ -571,8 +571,8 @@
|
||||
/datum/modifier/bossbuff
|
||||
name = "boss_buff"
|
||||
|
||||
on_created_text = "<span class='critical'>You feel an intense and overwhelming rage overtake you as you go berserk!</span>"
|
||||
on_expired_text = "<span class='notice'>The blaze of rage inside you has ran out.</span>"
|
||||
on_created_text = span_critical("You feel an intense and overwhelming rage overtake you as you go berserk!")
|
||||
on_expired_text = span_notice("The blaze of rage inside you has ran out.")
|
||||
stacks = MODIFIER_STACK_EXTEND
|
||||
|
||||
disable_duration_percent = 0
|
||||
@@ -587,8 +587,8 @@
|
||||
|
||||
aura_max_distance = 28
|
||||
|
||||
on_created_text = "<span class='critical'>You feel like you're falling into ruin!</span>"
|
||||
on_expired_text = "<span class='notice'>The ruin feeling is gone.</span>"
|
||||
on_created_text = span_critical("You feel like you're falling into ruin!")
|
||||
on_expired_text = span_notice("The ruin feeling is gone.")
|
||||
stacks = MODIFIER_STACK_EXTEND
|
||||
|
||||
/datum/modifier/aura/despair/tick()
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
var/armorcheck = run_armor_check(null, P.check_armour)
|
||||
var/soakedcheck = get_armor_soak(null, P.check_armour)
|
||||
if(!(istype(P, /obj/item/projectile/energy) || istype(P, /obj/item/projectile/beam)))
|
||||
visible_message("<span class='danger'>The [P.name] bounces off of [src]'s shield!</span>", \
|
||||
"<span class='userdanger'>The [P.name] bounces off of [src]'s shield!</span>")
|
||||
visible_message(span_danger("The [P.name] bounces off of [src]'s shield!"), \
|
||||
span_userdanger("The [P.name] bounces off of [src]'s shield!"))
|
||||
new /obj/item/material/shard/shrapnel(src.loc)
|
||||
if(!(P.damage_type == BRUTE || P.damage_type == BURN))
|
||||
projectile_dam_type = BRUTE
|
||||
@@ -35,8 +35,8 @@
|
||||
apply_damage(incoming_damage, projectile_dam_type, null, armorcheck, soakedcheck, is_sharp(P), has_edge(P), P)
|
||||
return -1 //Doesn't reflect non-beams or non-energy projectiles. They just smack and drop with little to no effect.
|
||||
else
|
||||
visible_message("<span class='danger'>The [P.name] gets reflected by [src]'s shield!</span>", \
|
||||
"<span class='userdanger'>The [P.name] gets reflected by [src]'s shield!</span>")
|
||||
visible_message(span_danger("The [P.name] gets reflected by [src]'s shield!"), \
|
||||
span_userdanger("The [P.name] gets reflected by [src]'s shield!"))
|
||||
damage_mod = rand(3,5)
|
||||
incoming_damage = (round(P.damage / damage_mod) - (round((P.damage / damage_mod) * 0.3)))
|
||||
if(!(P.damage_type == BRUTE || P.damage_type == BURN))
|
||||
|
||||
@@ -139,8 +139,8 @@
|
||||
desc = "Can you even see this in game?"
|
||||
mob_overlay_state = "on_fire"
|
||||
|
||||
on_created_text = "<span class='warning'>You are on digital fire.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel better.</span>"
|
||||
on_created_text = span_warning("You are on digital fire.")
|
||||
on_expired_text = span_notice("You feel better.")
|
||||
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
|
||||
var/damage_per_tick = 1.5
|
||||
bleeding_rate_percent = 0.7
|
||||
@@ -153,8 +153,8 @@
|
||||
desc = "Can you even see this in game?."
|
||||
mob_overlay_state = "blue_electricity_constant"
|
||||
|
||||
on_created_text = "<span class='warning'>You are filled with digital lighting.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel better.</span>"
|
||||
on_created_text = span_warning("You are filled with digital lighting.")
|
||||
on_expired_text = span_notice("You feel better.")
|
||||
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
|
||||
damage_per_tick = 1.0
|
||||
incoming_fire_damage_percent = 1.1
|
||||
@@ -164,8 +164,8 @@
|
||||
desc = "Can you even see this in game?."
|
||||
mob_overlay_state = "poisoned"
|
||||
|
||||
on_created_text = "<span class='warning'>You are on digital poisoned.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel better.</span>"
|
||||
on_created_text = span_warning("You are on digital poisoned.")
|
||||
on_expired_text = span_notice("You feel better.")
|
||||
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
|
||||
var/damage_per_tick = 3
|
||||
|
||||
@@ -179,8 +179,8 @@
|
||||
desc = "Can you even see this in game?."
|
||||
mob_overlay_state = "chilled"
|
||||
|
||||
on_created_text = "<span class='warning'>You are on freezing, digitally.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel better.</span>"
|
||||
on_created_text = span_warning("You are on freezing, digitally.")
|
||||
on_expired_text = span_notice("You feel better.")
|
||||
stacks = MODIFIER_STACK_ALLOWED // Multiple instances will hurt a lot.
|
||||
damage_per_tick = 1
|
||||
slowdown = 0.5
|
||||
@@ -190,8 +190,8 @@
|
||||
desc = "Can you even see this in game?."
|
||||
mob_overlay_state = "corana"
|
||||
|
||||
on_created_text = "<span class='warning'>You feel less real.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel real again.</span>"
|
||||
on_created_text = span_warning("You feel less real.")
|
||||
on_expired_text = span_notice("You feel real again.")
|
||||
stacks = MODIFIER_STACK_ALLOWED //How does this stack?
|
||||
max_health_percent = 0.7
|
||||
|
||||
@@ -200,8 +200,8 @@
|
||||
desc = "Can you even see this in game?."
|
||||
mob_overlay_state = "cult_aura"
|
||||
|
||||
on_created_text = "<span class='warning'>You feel like the end is nigh.</span>"
|
||||
on_expired_text = "<span class='notice'>You feel safe for now.</span>"
|
||||
on_created_text = span_warning("You feel like the end is nigh.")
|
||||
on_expired_text = span_notice("You feel safe for now.")
|
||||
aura_max_distance = 4
|
||||
max_health_percent = 0.9
|
||||
disable_duration_percent = 1.2
|
||||
|
||||
+5
-5
@@ -113,7 +113,7 @@
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/solar/bullet_act(obj/item/projectile/P)
|
||||
if(istype(P, /obj/item/projectile/energy) || istype(P, /obj/item/projectile/beam))
|
||||
visible_message(span_orange("<B>[P] seems ineffective!.</B>"))
|
||||
visible_message(span_boldwarning(span_orange("[P] seems ineffective!.")))
|
||||
..()
|
||||
else
|
||||
..()
|
||||
@@ -231,7 +231,7 @@
|
||||
try_reload()
|
||||
return FALSE
|
||||
|
||||
visible_message(span_danger("<b>\The [src]</b> fires at \the [orig_targ]!"))
|
||||
visible_message(span_danger(span_bold("\The [src]") + " fires at \the [orig_targ]!"))
|
||||
shoot(A)
|
||||
if(casingtype)
|
||||
new casingtype(loc)
|
||||
@@ -284,7 +284,7 @@
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/lunar/bullet_act(obj/item/projectile/P)
|
||||
if(istype(P, /obj/item/projectile/bullet))
|
||||
visible_message(span_orange("<B>[P] seems ineffective!.</B>"))
|
||||
visible_message(span_boldwarning(span_orange("[P] seems ineffective!.")))
|
||||
..()
|
||||
else
|
||||
..()
|
||||
@@ -333,7 +333,7 @@
|
||||
try_reload()
|
||||
return FALSE
|
||||
|
||||
visible_message(span_danger("<b>\The [src]</b> fires at \the [orig_targ]!"))
|
||||
visible_message(span_danger(span_bold("\The [src]") + " fires at \the [orig_targ]!"))
|
||||
shoot(A)
|
||||
if(casingtype)
|
||||
new casingtype(loc)
|
||||
@@ -646,7 +646,7 @@
|
||||
try_reload()
|
||||
return FALSE
|
||||
|
||||
visible_message(span_danger("<b>\The [src]</b> fires at \the [orig_targ]!"))
|
||||
visible_message(span_danger(span_bold("\The [src]") + " fires at \the [orig_targ]!"))
|
||||
shoot(A)
|
||||
if(casingtype)
|
||||
new casingtype(loc)
|
||||
|
||||
@@ -384,16 +384,16 @@
|
||||
if(fullshield > 0)
|
||||
fullshield--
|
||||
if(fullshield > 0)
|
||||
visible_message(span_warning(span_orange("<B>[P] is absorbed by the shield!.</B>")))
|
||||
visible_message(span_boldwarning(span_orange("[P] is absorbed by the shield!.")))
|
||||
else
|
||||
visible_message(span_warning(span_orange("<B>[P] breaks the shield!!.</B>")))
|
||||
visible_message(span_boldwarning(span_orange("[P] breaks the shield!!.")))
|
||||
else
|
||||
..()
|
||||
shieldrage--
|
||||
if(shieldrage == 0)
|
||||
shieldrage = 6
|
||||
fullshield = 6
|
||||
visible_message(span_warning(span_orange("<B>The shield reactivates!!.</B>")))
|
||||
visible_message(span_boldwarning(span_orange("The shield reactivates!!.")))
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/tyrlead/do_special_attack(atom/A)
|
||||
if(vore_fullness > 2) //If they nompf someone already
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@
|
||||
|
||||
if(L.can_be_drop_prey && L.devourable)
|
||||
L.forceMove(belly_dest)
|
||||
to_chat(target, "<span class='danger'>[src] materializes around you, as you end up in their [belly_dest]!</span>")
|
||||
to_chat(target, span_danger("[src] materializes around you, as you end up in their [belly_dest]!"))
|
||||
|
||||
|
||||
/mob/living/simple_mob/humanoid/starhunter/hunter/proc/smokebomb(atom/target)
|
||||
|
||||
+3
-3
@@ -18,7 +18,7 @@
|
||||
|
||||
/mob/living/simple_mob/humanoid/starhunter/hunter/bullet_act(obj/item/projectile/P)
|
||||
if(istype(P, /obj/item/projectile/energy/lightpillar))
|
||||
visible_message(span_orange("<B>[P] seems ineffective!.</B>")) //immune to their own attack
|
||||
visible_message(span_bolddanger(span_orange("[P] seems ineffective!."))) //immune to their own attack
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
*/
|
||||
if(ranged_cooldown_time) //If you have a non-zero number in a mob's variables, this pattern begins.
|
||||
if(ranged_cooldown <= world.time) //Further down, a timer keeps adding to the ranged_cooldown variable automatically.
|
||||
visible_message("<span class='danger'><b>\The [src]</b> fires at \the [A]!</span>") //Leave notice of shooting.
|
||||
visible_message(span_danger(span_bold("\The [src]") + " fires at \the [A]!")) //Leave notice of shooting.
|
||||
shoot(A) //Perform the shoot action
|
||||
if(casingtype) //If the mob is designated to leave casings...
|
||||
new casingtype(loc) //... leave the casing.
|
||||
@@ -98,7 +98,7 @@
|
||||
return TRUE //End these commands here.
|
||||
// CHOMPAddition End
|
||||
|
||||
visible_message("<span class='danger'><b>\The [src]</b> fires at \the [orig_targ]!</span>")
|
||||
visible_message(span_danger(span_bold("\The [src]") + " fires at \the [orig_targ]!"))
|
||||
shoot(A)
|
||||
if(casingtype)
|
||||
new casingtype(loc)
|
||||
|
||||
+21
-21
@@ -75,7 +75,7 @@
|
||||
W.forceMove(src)
|
||||
coin = W
|
||||
categories |= CAT_COIN
|
||||
to_chat(user, "<span class='notice'>You insert \the [W] into \the [src].</span>")
|
||||
to_chat(user, span_notice("You insert \the [W] into \the [src]."))
|
||||
SStgui.update_uis(src)
|
||||
return
|
||||
else
|
||||
@@ -92,12 +92,12 @@
|
||||
|
||||
// This is not a status display message, since it's something the character
|
||||
// themselves is meant to see BEFORE putting the money in
|
||||
to_chat(usr, "[icon2html(cashmoney,user.client)] <span class='warning'>That is not enough money.</span>")
|
||||
to_chat(usr, "[icon2html(cashmoney,user.client)] " + span_warning("That is not enough money."))
|
||||
return 0
|
||||
|
||||
if(istype(cashmoney, /obj/item/spacecash))
|
||||
|
||||
visible_message("<span class='info'>\The [usr] inserts some cash into \the [src].</span>")
|
||||
visible_message(span_info("\The [usr] inserts some cash into \the [src]."))
|
||||
cashmoney.worth -= currently_vending.price
|
||||
|
||||
if(cashmoney.worth <= 0)
|
||||
@@ -186,20 +186,20 @@
|
||||
return FALSE
|
||||
|
||||
if(!coin)
|
||||
to_chat(usr, "<span class='filter_notice'>There is no coin in this machine.</span>")
|
||||
to_chat(usr, span_filter_notice("There is no coin in this machine."))
|
||||
return
|
||||
|
||||
coin.forceMove(src.loc)
|
||||
if(!usr.get_active_hand())
|
||||
usr.put_in_hands(coin)
|
||||
|
||||
to_chat(usr, "<span class='notice'>You remove \the [coin] from \the [src].</span>")
|
||||
to_chat(usr, span_notice("You remove \the [coin] from \the [src]."))
|
||||
coin = null
|
||||
categories &= ~CAT_COIN
|
||||
return TRUE
|
||||
if("vend")
|
||||
if(!vend_ready)
|
||||
to_chat(usr, "<span class='warning'>[src] is busy!</span>")
|
||||
to_chat(usr, span_warning("[src] is busy!"))
|
||||
return
|
||||
|
||||
var/key = text2num(params["vend"])
|
||||
@@ -218,7 +218,7 @@
|
||||
return TRUE
|
||||
|
||||
if(issilicon(usr)) //If the item is not free, provide feedback if a synth is trying to buy something.
|
||||
to_chat(usr, "<span class='danger'>Lawed unit recognized. Lawed units cannot complete this transaction. Purchase canceled.</span>")
|
||||
to_chat(usr, span_danger("Lawed unit recognized. Lawed units cannot complete this transaction. Purchase canceled."))
|
||||
return
|
||||
if(!ishuman(usr))
|
||||
return
|
||||
@@ -229,7 +229,7 @@
|
||||
var/obj/item/card/id/C = H.GetIdCard()
|
||||
|
||||
if(!vendor_account || vendor_account.suspended)
|
||||
to_chat(usr, "<span class='filter_notice'>Vendor account offline. Unable to process transaction.</span>")
|
||||
to_chat(usr, span_filter_notice("Vendor account offline. Unable to process transaction."))
|
||||
flick("[icon_state]-deny",src)
|
||||
vend_ready = TRUE
|
||||
return
|
||||
@@ -247,10 +247,10 @@
|
||||
else if(istype(C, /obj/item/card))
|
||||
paid = pay_with_card(C, usr)
|
||||
/*else if(usr.can_advanced_admin_interact())
|
||||
to_chat(usr, "<span class='notice'>Vending object due to admin interaction.</span>")
|
||||
to_chat(usr, span_notice("Vending object due to admin interaction."))
|
||||
paid = TRUE*/
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>Payment failure: you have no ID or other method of payment.</span>")
|
||||
to_chat(usr, span_warning("Payment failure: you have no ID or other method of payment."))
|
||||
vend_ready = TRUE
|
||||
flick("[icon_state]-deny",src)
|
||||
return TRUE // we set this because they shouldn't even be able to get this far, and we want the UI to update.
|
||||
@@ -258,7 +258,7 @@
|
||||
vend(currently_vending, usr) // vend will handle vend_ready
|
||||
. = TRUE
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>Payment failure: unable to process payment.</span>")
|
||||
to_chat(usr, span_warning("Payment failure: unable to process payment."))
|
||||
vend_ready = TRUE
|
||||
|
||||
/mob/living/simple_mob/humanoid/starhunter/trader/proc/vend(datum/stored_item/vending_product/R, mob/user)
|
||||
@@ -266,7 +266,7 @@
|
||||
return
|
||||
|
||||
if(!R.amount)
|
||||
to_chat(user, "<span class='warning'>[src] has ran out of that product.</span>")
|
||||
to_chat(user, span_warning("[src] has ran out of that product."))
|
||||
vend_ready = TRUE
|
||||
return
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
|
||||
if(R.category & CAT_COIN)
|
||||
if(!coin)
|
||||
to_chat(user, "<span class='notice'>You need to insert a coin to get this item.</span>")
|
||||
to_chat(user, span_notice("You need to insert a coin to get this item."))
|
||||
return
|
||||
else
|
||||
qdel(coin)
|
||||
@@ -300,7 +300,7 @@
|
||||
if(!user.unEquip(W))
|
||||
return
|
||||
|
||||
to_chat(user, "<span class='notice'>You insert \the [W] in the product receptor.</span>")
|
||||
to_chat(user, span_notice("You insert \the [W] in the product receptor."))
|
||||
R.add_product(W)
|
||||
if(has_logs)
|
||||
do_logging(R, user)
|
||||
@@ -308,10 +308,10 @@
|
||||
SStgui.update_uis(src)
|
||||
|
||||
/mob/living/simple_mob/humanoid/starhunter/trader/proc/pay_with_ewallet(var/obj/item/spacecash/ewallet/wallet)
|
||||
visible_message("<span class='info'>\The [usr] swipes \the [wallet] through \the [src].</span>")
|
||||
visible_message(span_info("\The [usr] swipes \the [wallet] through \the [src]."))
|
||||
playsound(src, 'sound/machines/id_swipe.ogg', 50, 1)
|
||||
if(currently_vending.price > wallet.worth)
|
||||
to_chat(usr, "<span class='warning'>Insufficient funds on chargecard.</span>")
|
||||
to_chat(usr, span_warning("Insufficient funds on chargecard."))
|
||||
return 0
|
||||
else
|
||||
wallet.worth -= currently_vending.price
|
||||
@@ -325,16 +325,16 @@
|
||||
* successful, 0 if failed
|
||||
*/
|
||||
/mob/living/simple_mob/humanoid/starhunter/trader/proc/pay_with_card(obj/item/card/id/I, mob/M)
|
||||
visible_message("<span class='info'>[M] swipes a card through [src].</span>")
|
||||
visible_message(span_info("[M] swipes a card through [src]."))
|
||||
playsound(src, 'sound/machines/id_swipe.ogg', 50, 1)
|
||||
|
||||
var/datum/money_account/customer_account = get_account(I.associated_account_number)
|
||||
if(!customer_account)
|
||||
to_chat(M, "<span class='warning'>Error: Unable to access account. Please contact technical support if problem persists.</span>")
|
||||
to_chat(M, span_warning("Error: Unable to access account. Please contact technical support if problem persists."))
|
||||
return FALSE
|
||||
|
||||
if(customer_account.suspended)
|
||||
to_chat(M, "<span class='warning'>Unable to access account: account suspended.</span>")
|
||||
to_chat(M, span_warning("Unable to access account: account suspended."))
|
||||
return FALSE
|
||||
|
||||
// Have the customer punch in the PIN before checking if there's enough money. Prevents people from figuring out acct is
|
||||
@@ -344,11 +344,11 @@
|
||||
customer_account = attempt_account_access(I.associated_account_number, attempt_pin, 2)
|
||||
|
||||
if(!customer_account)
|
||||
to_chat(M, "<span class='warning'>Unable to access account: incorrect credentials.</span>")
|
||||
to_chat(M, span_warning("Unable to access account: incorrect credentials."))
|
||||
return FALSE
|
||||
|
||||
if(currently_vending.price > customer_account.money)
|
||||
to_chat(M, "<span class='warning'>Insufficient funds in account.</span>")
|
||||
to_chat(M, span_warning("Insufficient funds in account."))
|
||||
return FALSE
|
||||
|
||||
// Okay to move the money at this point
|
||||
|
||||
+2
-2
@@ -25,8 +25,8 @@
|
||||
/mob/living/simple_mob/construct/juggernaut/behemoth/unstoppable/bullet_act(var/obj/item/projectile/P)
|
||||
var/reflectchance = 100 - round(P.damage*2)
|
||||
if(prob(reflectchance))
|
||||
visible_message("<span class='danger'>The [P.name] gets reflected by [src]'s shell!</span>", \
|
||||
"<span class='userdanger'>The [P.name] gets reflected by [src]'s shell!</span>")
|
||||
visible_message(span_danger("The [P.name] gets reflected by [src]'s shell!"), \
|
||||
span_userdanger("The [P.name] gets reflected by [src]'s shell!"))
|
||||
|
||||
// Find a turf near or on the original location to bounce to
|
||||
if(P.starting)
|
||||
|
||||
+4
-4
@@ -236,8 +236,8 @@
|
||||
var/armorcheck = run_armor_check(null, P.check_armour)
|
||||
var/soakedcheck = get_armor_soak(null, P.check_armour)
|
||||
if(!(istype(P, /obj/item/projectile/energy) || istype(P, /obj/item/projectile/beam)))
|
||||
visible_message("<span class='danger'>The [P.name] bounces off of [src]'s shell!</span>", \
|
||||
"<span class='userdanger'>The [P.name] bounces off of [src]'s shell!</span>")
|
||||
visible_message(span_danger("The [P.name] bounces off of [src]'s shell!"), \
|
||||
span_userdanger("The [P.name] bounces off of [src]'s shell!"))
|
||||
new /obj/item/material/shard/shrapnel(src.loc)
|
||||
if(!(P.damage_type == BRUTE || P.damage_type == BURN))
|
||||
projectile_dam_type = BRUTE
|
||||
@@ -245,8 +245,8 @@
|
||||
apply_damage(incoming_damage, projectile_dam_type, null, armorcheck, soakedcheck, is_sharp(P), has_edge(P), P)
|
||||
return -1 //Doesn't reflect non-beams or non-energy projectiles. They just smack and drop with little to no effect.
|
||||
else
|
||||
visible_message("<span class='danger'>The [P.name] gets reflected by [src]'s shell!</span>", \
|
||||
"<span class='userdanger'>The [P.name] gets reflected by [src]'s shell!</span>")
|
||||
visible_message(span_danger("The [P.name] gets reflected by [src]'s shell!"), \
|
||||
span_userdanger("The [P.name] gets reflected by [src]'s shell!"))
|
||||
damage_mod = rand(3,5)
|
||||
incoming_damage = (round(P.damage / damage_mod) - (round((P.damage / damage_mod) * 0.3)))
|
||||
if(!(P.damage_type == BRUTE || P.damage_type == BURN))
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
required = /obj/item/slime_extract/sepia
|
||||
|
||||
/decl/chemical_reaction/instant/slime/secertslime/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/redspace(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
required = /obj/item/slime_extract/sepia
|
||||
|
||||
/decl/chemical_reaction/instant/slime/sepia_new_slime/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/sepia(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
required = /obj/item/slime_extract/dark
|
||||
|
||||
/decl/chemical_reaction/instant/slime/dark_carpotoxin/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/oceanic(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -313,8 +313,8 @@
|
||||
name = "Aura Healing Tide"
|
||||
desc = "You are filled with an overwhelming energy."
|
||||
|
||||
on_created_text = "<span class='critical'>Your body begins to focus on recovering!</span>"
|
||||
on_expired_text = "<span class='notice'>The healing subsides.</span>"
|
||||
on_created_text = span_critical("Your body begins to focus on recovering!")
|
||||
on_expired_text = span_notice("The healing subsides.")
|
||||
stacks = MODIFIER_STACK_FORBID
|
||||
aura_max_distance = 4
|
||||
|
||||
@@ -374,7 +374,7 @@
|
||||
required = /obj/item/slime_extract/plague
|
||||
|
||||
/decl/chemical_reaction/instant/slime/warplague/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/nuclear(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -408,8 +408,8 @@
|
||||
name = "Radiation Hide"
|
||||
desc = "Your body defensivly warps."
|
||||
|
||||
on_created_text = "<span class='critical'>Your body strangly mutates!</span>"
|
||||
on_expired_text = "<span class='notice'>Your body returns to normal.</span>"
|
||||
on_created_text = span_critical("Your body strangly mutates!")
|
||||
on_expired_text = span_notice("Your body returns to normal.")
|
||||
stacks = MODIFIER_STACK_FORBID
|
||||
aura_max_distance = 4
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
/decl/chemical_reaction/instant/slime/nuclear_radpulse/on_reaction(var/datum/reagents/holder)
|
||||
log_and_message_admins("Green extract reaction (radiation pulse) has been activated in [get_area(holder.my_atom)]. Last fingerprints: [holder.my_atom.fingerprintslast]")
|
||||
playsound(holder.my_atom, 'sound/effects/phasein.ogg', 75, 1)
|
||||
holder.my_atom.visible_message("<span class='danger'>\The [holder.my_atom] begins to vibrate violently!</span>")
|
||||
holder.my_atom.visible_message(span_danger("\The [holder.my_atom] begins to vibrate violently!"))
|
||||
spawn(5 SECONDS)
|
||||
SSradiation.flat_radiate(src, 30, 7, TRUE)
|
||||
..()
|
||||
@@ -513,7 +513,7 @@
|
||||
required = /obj/item/slime_extract/dream
|
||||
|
||||
/decl/chemical_reaction/instant/slime/nightmareslime/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with slime jelly, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/nightmare(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -630,7 +630,7 @@
|
||||
required = /obj/item/slime_extract/redspace
|
||||
|
||||
/decl/chemical_reaction/instant/slime/redspace_sound/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/sound(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
@@ -664,8 +664,8 @@
|
||||
name = "Soothing Song"
|
||||
desc = "Your body is soothed."
|
||||
|
||||
on_created_text = "<span class='critical'>Your mind is put to rest!</span>"
|
||||
on_expired_text = "<span class='notice'>Your mind functions normally.</span>"
|
||||
on_created_text = span_critical("Your mind is put to rest!")
|
||||
on_expired_text = span_notice("Your mind functions normally.")
|
||||
stacks = MODIFIER_STACK_FORBID
|
||||
aura_max_distance = 4
|
||||
|
||||
@@ -709,7 +709,7 @@
|
||||
required = /obj/item/slime_extract/sound
|
||||
|
||||
/decl/chemical_reaction/instant/slime/soundwater/on_reaction(var/datum/reagents/holder)
|
||||
holder.my_atom.visible_message("<span class='warning'>Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
holder.my_atom.visible_message(span_warning("Infused with the mixture, the core begins to quiver and grow, and soon a new baby slime emerges from it!"))
|
||||
new /mob/living/simple_mob/slime/xenobio/sound(get_turf(holder.my_atom))
|
||||
..()
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
horns,
|
||||
overlay_colors["Eyes"],
|
||||
eyes), ";")
|
||||
to_chat(src, "<span class='notice'>Exported style string is \" [output_style] \". Use this to get the same style in the future with import style</span>")
|
||||
to_chat(src, span_notice("Exported style string is \" [output_style] \". Use this to get the same style in the future with import style"))
|
||||
|
||||
/mob/living/simple_mob/vore/bigdragon/proc/import_style()
|
||||
set name = "Import style string"
|
||||
|
||||
@@ -647,15 +647,15 @@
|
||||
/mob/living/simple_mob/vore/candy/peppermint/attackby(var/obj/item/O as obj, var/mob/user as mob)
|
||||
if(O.force)
|
||||
if(prob(80))
|
||||
visible_message("<span class='danger'>\The [src] deflects \the [O] with its shell!</span>")
|
||||
visible_message(span_danger("\The [src] deflects \the [O] with its shell!"))
|
||||
if(user)
|
||||
ai_holder.react_to_attack(user)
|
||||
return
|
||||
else
|
||||
..()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>This weapon is ineffective, it does no damage.</span>")
|
||||
visible_message("<span class='warning'>\The [user] gently taps [src] with \the [O].</span>")
|
||||
to_chat(user, span_warning("This weapon is ineffective, it does no damage."))
|
||||
visible_message(span_warning("\The [user] gently taps [src] with \the [O]."))
|
||||
|
||||
/*
|
||||
/mob/living/simple_mob/vore/candy/worm
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
set category = "Abilities.Shadekin"
|
||||
|
||||
if(phase_gentle)
|
||||
to_chat(src, "<span class='notice'>Phasing toggled to Normal. You may damage lights.</span>")
|
||||
to_chat(src, span_notice("Phasing toggled to Normal. You may damage lights."))
|
||||
phase_gentle = 0
|
||||
else
|
||||
to_chat(src, "<span class='notice'>Phasing toggled to Gentle. You won't damage lights, but concentrating on that incurs a short stun.</span>")
|
||||
to_chat(src, span_notice("Phasing toggled to Gentle. You won't damage lights, but concentrating on that incurs a short stun."))
|
||||
phase_gentle = 1
|
||||
|
||||
@@ -57,11 +57,11 @@
|
||||
L = new evolve(get_turf(src))
|
||||
if(mind)
|
||||
src.mind.transfer_to(L)
|
||||
visible_message("<span class='warning'>\The [src] suddenly evolves!</span>")
|
||||
visible_message(span_warning("\The [src] suddenly evolves!"))
|
||||
qdel(src)
|
||||
|
||||
/mob/living/simple_mob/vore/spacecritter/proc/duplicate()
|
||||
visible_message("<span class='warning'>\The [src] splits into two!</span>")
|
||||
visible_message(span_warning("\The [src] splits into two!"))
|
||||
new copy (src.loc)
|
||||
|
||||
|
||||
|
||||
@@ -253,15 +253,15 @@
|
||||
if(istype(AM, /mob/living))
|
||||
var/mob/living/M = AM
|
||||
if(!M.devourable || !M.can_be_drop_prey)
|
||||
to_chat(M, "<span class='warning'>[src] plunges their head into \the [D], while you narrowly avoid being sucked up!</span>")
|
||||
to_chat(M, span_warning("[src] plunges their head into \the [D], while you narrowly avoid being sucked up!"))
|
||||
continue
|
||||
to_chat(M, "<span class='warning'>[src] plunges their head into \the [D], sucking up everything inside- Including you!</span>")
|
||||
to_chat(M, span_warning("[src] plunges their head into \the [D], sucking up everything inside- Including you!"))
|
||||
foundstuff = 1
|
||||
AM.forceMove(src)
|
||||
if(foundstuff)
|
||||
src.visible_message("<span class='warning'>[src] plunges their head into \the [D], greedily sucking up everything inside!</span>")
|
||||
src.visible_message(span_warning("[src] plunges their head into \the [D], greedily sucking up everything inside!"))
|
||||
else //Oh, Nothing was inside...
|
||||
to_chat(src, "You poke your head into \the [D], but there doesnt seem to be anything of interest...")
|
||||
to_chat(src, span_infoplain("You poke your head into \the [D], but there doesnt seem to be anything of interest..."))
|
||||
return
|
||||
var/resolved = Vac.resolve_attackby(A, src, click_parameters = params)
|
||||
if(!resolved && A && Vac)
|
||||
@@ -278,7 +278,7 @@
|
||||
if(L.a_intent == I_GRAB && Vac && Vac.loc == src)
|
||||
if(L.zone_sel.selecting == BP_HEAD)
|
||||
if(L.put_in_active_hand(Vac))
|
||||
L.visible_message("<span class='warning'>[L] grabs [src] by the neck, brandishing the thing like a regular vacuum cleaner!</span>")
|
||||
L.visible_message(span_warning("[L] grabs [src] by the neck, brandishing the thing like a regular vacuum cleaner!"))
|
||||
L.start_pulling(src)
|
||||
return
|
||||
. = ..()
|
||||
@@ -303,9 +303,9 @@
|
||||
set category = "IC"
|
||||
set src in oview(1)
|
||||
if(!has_AI() || !IIsAlly(usr))
|
||||
to_chat(usr, "<span class=danger></span>")
|
||||
to_chat(usr, span_danger(""))
|
||||
if(!ai_holder == /datum/ai_holder/simple_mob/retaliate/swoopie || !ai_holder)
|
||||
to_chat(usr, "<span class=warning>This [src] doesnt seem to have changable settings!</span>")
|
||||
to_chat(usr, span_warning("This [src] doesnt seem to have changable settings!"))
|
||||
return
|
||||
var/datum/ai_holder/simple_mob/retaliate/swoopie/ai = ai_holder
|
||||
var/list/swooping_options = list(
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
var/leap_warmup = 0.5 SECOND // How long the leap telegraphing is.
|
||||
var/leap_sound = 'sound/weapons/spiderlunge.ogg'
|
||||
|
||||
player_msg = "You are very fast, and <b>can perform a leaping attack</b> by clicking on someone from a short distance away.<br>\
|
||||
player_msg = "You are very fast, and " + span_bold("can perform a leaping attack") + " by clicking on someone from a short distance away.<br>\
|
||||
If the leap succeeds, the target will be knocked down briefly and you will be on top of them.<br>\
|
||||
Note that there is a short delay before you leap!<br>\
|
||||
In addition, you will do more damage to incapacitated opponents."
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
set category = "Abilities.Settings"
|
||||
|
||||
if(picked_size)
|
||||
to_chat(src, "<span class='notice'>You have already picked a size! If you picked the wrong size, ask an admin to change your picked_size variable to 0.</span>")
|
||||
to_chat(src, span_notice("You have already picked a size! If you picked the wrong size, ask an admin to change your picked_size variable to 0."))
|
||||
return
|
||||
if(!resizable)
|
||||
to_chat(src, "<span class='warning'>You are immune to resizing!</span>")
|
||||
to_chat(src, span_warning("You are immune to resizing!"))
|
||||
return
|
||||
|
||||
var/nagmessage = "Pick a size between 25 to 200%. (Only usable once!)"
|
||||
@@ -31,7 +31,7 @@
|
||||
set category = "Abilities.Settings"
|
||||
set desc = "You can set your color!"
|
||||
if(picked_color)
|
||||
to_chat(src, "<span class='notice'>You have already picked a color! If you picked the wrong color, ask an admin to change your picked_color variable to 0.</span>")
|
||||
to_chat(src, span_notice("You have already picked a color! If you picked the wrong color, ask an admin to change your picked_color variable to 0."))
|
||||
return
|
||||
var/newcolor = input(usr, "Choose a color.", "", color) as color|null
|
||||
if(newcolor)
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
/mob/living/simple_mob/vore/weatherbeast/sandstorm/do_special_attack(atom/A)
|
||||
if(health < maxHealth*0.25)
|
||||
visible_message(span_orange("<B>The fossil tank begins self repairs!.</B>"))
|
||||
visible_message(span_bolddanger(span_orange("The fossil tank begins self repairs!.")))
|
||||
sleep(30)
|
||||
for(var/i =1 to 10)
|
||||
adjustBruteLoss(-100)
|
||||
@@ -215,7 +215,7 @@
|
||||
|
||||
/mob/living/simple_mob/vore/weatherbeast/acidrain/do_special_attack(atom/A)
|
||||
if(nutrition > 1100)
|
||||
visible_message(span_orange("<B>The giant jellyfish begins to regenerate!.</B>"))
|
||||
visible_message(span_bolddanger(span_orange("The giant jellyfish begins to regenerate!.")))
|
||||
adjustBruteLoss(-300)
|
||||
adjustFireLoss(-300)
|
||||
adjust_nutrition(-500)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
O = new /obj/effect/alien/weeds/node(targetLoc)
|
||||
|
||||
if(O)
|
||||
visible_message("<span class='warning'><B>[src] vomits up a thick purple substance and begins to shape it!</B></span>", "<span class='alium'>You shape a [choice].</span>")
|
||||
visible_message(span_boldwarning("[src] vomits up a thick purple substance and begins to shape it!"), span_alium("You shape a [choice]."))
|
||||
O.color = "#321D37"
|
||||
playsound(src, 'sound/effects/blobattack.ogg', 40, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user