stop this nonsense

This commit is contained in:
SandPoot
2024-01-05 00:28:56 -03:00
parent 05e2cc0979
commit c7a2565255
487 changed files with 1662 additions and 1662 deletions
@@ -37,7 +37,7 @@
//Returns the map
/datum/mapGenerator/proc/defineRegion(turf/Start, turf/End, replace = 0)
if(!checkRegion(Start, End))
return 0
return FALSE
if(replace)
undefineRegion()
@@ -49,7 +49,7 @@
//Returns the map
/datum/mapGenerator/proc/defineCircularRegion(turf/Start, turf/End, replace = 0)
if(!checkRegion(Start, End))
return 0
return FALSE
var/centerX = max(abs((End.x+Start.x)/2),1)
var/centerY = max(abs((End.y+Start.y)/2),1)
@@ -92,7 +92,7 @@
. = 1
if(!Start || !End)
return 0 //Just bail
return FALSE //Just bail
if(Start.x > world.maxx || End.x > world.maxx)
. = 0
@@ -28,7 +28,7 @@
//Place a spawnable atom or turf on this turf
/datum/mapGeneratorModule/proc/place(turf/T)
if(!T)
return 0
return FALSE
var/clustering = 0
var/skipLoopIteration = FALSE
@@ -107,7 +107,7 @@
/datum/mapGeneratorModule/proc/checkPlaceAtom(turf/T)
. = 1
if(!T)
return 0
return FALSE
if(T.density)
. = 0
for(var/atom/A in T)
@@ -61,8 +61,8 @@
for(var/direction in list(SOUTH,EAST,WEST,NORTH))
if (get_step(T,direction) in mother.map)
continue
return 1
return 0
return TRUE
return FALSE
/datum/mapGenerator/repressurize
modules = list(/datum/mapGeneratorModule/bottomLayer/repressurize)
@@ -78,10 +78,10 @@
value -= old_state[i][j]
if(value in b_rule)
return 1
return TRUE
if(value in s_rule)
return old_state[i][j]
return 0
return FALSE
/datum/mapGenerator/ca/caves
b_rule = list(5,6,7,8)