mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user