INSTALLATION.txt
INSTALLATION.txt · 837 B
From the archive smeef-card-contest.zip
Download the archive « Back to the archive contents
Inside of Mudlib\Avatars\avatar_parse.py:
add this as the first line after the comment: import Blackjack
add to the end of the _Sys_Create function the following line:
self.blackjack = Blackjack.Blackjack()
Inside of Mudlib\Commandlibs\commandlib_user.py:
add this as the next import statement: import Blackjack
add this to exportCommands, which is at the bottom of the file:
(1, "blackjack", "%raw_text", COMMANDMODE_WORD, False, IC_blackjack, {})
add this function somewhere, say, right before expertCommands:
def IC_blackjack(avatar, command, args):
avatar.blackjack.makeMove(args[0])
avatar.Send(avatar.blackjack.getStatus())
return True
Other than that, just put Blackjack.py and Deck.py in the main directory,
where you run mud or mud.bat, from the mudpye-v0.06b.tar.gz mud