summaryrefslogtreecommitdiff
path: root/sassbot/modules/artifact2.py
diff options
context:
space:
mode:
authorJason Le Long <jasonnlelong@gmail.com>2018-03-08 13:57:31 +0000
committerJason Le Long <jasonnlelong@gmail.com>2018-03-08 13:57:31 +0000
commita2b21dff76b66b0f73d49b9f1b8bee94f2e7fe17 (patch)
tree26fe2ad15835335b7ea122d233a167cc4b038d07 /sassbot/modules/artifact2.py
parent5b3e69b1b42fd7608822b4b96672202d8402c712 (diff)
Equipment rolls working as desired
Diffstat (limited to 'sassbot/modules/artifact2.py')
-rw-r--r--sassbot/modules/artifact2.py44
1 files changed, 24 insertions, 20 deletions
diff --git a/sassbot/modules/artifact2.py b/sassbot/modules/artifact2.py
index bddd968..04c3db2 100644
--- a/sassbot/modules/artifact2.py
+++ b/sassbot/modules/artifact2.py
@@ -26,26 +26,30 @@ def adventurersinc(phenny, input):
parameters['LiveDB'] = 'Artifact2.0'
parameters['LiveVersion'] = '2.0'
parameters['Nick'] = input.nick
-
-
- #Actions based on player state
- if strPlayerState == "newchar":
- phenny.say("New Character")
-
- elif strPlayerState == "rest":
- phenny.say("Resting")
-
- elif strPlayerState == "adventuring":
- phenny.say("Exploring")
-
- elif strPlayerState == "combat":
- phenny.say("Combat")
-
- elif strPlayerState == "debug":
- itemCode = input.group(2).split(':')
- #phenny.say(str(input.group(2)))
- NewItem = EquipmentCreate.GenerateItem(phenny, parameters, itemCode)
- phenny.say(NewItem["EquipmentName"])
+
+ if strCmd1 == "git":
+ phenny.say("Artifact v2 git: http://www.blatech.co.uk/JasonFS/Artifact-v2")
+ elif strCmd1 == "version":
+ phenny.say("Artifact v2 - alpha 0.0")
+ else:
+ #Actions based on player state
+ if strPlayerState == "newchar":
+ phenny.say("New Character")
+
+ elif strPlayerState == "rest":
+ phenny.say("Resting")
+
+ elif strPlayerState == "adventuring":
+ phenny.say("Exploring")
+
+ elif strPlayerState == "combat":
+ phenny.say("Combat")
+
+ elif strPlayerState == "debug":
+ itemCode = input.group(2).split(':')
+ #phenny.say(str(input.group(2)))
+ NewItem = EquipmentCreate.GenerateItem(phenny, parameters, itemCode)
+ phenny.say(NewItem["EquipmentName"])
adventurersinc.commands = ['a']
adventurersinc.priority = 'high'