Advertisement
EvilSupahFly

overviewer-linux-config

Feb 20th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.80 KB | None | 0 0
  1. worlds["world"] = "/media/usb0/Huge World Revamped"
  2.  
  3. outputdir = "/media/usb0/Huge World Revamped Map"
  4.  
  5. bgcolor = "#000000"
  6.  
  7. def signFilter(poi):
  8.    if poi['id'] == 'Sign':
  9.        return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']])
  10.  
  11. def playerIcons(poi):
  12.    if poi['id'] == 'Player':
  13.        poi['icon'] = "http://cravatar.tomheinan.com/%s/20" % poi['EntityId']
  14.        return "Last known location for %s" % poi['EntityId']
  15.  
  16. def chestFilter(poi):
  17.    if poi['id'] == "Chest":
  18.        return "Chest contains %d item(s)" % len(poi['Items'])
  19.  
  20. texturepath = "/media/usb1/ovo.zip"
  21. processes = 1
  22.  
  23. renders["normalrender"] = {
  24. "world": "world",
  25. "title": "Normal",
  26. "rendermode": "normal",
  27. "northdirection": "upper-left",
  28. "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)]
  29. }
  30.  
  31. renders["smooth_lightingrender"] = {
  32. "world": "world",
  33. "title": "Smooth Lighting",
  34. "rendermode": "smooth_lighting",
  35. "northdirection": "upper-left",
  36. "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)]
  37. }
  38.  
  39. renders["caverender"] = {
  40. "world": "world",
  41. "title": "Cave",
  42. "rendermode": "cave",
  43. "northdirection": "upper-left",
  44. "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)]
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement