Files
NGECore2/scripts/commands/meditate.py
T
Wefi 06d22cae9e Added "Addability" to Setgodmode and experimenting with Mediate
Use /Setgodmod addability <String format> IE bh_sh3
2013-12-10 17:33:56 -06:00

21 lines
463 B
Python

import sys
def setup():
return
def run(core, actor, target, commandString):
##To do make it reset moodanimations when meditation is cancled.
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