mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes for vorestation merge of "Rewrites the Rewritten Event System"
- Remove duplicate pick_random_edge_turf resulting from our simultaneous addition of it (in overmaps PR) - Disable SSgame_master and SSevent_ticker subystems, we are still using the original events subsystem. - Disable the game_master implementations as we are not using them. - Comment out references to SSgame_master since we are not using it (yet?)
This commit is contained in:
@@ -54,20 +54,6 @@
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
// Picks a turf that is clearance tiles away from the map edge given by dir, on z-level Z
|
||||
/proc/pick_random_edge_turf(var/dir, var/Z, var/clearance = TRANSITIONEDGE + 1)
|
||||
if(!dir)
|
||||
return
|
||||
switch(dir)
|
||||
if(NORTH)
|
||||
return locate(rand(clearance, world.maxx - clearance), world.maxy - clearance, Z)
|
||||
if(SOUTH)
|
||||
return locate(rand(clearance, world.maxx - clearance), clearance, Z)
|
||||
if(EAST)
|
||||
return locate(world.maxx - clearance, rand(clearance, world.maxy - clearance), Z)
|
||||
if(WEST)
|
||||
return locate(clearance, rand(clearance, world.maxy - clearance), Z)
|
||||
|
||||
/*
|
||||
Turf manipulation
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user