mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-01 02:16:15 -04:00
Merge remote-tracking branch 'origin/master' into NPCUpdate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user