Converts visible_message notice spans to look more like emotes

This commit is contained in:
Chompstation Bot
2021-07-05 20:30:12 +00:00
parent b40f14fc6b
commit 14129d60cf
135 changed files with 2464 additions and 248 deletions

View File

@@ -63,7 +63,7 @@
if(removing)
user.put_in_hands(removing)
user.visible_message("<span class='notice'>\The [user] removes \the [removing] from \the [src].</span>")
user.visible_message("<b>\The [user]</b> removes \the [removing] from \the [src].")
playsound(src, 'sound/machines/click.ogg', 10, 1)
update_icon()
return
@@ -91,7 +91,7 @@
to_chat(user, "<span class='warning'>\The [src] has no manipulator installed.</span>")
return
user.put_in_hands(manipulator)
user.visible_message("<span class='notice'>\The [user] levers \the [manipulator] from \the [src].</span>")
user.visible_message("<b>\The [user]</b> levers \the [manipulator] from \the [src].")
playsound(src, thing.usesound, 50, 1)
mat_cost = initial(mat_cost)
manipulator = null
@@ -107,7 +107,7 @@
user.drop_from_inventory(manipulator, src)
playsound(src, 'sound/machines/click.ogg', 10,1)
mat_cost = initial(mat_cost) / (2*manipulator.rating)
user.visible_message("<span class='notice'>\The [user] slots \the [manipulator] into \the [src].</span>")
user.visible_message("<b>\The [user]</b> slots \the [manipulator] into \the [src].")
update_icon()
update_rating_mod()
return
@@ -143,7 +143,7 @@
mat_storage += (SHEET_MATERIAL_AMOUNT/2*0.8) //two plasma ores needed per sheet, some inefficiency for not using refined product
success = TRUE
if(success)
user.visible_message("<span class='notice'>\The [user] loads \the [src] with \the [M].</span>")
user.visible_message("<b>\The [user]</b> loads \the [src] with \the [M].")
playsound(src, 'sound/weapons/flipblade.ogg', 50, 1)
update_icon()
return

View File

@@ -151,7 +151,7 @@
cell = thing
user.drop_from_inventory(cell, src)
playsound(src, 'sound/machines/click.ogg', 10, 1)
user.visible_message("<span class='notice'>\The [user] slots \the [cell] into \the [src].</span>")
user.visible_message("<b>\The [user]</b> slots \the [cell] into \the [src].")
update_icon()
return
@@ -160,7 +160,7 @@
to_chat(user, "<span class='warning'>\The [src] has no capacitor installed.</span>")
return
user.put_in_hands(capacitor)
user.visible_message("<span class='notice'>\The [user] unscrews \the [capacitor] from \the [src].</span>")
user.visible_message("<b>\The [user]</b> unscrews \the [capacitor] from \the [src].")
playsound(src, thing.usesound, 50, 1)
capacitor = null
update_icon()
@@ -174,7 +174,7 @@
user.drop_from_inventory(capacitor, src)
playsound(src, 'sound/machines/click.ogg', 10, 1)
power_per_tick = (power_cost*0.15) * capacitor.rating
user.visible_message("<span class='notice'>\The [user] slots \the [capacitor] into \the [src].</span>")
user.visible_message("<b>\The [user]</b> slots \the [capacitor] into \the [src].")
update_icon()
return
@@ -195,7 +195,7 @@
loaded = new load_type(src, 1)
ammo.use(1)
user.visible_message("<span class='notice'>\The [user] loads \the [src] with \the [loaded].</span>")
user.visible_message("<b>\The [user]</b> loads \the [src] with \the [loaded].")
playsound(src, 'sound/weapons/flipblade.ogg', 50, 1)
update_icon()
return
@@ -215,7 +215,7 @@
if(removing)
removing.forceMove(get_turf(src))
user.put_in_hands(removing)
user.visible_message("<span class='notice'>\The [user] removes \the [removing] from \the [src].</span>")
user.visible_message("<b>\The [user]</b> removes \the [removing] from \the [src].")
playsound(src, 'sound/machines/click.ogg', 10, 1)
update_icon()
return

View File

@@ -17,19 +17,19 @@
to_chat(user, "<span class='warning'>You need at least 5 [reinforcing.singular_name]\s for this task.</span>")
return
reinforcing.use(5)
user.visible_message("<span class='notice'>\The [user] shapes some steel sheets around \the [src] to form a body.</span>")
user.visible_message("<b>\The [user]</b> shapes some steel sheets around \the [src] to form a body.")
increment_construction_stage()
return
if(istype(thing, /obj/item/weapon/tape_roll) && construction_stage == 2)
user.visible_message("<span class='notice'>\The [user] secures \the [src] together with \the [thing].</span>")
user.visible_message("<b>\The [user]</b> secures \the [src] together with \the [thing].")
increment_construction_stage()
return
if(istype(thing, /obj/item/pipe) && construction_stage == 3)
user.drop_from_inventory(thing)
qdel(thing)
user.visible_message("<span class='notice'>\The [user] jams \the [thing] into \the [src].</span>")
user.visible_message("<b>\The [user]</b> jams \the [thing] into \the [src].")
increment_construction_stage()
return
@@ -44,7 +44,7 @@
to_chat(user, "<span class='warning'>You need more fuel!</span>")
return
user.visible_message("<span class='notice'>\The [user] welds the barrel of \the [src] into place.</span>")
user.visible_message("<b>\The [user]</b> welds the barrel of \the [src] into place.")
playsound(src, 'sound/items/Welder2.ogg', 100, 1)
increment_construction_stage()
return
@@ -55,19 +55,19 @@
to_chat(user, "<span class='warning'>You need at least 5 lengths of cable for this task.</span>")
return
cable.use(5)
user.visible_message("<span class='notice'>\The [user] wires \the [src].</span>")
user.visible_message("<b>\The [user]</b> wires \the [src].")
increment_construction_stage()
return
if(istype(thing, /obj/item/weapon/smes_coil) && construction_stage >= 6 && construction_stage <= 8)
user.visible_message("<span class='notice'>\The [user] installs \a [thing] into \the [src].</span>")
user.visible_message("<b>\The [user]</b> installs \a [thing] into \the [src].")
user.drop_from_inventory(thing)
qdel(thing)
increment_construction_stage()
return
if(thing.is_screwdriver() && construction_stage >= 9)
user.visible_message("<span class='notice'>\The [user] secures \the [src] and finishes it off.</span>")
user.visible_message("<b>\The [user]</b> secures \the [src] and finishes it off.")
playsound(src, 'sound/items/Screwdriver.ogg', 50, 1)
var/obj/item/weapon/gun/magnetic/coilgun = new(loc)
var/put_in_hands

View File

@@ -674,7 +674,7 @@
if(result == PROJECTILE_FORCE_MISS)
if(!silenced)
target_mob.visible_message("<span class='notice'>\The [src] misses \the [target_mob] narrowly!</span>")
target_mob.visible_message("<b>\The [src]</b> misses \the [target_mob] narrowly!")
playsound(target_mob, "bullet_miss", 75, 1)
return FALSE

View File

@@ -217,7 +217,7 @@
if(istype(aiming_with, /obj/item/weapon/gun))
playsound(owner, 'sound/weapons/TargetOff.ogg', 50,1)
if(!no_message)
owner.visible_message("<span class='notice'>\The [owner] lowers \the [aiming_with].</span>")
owner.visible_message("<b>\The [owner]</b> lowers \the [aiming_with].")
aiming_with = null
aiming_at.aimed -= src