Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Bloodlust
by
Stephen Scheuermann
Played 2,417 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Bloodlust" by Stephen Scheuermann The player's forename is an indexed text that varies. The player's full name is an indexed text that varies. When play begins: now the command prompt is "What is your name? > ". To decide whether collecting names: if the command prompt is "What is your name? > ", yes; no. After reading a command when collecting names: if the number of words in the player's command is greater than 5: say "[paragraph break]Who are you, a member of the British royal family? No one has that many names. Let's try this again."; reject the player's command; now the player's full name is "[the player's command in title case]"; now the player's forename is word number 1 in the player's full name; now the command prompt is ">"; say "Hi, [player's forename]![paragraph break]"; say "[banner text]"; move the player to the location; reject the player's command. Instead of looking when collecting names: do nothing. Rule for printing the banner text when collecting names: do nothing. Rule for constructing the status line when collecting names: do nothing. Dark Swamp is a room. "[Dark Swamp description]" Daniel is a man in Dark Swamp. He is scenery. Artur is a man in Dark Swamp. He is scenery. Mary is a woman in Dark Swamp. She is scenery. Northern Swamp is a room. Northern Swamp is north of Dark Swamp. "[Northern Swamp description]" Dark Grassland is a room. Dark Grassland is north of Northern Swamp. "[Dark Grassland description]" Quarter Mile from Mansion is a room. Quarter Mile from Mansion is northeast of Dark Grassland. "[Quarter Mile from Mansion description]" Mansion Front is a room. Mansion Front is northeast of Quarter Mile from Mansion. "[Mansion Front description]" Mansion Porch is a room. Foyer is a room. Foyer is inside of Mansion Porch. "[Foyer description]" Living Room is a room. It is east of Foyer. "[Living Room description]" Before the Big Fireplace is a room. It is east of Living Room. "[Before the Big Fireplace description]" To say Before the Big Fireplace description: if looking in Before the Big Fireplace for the first time, say "A big fireplace flickers quite a few flames, but are contained."; if looking in Before the Big Fireplace for the second time, say "[bold type]This is the end of the demo.[roman type]"; To say Living Room description: if looking in Living Room for the first time, say "Now the group is in an extroadinarily large living space. Five couches. And a massive fireplace to the east."; if looking in Living Room for the second time, say "[bold type]This is the end of the demo.[roman type]"; To say Foyer description: if looking in Foyer for the first time, say "The group walks into a large semi-circle of a foyer- you nearly have to squint to see the other end of the northern hallway, which resides a small glass panel."; if looking in Foyer for the second time, say "[bold type]This is the end of the demo.[roman type]"; To say Dark Swamp description: say "A storm surges as vicious as the ones you laid down moments before; lightning bolts indifferently fall down to earth, without any alert. You are with a group- together makes you four. You were personally here to question the mansion owner up north, but now question the decision, as wild animals of many different disfigurements have attempted to attack you and your cohorts.[paragraph break][italic type][quotation mark]We're gonna have to go back [player's forename].[quotation mark][roman type] - says Daniel in disparity.[paragraph break]You and Artur look down to the body, now in a dug-up pit; you carry the shovel, but now you wish you had carried a powered gun. You stare at the body, as Artur turns quarterly to Daniel, speaking in his highly Russian accent: [italic type][quotation mark]Now, how did you get us into this mess, Daniel?[quotation mark][roman type][paragraph break][italic type][quotation mark]I barely had a plan to doing this; I mean all I did was drive here, with all of you! Blame it on [player's forename] for this.[quotation mark][roman type] He starts to walk away from the group, sticking the head of his shovel in the ground every right step."; To say Northern Swamp description: say "You and the gang, now moving farther north into the swamp: [italic type][quotation mark]Just watch for anything![quotation mark][roman type], Daniel whispers.[paragraph break]You keep to your own shovel; the shovels you found in the pit already dug, but it now makes you wonder why. The lightning comes down once more beyond and behind the tree line to the east; you can tell from here, the treelines are heavy on both sides of the east and the west. It starts to trickle rain: [italic type][quotation mark]Damn![quotation mark][roman type], Daniel says out loud.[paragraph break][italic type][quotation mark]We have to keep pushing through![quotation mark][roman type], Artur says."; now the command prompt is "You must keep pushing northward! > ". To say Dark Grassland description: if looking in Dark Grassland for the first time, say "You start to see something farther northeast, which could possibly be shelter, you think.[paragraph break][italic type][quotation mark][apostrophe]Could be a mirage.[quotation mark][roman type], Mary says jokingly.[paragraph break][italic type][quotation mark]No time to waste![quotation mark][roman type], says Daniel.[paragraph break] A silhouette can be seen, to the west, coming toward the group-"; if looking in Dark Grassland for the second time begin; say "You look back and still see something that could be shelter, to the northeast."; now the disfigured wolf is scenery; try examining the disfigured wolf; end if. To say Quarter Mile from Mansion description: now Daniel is in Quarter Mile from Mansion; now Artur is in Quarter Mile from Mansion; now Mary is in Quarter Mile from Mansion; say "The grass within the front of the mansion is nearly dead, yet it ironically is pouring rain at the moment, making the ground muddy. A pair of heavy metal gates, that are opened reside at two stone pillars of grey; you and the group proceed through them.[paragraph break][italic type][quotation mark]My leg is not doing good; we need to lay down for a moment.[quotation mark][roman type], says Artur, in slight pain. You glance at the leg; as you do, the leg covers itself with drowning blood. Daniel dampers the leg with his shirt, allowing the bleeding to stop: [italic type][quotation mark][apostrophe]Must of been something![quotation mark] [quotation mark]I don't think I'll be able to walk- too much pain.[quotation mark][roman type]" To say Mansion Front description: now Daniel is in Mansion Front; now Artur is in Mansion Front; now Mary is in Mansion Front; say "Nearly tired out from exhaustion and dehydration, you finally meet face to face with a large scale grey and black mansion- its stone turns white when the lightning drops.[paragraph break][italic type][quotation mark]Let's try knocking the door.[quotation mark][roman type] - Mary.[paragraph break]You and Daniel lay down Artur within the porch and under the porch roof, allowing the rain to run past the top- Artur squirms outside of a short yelp. You look again at the covered leg: [italic type][quotation mark]Your leg is purple now.[quotation mark][roman type], Mary says to Artur. [italic type][quotation mark]We might have to do our own operation on him, if it comes down to it.[quotation mark][roman type], Daniel states." A disfigured wolf is an animal. A person has a number called maximum hit points. A person has a number called current hit points. The maximum hit points of the player is 15. The current hit points of the player is 15. The current hit points of Daniel is 15.The maximum hit points of Daniel is 15. The maximum hit points of the disfigured wolf is 9. The current hit points of the disfigured wolf is 9. Definition: a person is dead if his current hit points are less than 0. Diagnosing is an action applying to one visible thing. Understand "diagnose [something]" as diagnosing. Check diagnosing: if the noun is not a person, say "Only people can have diagnoses." instead. Carry out diagnosing: say "[if the noun is the player]You have[otherwise][The noun] has[end if] [current hit points of the noun] out of a possible [maximum hit points of the noun] hit points remaining." A weapon is a kind of thing. A weapon has a number called the maximum damage. The maximum damage of a weapon is usually 4. The player carries a weapon called a shovel. The maximum damage of the shovel is 3. Daniel carries a weapon called a dirty shovel. The maximum damage of the dirty shovel is 3. The disfigured wolf carries a weapon called a skull cane. The maximum damage of the skull cane is 1. The description of the skull cane is "A long rod that has spiral indentions down to the bottom of the cane. There's a small skull at the top of the rod." The description of the shovel is "An indiscriminate shovel with a long wooden handle." Understand the commands "attack" and "punch" and "destroy" and "kill" and "murder" and "hit" and "thump" and "break" and "smash" and "torture" and "wreck" as something new. Attacking it with is an action applying to one visible thing and one carried thing. Understand "attack [someone] with [something preferably held]" as attacking it with. Understand the commands "punch" and "destroy" and "kill" and "murder" and "hit" and "thump" and "break" and "smash" and "torture" and "wreck" as "attack". The attacking it with action has a number called the damage inflicted. Setting action variables for attacking something with something: if the second noun is a weapon: let the maximum attack be the maximum damage of the second noun; now the damage inflicted is a random number between 1 and the maximum attack. Check an actor attacking something with something (this is the can't attack with something that isn't a weapon rule): if the second noun is not a weapon: if the actor is the player, say "[The second noun] does not qualify as a weapon."; stop the action. Check an actor attacking something with something (this is the can't attack a non-person rule): if the noun is not a person: if the actor is the player, say "[The noun] has no life to lose."; stop the action. Carry out an actor attacking something with something (this is the standard attacking it with a weapon rule): decrease the current hit points of the noun by the damage inflicted; Report attacking a dead person with something (this is the death-report priority rule): say "You attack with [the second noun], killing [the noun]!" instead; if the disfigured wolf is dead begin; if the disfigured wolf is carrying a noun, now the noun is in Dark Grassland; end if. Instead of taking when the noun is carried by a dead person: now the player carries the skull cane. Report attacking disfigured wolf with something when the current hit points of the noun is greater than 6(this is the normal attacking report rule): say "[The noun] is hit on the top of its head with [the second noun]; it startingly contorts and steps backward." instead. Report attacking disfigured wolf with something when the current hit points of the noun is greater than 3 and the current hit points of the noun is less than 7(this is the second normal attacking report rule): say "[The noun] is smashed at the side of the head with [the second noun]; it seemingly whimpers, but you can see it in the crack of its eye that it's still at turn to being dangerous." instead. Report attacking disfigured wolf with something when the current hit points of the noun is less than 4 and the current hit points of the noun is greater than 0(this is the third normal attacking report rule): say "[The noun]'s body is smacked with [the second noun]; you can tell its starting to fall over." instead. Report someone attacking the player with something when the player is dead (this is the player's-death priority rule): say "[The actor] attacks you with [the second noun], finishing you off!"; end the story; stop the action. Report someone attacking the player with something (this is the standard report someone attacking the player with rule): say "[The actor] attacks you with [the second noun]" instead. Report someone attacking something with something (this is the standard report attacking it with rule): say "[The actor] attacks [the noun] with [the second noun]." instead. Every turn when player is in Dark Grassland(this is the disfigured wolf-attack rule): if the disfigured wolf is in Dark Grassland begin; if the disfigured wolf is not dead begin; if the current hit points of disfigured wolf is less than 5, try the disfigured wolf attacking Daniel with a random weapon which is carried by the disfigured wolf; if the current hit points of disfigured wolf is greater than 5, try the disfigured wolf attacking the player with a random weapon which is carried by the disfigured wolf; end if; end if. Every turn when player is in Dark Grassland(this is the Daniel-attack-disfigured wolf rule): if the disfigured wolf is in Dark Grassland begin; if the disfigured wolf is not dead, try the Daniel attacking the disfigured wolf with a random weapon which is carried by Daniel; end if; Moreing is an action applying to nothing. Talking is an action applying to one thing. Understand "restart/restore/save/quit" as "[meta-command]". Understand "more" as "[continuing command]" Understand "more" as moreing. Understand "northward" as north. Understand the command "push" as something new. Understand "push" as north. Understand "talk to [daniel]" as talking. Understand "look around" as looking. After reading a command: if the player's command matches "[meta-command]", make no decision; say line break; if player is in Dark Swamp: repeat through Table of Dark Swamp Topics: if the player's command includes topic entry: now the command prompt is "You consider going north to find shelter as the viable choice for the group at the moment > "; say "[reply entry][paragraph break]"; follow the advance time rule; rule succeeds; repeat through Table of Northern Swamp Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; now the command prompt is "Key in 'more' to continue to the north >"; follow the advance time rule; rule succeeds; repeat through Table of Dark Swamp 2 Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; now the command prompt is ">"; follow the advance time rule; rule succeeds; if the player's command matches "[continuing command]": now the command prompt is ">"; move player to Northern Swamp; move Daniel to Northern Swamp; move Artur to Northern Swamp; move Mary to Northern Swamp; if player is in Quarter Mile from Mansion: repeat through Table of Quarter Miles from Mansion Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; follow the advance time rule; rule succeeds; if player is in Dark Grassland: repeat through Table of Dark Grassland Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; now there is a disfigured wolf in Dark Grassland; follow the advance time rule; rule succeeds; repeat through Table of Dark Grassland 2 Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; decrease the current hit points of the player by 1; now there is a disfigured wolf in Dark Grassland; follow the advance time rule; rule succeeds; repeat through Table of Dark Grassland 3 Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; decrease the current hit points of the disfigured wolf by 1; now there is a disfigured wolf in Dark Grassland; follow the advance time rule; rule succeeds; if player is in Mansion Front: repeat through Table of Mansion Front Topics: if the player's command includes topic entry: say "[reply entry][paragraph break]"; follow the advance time rule; rule succeeds; repeat through Table of Mansion Front 2 Topics: if the player's command includes topic entry: now the player is in Mansion Porch; now Artur is in Mansion Porch; now Daniel is in Mansion Porch; now Mary is in Mansion Porch; say "[reply entry][paragraph break]"; follow the advance time rule; rule succeeds; if player is in Mansion Porch: repeat through Table of Mansion Porch Topics: if the player's command includes topic entry: now the player is in Foyer; now Artur is in Foyer; now Daniel is in Foyer; now Mary is in Foyer; follow the advance time rule; rule succeeds; Instead of examining wolf when player is in Dark Grassland: say "A wolf's body is laying before the group of people that had previously killed it. It has deformaties that seem to disgust everyone that looks upon them: a second pair of eyes can be seen on the top of the wolf's head.[paragraph break][italic type][quotation mark]What is this thing...?[quotation mark][roman type]" Instead of going north when player is in Northern Swamp: now the command prompt is ">"; move player to Dark Grassland; move Daniel to Dark Grassland; move Artur to Dark Grassland; move Mary to Dark Grassland; Instead of talking when player is in Dark Swamp: now the command prompt is "You consider going north to find shelter as the viable choice for the group at the moment > "; say "[italic type][quotation mark]Come back here![quotation mark][roman type] says the fourth person in the group, a woman named Mary; she intervenes you. [italic type][quotation mark]We can't have anyone leaving angry-[quotation mark][paragraph break][quotation mark]-No no- I'm just pissed that we're trapped! I can't leave you people, or else I would probably die walking back.[quotation mark][paragraph break][quotation mark]Good reason to run with the pack, as you would say.[quotation mark][roman type] says Artur.[paragraph break]You stay a strong stare at the body, while listening to the others."; After taking skull cane: try examining the noun; Table of Mansion Porch Topics topic reply "carry/inside/bring" -- Table of Dark Swamp Topics topic reply "follow/yell/calm/let/toward/body" "[italic type][quotation mark]Come back here![quotation mark][roman type] says the fourth person in the group, a woman named Mary; she intervenes you. [italic type][quotation mark]We can't have anyone leaving angry-[quotation mark][paragraph break][quotation mark]-No no- I'm just pissed that we're trapped! I can't leave you people, or else I would probably die walking back.[quotation mark][paragraph break][quotation mark]Good reason to run with the pack, as you would say.[quotation mark][roman type] says Artur.[paragraph break]You stay a strong stare at the body, while listening to the others." Table of Dark Swamp 2 Topics topic reply "how/fault/why/ask" "[italic type][quotation mark]You don't seem to understand that we're here because of you- you wanted to interview; bring us with you for whatever reason, you don't even want to tell us![quotation mark][roman type] Daniel says this, walking further away from you." Table of Northern Swamp Topics topic reply "north/northward" "You persuade the others to head north for shelter, no matter the current circumstance.[paragraph break][italic type][quotation mark]Well, I guess if push comes to shove.[quotation mark][roman type], says Artur." Table of Quarter Miles from Mansion Topics topic reply "carry/help" "You and Daniel decide to carry him in both of your arms, keeping the leg upright so as to stay the proper blood flow. You look ahead: only farther northeast will you finally make it to shelter." "leave" "[italic type][quotation mark]We can't do that [the player's forename]![quotation mark][roman type]" "die" "[italic type][quotation mark]We can't do that [the player's forename]![quotation mark][roman type]" "kill" "[italic type][quotation mark]We can't do that [the player's forename]! [quotation mark][roman type]" Table of Mansion Front Topics topic reply "knock/door" "You come up to the door, the other three behind you by just a few feet. A knock followed by a few quick ones afterward, and soon you hear the sound of heavy footsteps coming toward from the other side.[paragraph break]The door opens up, and a silence in the air is born again.[paragraph break][italic type][quotation mark]Oh My God!?[quotation mark][roman type], exclaims the woman who has opened the door." "help/hi/hello" "[italic type][quotation mark]Jesus! We need to get this man to my husband- he has something for that![quotation mark][roman type]" "wolf/wolves/monsters/monster" "[italic type][quotation mark]Out here? ...That[apostrophe]s probably why your friend is hurt? Come inside![quotation mark][roman type]" Table of Mansion Front 2 Topics topic reply "come/inside/welcome/husband" "[italic type][quotation mark]Yes. Please come inside! I will get my husband to come down from upstairs; if you can, the living room is just to your right when you come in![quotation mark][roman type] She walks up the stairs that are inside and near the doorway. You give a peak from your position and see the spacious living room through the doorway." Table of Dark Grassland Topics topic reply "brace/prepare/ready/guard/defend/dodge/parry" "You personally brace yourself for the attack. The wolf comes out from the shadows.[paragraph break]It slams a dirty weapon against the long handle of your shovel." Table of Dark Grassland 2 Topics topic reply "warn/yell/shout/tell" "You shout out to the group of the impending attack. The wolf comes out from the shadows.[paragraph break]It swipes at you." Table of Dark Grassland 3 Topics topic reply "charge" "The wolf comes out from the shadows. You charge into the fray, swiping and hitting the wolf with your shovel." A leg is a thing. A leg is part of Artur. The description of the leg is "It's a very bloody leg: [italic type][quotation mark]Hopefully Artur gets through this.[quotation mark][roman type], says Daniel."