mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -154,29 +154,22 @@
|
||||
//maxx maxy and current z so that if you fuck up, you only fuck up one entire z level instead of the entire universe
|
||||
if(!startInput || !endInput)
|
||||
to_chat(src, "Missing Input")
|
||||
|
||||
return
|
||||
|
||||
var/list/startCoords = splittext(startInput, ";")
|
||||
var/list/endCoords = splittext(endInput, ";")
|
||||
if(!startCoords || !endCoords)
|
||||
to_chat(src, "Invalid Coords")
|
||||
|
||||
to_chat(src, "Start Input: [startInput]")
|
||||
|
||||
to_chat(src, "End Input: [endInput]")
|
||||
|
||||
return
|
||||
|
||||
var/turf/Start = locate(text2num(startCoords[1]),text2num(startCoords[2]),text2num(startCoords[3]))
|
||||
var/turf/End = locate(text2num(endCoords[1]),text2num(endCoords[2]),text2num(endCoords[3]))
|
||||
if(!Start || !End)
|
||||
to_chat(src, "Invalid Turfs")
|
||||
|
||||
to_chat(src, "Start Coords: [startCoords[1]] - [startCoords[2]] - [startCoords[3]]")
|
||||
|
||||
to_chat(src, "End Coords: [endCoords[1]] - [endCoords[2]] - [endCoords[3]]")
|
||||
|
||||
return
|
||||
|
||||
var/list/clusters = list("None"=CLUSTER_CHECK_NONE,"All"=CLUSTER_CHECK_ALL,"Sames"=CLUSTER_CHECK_SAMES,"Differents"=CLUSTER_CHECK_DIFFERENTS, \
|
||||
@@ -190,7 +183,6 @@
|
||||
if(moduleClusters != "None")
|
||||
if(!clusters[moduleClusters])
|
||||
to_chat(src, "Invalid Cluster Flags")
|
||||
|
||||
return
|
||||
theCluster = clusters[moduleClusters]
|
||||
else
|
||||
@@ -202,12 +194,8 @@
|
||||
|
||||
|
||||
to_chat(src, "Defining Region")
|
||||
|
||||
N.defineRegion(Start, End)
|
||||
to_chat(src, "Region Defined")
|
||||
|
||||
to_chat(src, "Generating Region")
|
||||
|
||||
N.generate()
|
||||
to_chat(src, "Generated Region")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user