setup digsite creation + propogation on mining asteroid, setup most excavation and tool interaction with mining turfs + digsites, setup tweaked list operation, modified dme

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2013-02-08 23:54:45 +10:00
parent 3c24a9088d
commit 5533ef4946
3 changed files with 125 additions and 41 deletions

View File

@@ -149,8 +149,9 @@ proc/listclearnulls(list/list)
//Reverses the order of items in the list
/proc/reverselist(list/L)
var/list/output = list()
for(var/i = L.len; i >= 1; i--)
output += L[i]
if(L)
for(var/i = L.len; i >= 1; i--)
output += L[i]
return output
//Randomize: Return the list in a random order