travelnet.lua 1.4 KB

123456789101112131415161718192021222324
  1. local default_travelnets = {
  2. -- "default" travelnet box in yellow
  3. { nodename=":travelnet:travelnet", color="#e0bb2d", dye="dye:yellow", recipe=travelnet.travelnet_recipe },
  4. { nodename=":travelnet:travelnet_red", color="#ce1a1a", dye="dye:red" },
  5. { nodename=":travelnet:travelnet_orange", color="#e2621b", dye="dye:orange" },
  6. { nodename=":travelnet:travelnet_blue", color="#0051c5", dye="dye:blue" },
  7. { nodename=":travelnet:travelnet_cyan", color="#00a6ae", dye="dye:cyan" },
  8. { nodename=":travelnet:travelnet_green", color="#53c41c", dye="dye:green" },
  9. { nodename=":travelnet:travelnet_dark_green", color="#2c7f00", dye="dye:dark_green" },
  10. { nodename=":travelnet:travelnet_violet", color="#660bb3", dye="dye:violet" },
  11. { nodename=":travelnet:travelnet_pink", color="#ff9494", dye="dye:pink" },
  12. { nodename=":travelnet:travelnet_magenta", color="#d10377", dye="dye:magenta" },
  13. { nodename=":travelnet:travelnet_brown", color="#572c00", dye="dye:brown" },
  14. { nodename=":travelnet:travelnet_grey", color="#a2a2a2", dye="dye:grey" },
  15. { nodename=":travelnet:travelnet_dark_grey", color="#3d3d3d", dye="dye:dark_grey" },
  16. { nodename=":travelnet:travelnet_black", color="#0f0f0f", dye="dye:black", light_source=0 },
  17. { nodename=":travelnet:travelnet_white", color="#ffffff", dye="dye:white", light_source=minetest.LIGHT_MAX },
  18. }
  19. for _, cfg in ipairs(default_travelnets) do
  20. travelnet.register_travelnet_box(cfg)
  21. end