From fae1360de7eec9132af79c80dca0a8f21b7a90ec Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Sat, 26 Oct 2013 20:21:48 +0200 Subject: [PATCH] Added travel points for tatooine --- scripts/static_travel_points.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/static_travel_points.py diff --git a/scripts/static_travel_points.py b/scripts/static_travel_points.py new file mode 100644 index 00000000..58baf244 --- /dev/null +++ b/scripts/static_travel_points.py @@ -0,0 +1,17 @@ +import sys + +def addPoints(core, planet): + + if planet.getName() == 'tatooine': + tatooinePoints(core, planet) + + return + +def tatooinePoints(core, planet): + trvSvc = core.travelService + + trvSvc.addTravelPoint("tatooine", "Bestine Starport", -1376, 12, -3576) + trvSvc.addTravelPoint("tatooine", "Mos Eisley Starport", 3619, 5, -4801) + trvSvc.addTravelPoint("tatooine", "Mos Espa Starport", -2829, 5, 2080) + trvSvc.addTravelPoint("tatooine", "Mos Entha Starport", 1238, 7, 3062) + return \ No newline at end of file