summaryrefslogtreecommitdiff
path: root/sassbot/modules/artifact2.py
diff options
context:
space:
mode:
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'