mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Height Examine Punctuation Fix (#16865)
* Height Examine Fix * Fix * Fix
This commit is contained in:
+17
-17
@@ -1399,37 +1399,37 @@
|
||||
|
||||
/mob/examine(mob/user, var/distance = -1, var/infix = "", var/suffix = "")
|
||||
..()
|
||||
if(assembleHeightString(user))
|
||||
to_chat(user, SPAN_NOTICE(assembleHeightString(user)))
|
||||
if(assemble_height_string(user))
|
||||
to_chat(user, SPAN_NOTICE(assemble_height_string(user)))
|
||||
|
||||
//Height String for examine - Runs on the mob being examined.
|
||||
/mob/proc/assembleHeightString(mob/examiner)
|
||||
var/heightString = null
|
||||
var/descriptor
|
||||
/mob/proc/assemble_height_string(mob/examiner)
|
||||
var/height_string = null
|
||||
var/height_descriptor
|
||||
if(height == HEIGHT_NOT_USED)
|
||||
return heightString
|
||||
return height_string
|
||||
|
||||
if(examiner.height == HEIGHT_NOT_USED)
|
||||
return heightString
|
||||
return height_string
|
||||
|
||||
switch(height - examiner.height)
|
||||
if(-999 to -100)
|
||||
descriptor = "absolutely tiny compared to"
|
||||
height_descriptor = "absolutely tiny compared to"
|
||||
if(-99 to -50)
|
||||
descriptor = "much smaller than"
|
||||
height_descriptor = "much smaller than"
|
||||
if(-49 to -11)
|
||||
descriptor = "shorter than"
|
||||
height_descriptor = "shorter than"
|
||||
if(-10 to 10)
|
||||
descriptor = "about the same height as"
|
||||
height_descriptor = "about the same height as"
|
||||
if(11 to 50)
|
||||
descriptor = "taller than"
|
||||
height_descriptor = "taller than"
|
||||
if(51 to 100)
|
||||
descriptor = "much larger than"
|
||||
height_descriptor = "much larger than"
|
||||
else
|
||||
descriptor = "to tower over"
|
||||
if(heightString)
|
||||
return heightString + ", and [get_pronoun("he")] seem[get_pronoun("end")] [descriptor] you."
|
||||
return "[get_pronoun("He")] seem[get_pronoun("end")] [descriptor] you."
|
||||
height_descriptor = "to tower over"
|
||||
if(height_string)
|
||||
return height_string + "[get_pronoun("He")] seem[get_pronoun("end")] [height_descriptor] you."
|
||||
return "[get_pronoun("He")] seem[get_pronoun("end")] [height_descriptor] you."
|
||||
|
||||
/mob/proc/get_speech_bubble_state_modifier()
|
||||
return "normal"
|
||||
|
||||
Reference in New Issue
Block a user