home · contact · privacy
Add dancing task/action.
[plomrogue2] / plomrogue / tasks.py
index 6f42109362fc7aaf7e2810921e65ffe66d74a3d2..cc375272c1edd941aeafbbb4117a3d30db142d8c 100644 (file)
@@ -374,3 +374,12 @@ class Task_SPIN(Task):
     def do(self):
         self.thing.carrying.spin()
         self.thing.send_msg('CHAT "You spin this object."')
+
+
+
+class Task_DANCE(Task):
+
+    def do(self):
+        self.thing.send_msg('CHAT "You dance."')
+        self.thing.dancing += 10
+        self.thing.game.changed = True