mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-31 09:00:47 +01:00
Fixing AI holopad speech text being small and whispers ending in multiple exclamation marks oxymoron.
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
/mob/proc/use_that_empty_hand() //currently unused proc so i can implement 2-handing any item a lot easier in the future.
|
|
return
|
|
|
|
/mob/say_mod(input, message_mode)
|
|
var/customsayverb = findtext(input, "*")
|
|
if(customsayverb)
|
|
return lowertext(copytext(input, 1, customsayverb))
|
|
. = ..()
|
|
|
|
/atom/movable/proc/attach_spans(input, list/spans)
|
|
var/customsayverb = findtext(input, "*")
|
|
if(customsayverb)
|
|
input = capitalize(copytext(input, customsayverb+1))
|
|
if(input)
|
|
return "[message_spans_start(spans)][input]</span>"
|
|
else
|
|
return
|
|
|
|
/mob/living/compose_message(atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, message_mode, face_name = FALSE, atom/movable/source)
|
|
. = ..()
|
|
if(isliving(speaker))
|
|
var/turf/sourceturf = get_turf(source)
|
|
var/turf/T = get_turf(src)
|
|
if(sourceturf && T && !(sourceturf in get_hear(5, T)))
|
|
. = "<span class='small'>[.]</span>"
|
|
|
|
/mob/verb/eastshift()
|
|
set hidden = TRUE
|
|
if(!canface())
|
|
return FALSE
|
|
if(pixel_x <= 16)
|
|
pixel_x++
|
|
is_shifted = TRUE
|
|
|
|
/mob/verb/westshift()
|
|
set hidden = TRUE
|
|
if(!canface())
|
|
return FALSE
|
|
if(pixel_x >= -16)
|
|
pixel_x--
|
|
is_shifted = TRUE
|
|
|
|
/mob/verb/northshift()
|
|
set hidden = TRUE
|
|
if(!canface())
|
|
return FALSE
|
|
if(pixel_y <= 16)
|
|
pixel_y++
|
|
is_shifted = TRUE
|
|
|
|
/mob/verb/southshift()
|
|
set hidden = TRUE
|
|
if(!canface())
|
|
return FALSE
|
|
if(pixel_y >= -16)
|
|
pixel_y--
|
|
is_shifted = TRUE |