Files
CHOMPStation2/code/modules/random_map/mazes/maze_cell.dm
Zuhayr ebe62cefd8 Refactored random map generator system and added several terrain generators.
Created a global list to track base turfs for explosions/shuttle moves.
Remaps the asteroid to be a moonlet. Tidies up some references to 'asteroid', removes moonbase from the accessible z level list.
2015-06-03 04:36:19 +09:30

18 lines
243 B
Plaintext

var/maze_cell_count = 0
/datum/maze_cell
var/name
var/uid
var/x
var/y
var/ox
var/oy
/datum/maze_cell/New(var/nx,var/ny,var/nox,var/noy)
maze_cell_count++
uid = maze_cell_count
name = "cell #[uid]"
x = nx
y = ny
ox = nox
oy = noy