mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
AmbiguousInOrder ODLint (#20046)
Enabled AmbiguousInOrder OpenDream linting to error out Fixed ambiguous orders with parenthesis to explicit orders No player facing changes
This commit is contained in:
@@ -406,7 +406,7 @@ pixel_x = 8;
|
||||
if(!istype(position) || !(position.z in levels))
|
||||
return FALSE
|
||||
|
||||
if(input_frequency in ANTAG_FREQS && !syndie)
|
||||
if((input_frequency in ANTAG_FREQS) && !syndie)
|
||||
return FALSE//Prevents broadcast of messages over devices lacking the encryption
|
||||
|
||||
return TRUE
|
||||
|
||||
@@ -65,7 +65,7 @@ effective or pretty fucking useless.
|
||||
if(!istype(target))
|
||||
to_chat(user, SPAN_NOTICE("[target] is not a valid target!"))
|
||||
return
|
||||
if(GLOB.all_languages[LANGUAGE_LIIDRA] in target.languages || target.internal_organs_by_name["blackkois"])
|
||||
if((GLOB.all_languages[LANGUAGE_LIIDRA] in target.languages) || target.internal_organs_by_name["blackkois"])
|
||||
to_chat(user, SPAN_NOTICE("[target] is already part of the Lii'dra Hivemind!"))
|
||||
return
|
||||
if(isvaurca(target))
|
||||
|
||||
@@ -444,7 +444,7 @@
|
||||
)
|
||||
while(!P)
|
||||
P = pick(typesof(/obj/structure/flora/pottedplant))
|
||||
if(P in unwanted || ((P in rare) && prob(50)))
|
||||
if((P in unwanted) || ((P in rare) && prob(50)))
|
||||
P = null
|
||||
. = new P(loc)
|
||||
|
||||
@@ -465,7 +465,7 @@
|
||||
)
|
||||
while(!P)
|
||||
P = pick(typesof(/obj/item/flora/pottedplant_small))
|
||||
if(P in unwanted || ((P in rare) && prob(50)))
|
||||
if((P in unwanted) || ((P in rare) && prob(50)))
|
||||
P = null
|
||||
. = new P(loc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user