Advertisement
EvilSupahFly

config.py

Jan 24th, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. ### CONFIG.PY ###
  2.  
  3. worlds["world"] = "C:\Documents and Settings\Administrator\Application Data\.minecraft\saves\Cool Village"
  4.  
  5. outputdir = "D:\httproot\images\minecraft\Cool Village"
  6.  
  7. bgcolor = "#000000"
  8.  
  9. def signFilter(poi):
  10. if poi['id'] == 'Sign':
  11. return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']])
  12.  
  13. def playerIcons(poi):
  14. if poi['id'] == 'Player':
  15. poi['icon'] = "http://cravatar.tomheinan.com/%s/20" % poi['EntityId']
  16. return "Last known location for %s" % poi['EntityId']
  17.  
  18. def chestFilter(poi):
  19. if poi['id'] == "Chest":
  20. return "Chest contains %d item(s)" % len(poi['Items'])
  21.  
  22. texturepath = "C:\Documents and Settings\Administrator\Application Data\.minecraft\texturepacks-mp-cache\Sphax PureBDCraft 512x MC14.zip"
  23.  
  24. processes = 2
  25.  
  26. renders["normalrender"] = {
  27. "world": "world",
  28. "title": "Normal",
  29. "rendermode": "normal",
  30. "northdirection": "upper-left",
  31. "markers": [dict(name="Show sign(s)", filterFunction=signFilter, createInfoWindow=True), dict(name="Show player(s)", filterFunction=playerIcons, createInfoWindow=True), dict(name="Show chest(s)", icon="chest.png", filterFunction=chestFilter, createInfoWindow=True)]
  32. }
  33.  
  34. renders["smooth_lightingrender"] = {
  35. "world": "world",
  36. "title": "Smooth Lighting",
  37. "rendermode": "smooth_lighting",
  38. "northdirection": "upper-left",
  39. "markers": [dict(name="Show sign(s)", filterFunction=signFilter, createInfoWindow=True), dict(name="Show player(s)", filterFunction=playerIcons, createInfoWindow=True), dict(name="Show chest(s)", icon="chest.png", filterFunction=chestFilter, createInfoWindow=True)]
  40. }
  41.  
  42. renders["caverender"] = {
  43. "world": "world",
  44. "title": "Cave",
  45. "rendermode": "cave",
  46. "northdirection": "upper-left",
  47. "markers": [dict(name="Show sign(s)", filterFunction=signFilter, createInfoWindow=True), dict(name="Show player(s)", filterFunction=playerIcons, createInfoWindow=True), dict(name="Show chest(s)", icon="chest.png", filterFunction=chestFilter, createInfoWindow=True)]
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement