Skip to content

Instantly share code, notes, and snippets.

@laserbat
Created July 3, 2011 15:23
Show Gist options
  • Save laserbat/1062311 to your computer and use it in GitHub Desktop.
Save laserbat/1062311 to your computer and use it in GitHub Desktop.
if not random.randint(0,10000) and moremobs:
if gamemap[mapx][mapy].type[0] and not gamemap\
[mapx][mapy].visible and gamemap[mapx][mapy]\
.fval==gamemap[x][y].fval:
gamemap[mapx][mapy] = cell.Newt("Newt",\
":",gamemap[mapx][mapy])
mobs.append((mapx,mapy))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment