Skip to content

Commit 46ba215

Browse files
committed
Added default quest object scripts, fixed waypoint system messages
1 parent 3fc02b8 commit 46ba215

699 files changed

Lines changed: 2797 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/commands/waypoint.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def run(core, actor, target, commandString):
2828
waypoint.setPlanetCRC(crc.StringtoCRC(planet.getName()))
2929
actorPlayer.getWaypoints().add(waypoint)
3030
actorPlayer.waypointAdd(waypoint)
31-
actor.sendSystemMessage('A waypoint has been created in your datapad at your location.', 0)
31+
actor.sendSystemMessage('A waypoint has been created in your datapad at the location.', 0)
3232
return
3333

3434

@@ -42,7 +42,7 @@ def run(core, actor, target, commandString):
4242
waypoint.setPlanetCRC(crc.StringtoCRC(actor.getPlanet().getName()))
4343
actorPlayer.getWaypoints().add(waypoint)
4444
actorPlayer.waypointAdd(waypoint)
45-
actor.sendSystemMessage('A waypoint has been created in your datapad at your location.', 0)
45+
actor.sendSystemMessage('A waypoint has been created in your datapad at the location.', 0)
4646
return
4747
#/wp X Z Name
4848
elif len(commandArgs) >= 3 and isFloat(commandArgs[0]) and isFloat(commandArgs[1]):
@@ -54,7 +54,7 @@ def run(core, actor, target, commandString):
5454
waypoint.setPlanetCRC(crc.StringtoCRC(actor.getPlanet().getName()))
5555
actorPlayer.getWaypoints().add(waypoint)
5656
actorPlayer.waypointAdd(waypoint)
57-
actor.sendSystemMessage('A waypoint has been created in your datapad at your location.', 0)
57+
actor.sendSystemMessage('A waypoint has been created in your datapad at the location.', 0)
5858
return
5959
#/wp X Z
6060
elif len(commandArgs) >= 2 and isFloat(commandArgs[0]) and isFloat(commandArgs[1]):
@@ -65,7 +65,7 @@ def run(core, actor, target, commandString):
6565
waypoint.setPlanetCRC(crc.StringtoCRC(actor.getPlanet().getName()))
6666
actorPlayer.getWaypoints().add(waypoint)
6767
actorPlayer.waypointAdd(waypoint)
68-
actor.sendSystemMessage('A waypoint has been created in your datapad at your location.', 0)
68+
actor.sendSystemMessage('A waypoint has been created in your datapad at the location.', 0)
6969
return
7070

7171
#/wp planet x z y name
@@ -81,7 +81,7 @@ def run(core, actor, target, commandString):
8181
waypoint.setPlanetCRC(crc.StringtoCRC(actor.getPlanet().getName()))
8282
actorPlayer.getWaypoints().add(waypoint)
8383
actorPlayer.waypointAdd(waypoint)
84-
actor.sendSystemMessage('A waypoint has been created in your datapad at your location.', 0)
84+
actor.sendSystemMessage('A waypoint has been created in your datapad at the location.', 0)
8585
return
8686

8787
#/wp NAME
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
def setup(core, object):
4+
return

0 commit comments

Comments
 (0)