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-18 20:50:31 -05:00
committed by GitHub
parent e1f530f20e
commit 8d7e066471
31 changed files with 116 additions and 66 deletions
+6 -8
View File
@@ -279,14 +279,12 @@
telefail()
temp_msg = "ERROR!<BR>Elevation is less than 1 or greater than 90."
return
if(z_co == 2 || z_co < 1 || z_co > 6)
if(z_co == 7 & emagged)
// This should be empty, allows for it to continue if the z-level is 7 and the machine is emagged.
else
telefail()
temp_msg = "ERROR! Sector is less than 1, <BR>greater than [src.emagged ? "7" : "6"], or equal to 2."
return
// THIS FUCKING THING USES ZLEVEL NUMBERS WHY
var/cc_z = level_name_to_num(CENTCOMM)
if(z_co == cc_z || z_co < cc_z + 1 || cc_z > world.maxz)
telefail()
temp_msg = "ERROR! Sector must be greater than or equal to 2, and less than or equal to [world.maxz]."
return
var/truePower = clamp(power + power_off, 1, 1000)
var/trueRotation = rotation + rotation_off