mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
removes unnecessary \the's and \a's
This commit is contained in:
@@ -41,24 +41,24 @@ Slimecrossing Potions
|
||||
|
||||
/obj/item/slimepotion/peacepotion/attack(mob/living/M, mob/user)
|
||||
if(!isliving(M) || M.stat == DEAD)
|
||||
to_chat(user, "<span class='warning'>\The [src] only works on the living.</span>")
|
||||
to_chat(user, "<span class='warning'>[src] only works on the living.</span>")
|
||||
return ..()
|
||||
if(istype(M, /mob/living/simple_animal/hostile/megafauna))
|
||||
to_chat(user, "<span class='warning'>\The [src] does not work on beings of pure evil!</span>")
|
||||
to_chat(user, "<span class='warning'>[src] does not work on beings of pure evil!</span>")
|
||||
return ..()
|
||||
if(M != user)
|
||||
M.visible_message("<span class='danger'>[user] starts to feed [M] \a [src]!</span>",
|
||||
"<span class='userdanger'>[user] starts to feed you \a [src]!</span>")
|
||||
M.visible_message("<span class='danger'>[user] starts to feed [M] [src]!</span>",
|
||||
"<span class='userdanger'>[user] starts to feed you [src]!</span>")
|
||||
else
|
||||
M.visible_message("<span class='danger'>[user] starts to drink \the [src]!</span>",
|
||||
"<span class='danger'>You start to drink \the [src]!</span>")
|
||||
M.visible_message("<span class='danger'>[user] starts to drink [src]!</span>",
|
||||
"<span class='danger'>You start to drink [src]!</span>")
|
||||
|
||||
if(!do_after(user, 100, target = M))
|
||||
return
|
||||
if(M != user)
|
||||
to_chat(user, "<span class='notice'>You feed [M] \the [src]!</span>")
|
||||
to_chat(user, "<span class='notice'>You feed [M] [src]!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You drink \the [src]!</span>")
|
||||
to_chat(user, "<span class='warning'>You drink [src]!</span>")
|
||||
if(isanimal(M))
|
||||
ADD_TRAIT(M, TRAIT_PACIFISM, MAGIC_TRAIT)
|
||||
else if(iscarbon(M))
|
||||
|
||||
Reference in New Issue
Block a user