@ -2,6 +2,12 @@ from willie import module
@@ -2,6 +2,12 @@ from willie import module
import time
# Variables
def setup ( bot ) :
"""
Setup all the variables
"""
global players , game , settings , solution , locations
players = [ ]
game = { }
game [ ' status ' ] = 0
@ -10,17 +16,17 @@ game['round'] = 0
@@ -10,17 +16,17 @@ game['round'] = 0
game [ ' awnserok ' ] = [ ]
game [ ' solved ' ] = [ ]
settings = { }
settings [ ' minplayers ' ] = 1
settings [ ' channel ' ] = " #whatsedo "
settings [ ' wa_user ' ] = " whatsedo_wa "
settings [ ' admin ' ] = " Your_own_IRC_User "
settings [ ' walktime ' ] = 10
settings [ ' playtime ' ] = 5
settings [ ' gamequestion ' ] = " De hoofdvraag is: Wie is waar met het touw vermoord. "
settings [ ' minplayers ' ] = int ( bot . config . whatsedo . minplayers )
settings [ ' channel ' ] = bot . config . core . channels
settings [ ' wa_user ' ] = bot . config . whatsedo . whatsappuser
settings [ ' admin ' ] = bot . config . core . owner
settings [ ' walktime ' ] = int ( bot . config . whatsedo . walktime )
settings [ ' playtime ' ] = int ( bot . config . whatsedo . playtime )
settings [ ' gamequestion ' ] = bot . config . whatsedo . gamequestion
solution = {
' person ' : ' crofts ' ,
' place ' : ' mariaplaats ' ,
' weapon ' : ' touw '
' person ' : bot . config . whatsedo . person ,
' place ' : bot . config . whatsedo . place ,
' weapon ' : bot . config . whatsedo . weapon
}
locations = {
1 : [ ' Vredenburg/uitgang Catharijne ' , ' Een camera kijkt hier uit op een bord wat meestal (niet hier) info over Utrecht staat. Wat is zijn ID nummer? ' , ' mu01326 ' , ' Op het Neude werd iemand met gif vermoord, maar niet door Crofts ' ] ,