Adds OpenDream as a CI lint (#21099)

* Initial Commit

* Makes the CI work (maybe)

* Of course CI has a hissy fit

* Actually fixes the codebase

* Oops 1

* Tweaks

* oops
This commit is contained in:
AffectedArc07
2023-07-19 02:50:31 +01:00
committed by GitHub
parent e1f530f20e
commit 8d7e066471
31 changed files with 116 additions and 66 deletions
@@ -350,8 +350,6 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
overlays_standing[HEAD_ACCESSORY_LAYER] = mutable_appearance(head_accessory_standing, layer = -HEAD_ACCESSORY_LAYER)
apply_overlay(HEAD_ACCESSORY_LAYER)
else
//warning("Invalid ha_style for [species.name]: [ha_style]")
/**
* Generates overlays for the hair layer.
@@ -478,9 +476,6 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
overlays_standing[FHAIR_LAYER] = mutable_appearance(face_standing, layer = -FHAIR_LAYER)
apply_overlay(FHAIR_LAYER)
else
//warning("Invalid f_style for [species.name]: [f_style]")
/mob/living/carbon/human/update_mutations()
@@ -719,6 +719,7 @@ Pass a positive integer as an argument to override a bot's default speed.
if("home")
to_chat(src, "<span class='warning big'>RETURN HOME!</span>")
if("ejectpai")
return // Do nothing for this
else
to_chat(src, "<span class='warning'>Unidentified control sequence received: [command]</span>")
+8 -3
View File
@@ -358,13 +358,18 @@
while(counter>=1)
newletter=copytext(phrase,(leng-counter)+1,(leng-counter)+2)
if(newletter in list(" ", "!", "?", ".", ","))
//do nothing
// Skip these
counter -= 1
continue
else if(lowertext(newletter) in list("a", "e", "i", "o", "u", "y"))
newletter = "ph"
else
newletter = "m"
newphrase+="[newletter]"
counter-=1
newphrase += "[newletter]"
counter -= 1
return newphrase
/proc/muffledspeech_all(list/message_pieces)
+1 -1
View File
@@ -167,7 +167,7 @@
prefixes[++prefixes.len] = list(L, i, i + length(selection))
else if(!L && i == 1)
prefixes[++prefixes.len] = list(get_default_language(), i, i)
else
return prefixes
/proc/strip_prefixes(message)