mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
24 lines
569 B
Python
24 lines
569 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
##To do make it reset moodanimations when meditation is cancled.
|
|
|
|
# if core.collectionService.isComplete(actor, 'inv_holocron_collection_02') is False:
|
|
# return
|
|
|
|
if actor.getPosture() != 0x08:
|
|
actor.sendSystemMessage('You need to sit',0)
|
|
actor.setMoodAnimation('neutral')
|
|
return
|
|
if actor.getPosture() == 0x08:
|
|
actor.setMoodAnimation('meditating')
|
|
return
|
|
if actor.getPosture() == 0x00:
|
|
actor.setMoodAnimation('neutral')
|
|
return
|
|
return
|
|
|