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:
Darius
2023-01-16 04:05:27 -05:00
parent 41e15dd097
commit ad0239b5de
108 changed files with 779 additions and 773 deletions
@@ -20,7 +20,7 @@
if(recorded_size != normal_resize)
playsound(wearer, 'sound/effects/magic.ogg', 50, 1)
wearer.flash_lighting_fx(3, 3, LIGHT_COLOR_PURPLE)
wearer.visible_message("<span class='warning'>A flash of purple light engulfs \the [wearer], before [wearer.p_they()] jump[wearer.p_s()] to a more average size!</span>","<span class='notice'>You feel warm for a moment, before everything scales to your size...</span>")
wearer.visible_message(span_warning("A flash of purple light engulfs \the [wearer], before [wearer.p_they()] jump[wearer.p_s()] to a more average size!"),span_notice("You feel warm for a moment, before everything scales to your size..."))
wearer.update_size(normal_resize)
RegisterSignal(wearer, COMSIG_MOB_RESIZED, .proc/normalize_size)
@@ -33,7 +33,7 @@
return
playsound(wearer,'sound/weapons/emitter2.ogg', 50, 1)
wearer.flash_lighting_fx(3, 3, LIGHT_COLOR_YELLOW)
wearer.visible_message("<span class='warning'>Golden light engulfs \the [wearer], and [wearer.p_they()] shoot[wearer.p_s()] back to [wearer.p_their()] default height!</span>","<span class='notice'>Energy rushes through your body, and you return to normal.</span>")
wearer.visible_message(span_warning("Golden light engulfs \the [wearer], and [wearer.p_they()] shoot[wearer.p_s()] back to [wearer.p_their()] default height!"),span_notice("Energy rushes through your body, and you return to normal."))
wearer.update_size(recorded_size)
//Make sure the size stays normalized while worn and add the change to the recorded size