Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
scottkit/games/tutorial/t4.sck
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
71 lines (50 sloc)
1.34 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start dungeon | |
treasury throne | |
action score: score | |
action inventory: inventory | |
action look: look | |
room throne "gorgeously decorated throne room" | |
exit south chamber | |
item sign "Sign says: leave treasure here, then say SCORE" | |
room chamber "square chamber" | |
exit east dungeon | |
exit north throne | |
item cross "Wooden cross" | |
called "cross" | |
room dungeon "gloomy dungeon" | |
exit west chamber | |
exit north crypt | |
occur 25% when at dungeon | |
print "I smell something rotting to the north." | |
item door "Locked door" | |
item key "Brass key" | |
called "key" | |
at crypt | |
item door2 "Open door leads south" | |
nowhere | |
action open door when here door and !present key | |
print "It's locked." | |
action open door when here door | |
swap door door2 | |
print OK | |
look | |
action go door when here door2 | |
goto cell | |
look | |
room cell "dungeon cell" | |
exit north dungeon | |
item coin "*Gold coin*" | |
called "coin" | |
room crypt "damp, dismal crypt" | |
exit south dungeon | |
item vampire "Vampire" | |
occur when here vampire and carried cross | |
print "Vampire cowers away from the cross!" | |
occur when here vampire and !carried cross | |
print "Vampire looks hungrily at me." | |
occur 25% when here vampire and !carried cross | |
print "Vampire bites me! I'm dead!" | |
game_over | |
comment "vampire can attack unless cross is carried" | |
action get key when here vampire and !carried cross | |
print "I'm not going anywhere near that vampire!" |