mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-24 05:06:47 +01:00
Replace all modular HTML spans with defines spans
In total: - Adds span defines for `reallybig hypnophrase`, `big warning`, `header` - Fixes a missing apostrophe for hypno stare - Makes a special exception for cuddling.dm, which uses an irregular span - Puts the spans file back
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
if(!iscarbon(T)) //not carbon.
|
||||
return
|
||||
if(!T.is_chest_exposed())
|
||||
to_chat(user, "<span class='warning'>You cannot write on someone with their clothes on.</span>")
|
||||
to_chat(user, span_warning("You cannot write on someone with their clothes on."))
|
||||
return
|
||||
|
||||
var/obj/item/G = user:pick_receiving_organ(T, NONE, "Pick a genital to write on", "Cancel to write on the targeted body part")
|
||||
@@ -27,20 +27,20 @@
|
||||
return
|
||||
|
||||
if(!(user==T))
|
||||
src.visible_message("<span class='notice'>[user] begins to write on [T]'s [BP:name].</span>")
|
||||
src.visible_message(span_notice("[user] begins to write on [T]'s [BP:name]."))
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You begin to write on your [BP:name].</span>")
|
||||
to_chat(user, span_notice("You begin to write on your [BP:name]."))
|
||||
|
||||
if(do_mob(user, T, 4 SECONDS))
|
||||
if((length(BP:writtentext))+(length(writting)) < 100) //100 character limmit to stop spamming.
|
||||
BP:writtentext += html_encode(writting) //you can add to text, not remove it.
|
||||
else
|
||||
to_chat(user, "<span class='notice'>There isnt enough space to write that on [T]'s [BP:name].</span>")
|
||||
to_chat(user, span_notice("There isnt enough space to write that on [T]'s [BP:name]."))
|
||||
return
|
||||
|
||||
if(!(user==T))
|
||||
to_chat(user, "<span class='notice'>You write on [T]'s [BP:name].</span>")
|
||||
to_chat(user, span_notice("You write on [T]'s [BP:name]."))
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You write on your [BP:name].</span>")
|
||||
to_chat(user, span_notice("You write on your [BP:name]."))
|
||||
else
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user