From 6d681888bea5a55bbf270b58dcbd94ebd45be91d Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 25 Oct 2010 01:55:09 -1000 Subject: [PATCH] fill the terrain with the usual block types --- mce.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mce.py b/mce.py index 8a2299e..8cd007b 100755 --- a/mce.py +++ b/mce.py @@ -942,7 +942,13 @@ class mce(object): #for z in range(png[i+(cx*16),j+(cy*16)][0]): h = imgarray[i+(cx*16),j+(cy*16)] - c.Blocks[i,j,0:h+1] = 3 #dirt + c.Blocks[i,j,h+1:] = 0 #air + c.Blocks[i,j,h:h+1] = 2 #grass + c.Blocks[i,j,h-4:h] = 3 #dirt + c.Blocks[i,j,:h-4] = 1 #rock + + + c.chunkChanged() print "%s Just did chunk %d,%d" % (datetime.datetime.now().strftime("[%H:%M:%S]"),cx,cy)