Merge remote-tracking branch 'origin/master' into NPCUpdate

This commit is contained in:
CharonInferar
2014-06-30 00:17:52 +02:00
2 changed files with 11 additions and 3 deletions
+4 -2
View File
@@ -1,15 +1,17 @@
import sys
from resources.datatables import Posture
def setup():
return
def run(core, actor, target, commandString):
if actor.getPosture() == 13 or actor.getPosture() == 14:
if actor.getPosture() == Posture.Incapacitated or actor.getPosture() == Posture.Dead:
return
actor.setPosture(1)
actor.setPosture(Posture.Crouched)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
return
@@ -1,4 +1,10 @@
import sys
def setup(core, object):
return
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
return
def use(core, actor, object):
core.mountService.generateVehicle(actor, object, 'object/mobile/vehicle/shared_speederbike_flash.iff', 'object/intangible/vehicle/shared_speederbike_flash_pcd.iff')
return