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?
Game Template
by
Al Golden
Played 1,768 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Game Template" by (Author). the story headline is "Story Headline text here.". [This is a template that can be used for almost any Inform 7 game. You can modify it to your specifications] [where the game begins] Starter is a room. use no scoring, verbose room descriptions, American dialect, and the serial comma. [release along with the [cover art,] the source text, a "Classic" website, the introductory booklet, a public solution, a file of "XXX" called "whatever.txt", an interpreter, and the library card.] [place extensions here] [The following can either be used or not at your discretion:] to say verbword: (- print(address)verb_word; -). to say /b: say bracket. to say /cb: say close bracket. to say /f: say fixed letter spacing. to say /v: say variable letter spacing. to say /l: say line break. to say /p: say paragraph break. to say (j – a number) spaces: (- spaces({j}); -). to say /bt: say bold type. to say /rt: say roman type. to say /it: say italic type. to say /q: say "['][']". to clear the screen: (- VM_ClearScreen(0); -). to clear the status line: now the left hand status line is ""; now the right hand status line is ""; to turn off score notification: (- notify_mode=0; -). clsing is an action out of world. understand "cls" as clsing. report clsing: clear the screen. before wearing a wearable thing: now the noun is worn by yourself; say "You wear [the noun]." instead. before eating a edible thing: remove the noun from play; say "You eat [the noun]." instead. when play begins: turn off score notification. check searching a closed container: say "[The noun] is closed." instead. rule for printing room description details: stop. after printing the name of an open container: omit contents in listing. after printing the name of a transparent container: omit contents in listing. after printing the name of a supporter: omit contents in listing. after printing the banner text when not requesting the story file version: say "[complete list of extension credits][/l]Intro blurb here." a thing can be open. a thing can be opened. a thing can be openable. a thing can be closed. a thing can be enterable. a thing can be shut. a thing can be locked. a thing can be lockable. a thing can be unlockable. a thing can be switched on. a thing can be switched off. a thing can be switchable. rule for deciding whether all includes scenery: it does not. rule for deciding whether all includes something fixed in place: it does not. rule for deciding whether all includes a person: it does not. rule for deciding whether all includes things enclosed by someone who is not yourself: it does not. rule for deciding whether all includes something which is part of something when dropping: it does not. [Over-riding scenery, fixed in place and component parts rules] the can't take what's fixed in place rule is not listed in any rulebook. the can't take scenery rule is not listed in any rulebook. the can't take component parts rule is not listed in any rulebook. the can't pull what's fixed in place rule is not listed in any rulebook. the can't pull scenery rule is not listed in any rulebook. the can't push scenery rule is not listed in any rulebook. the can't push what's fixed in place rule is not listed in any rulebook. instead of taking inventory: if yourself carries something and yourself wears something: say "You are carrying: [/l]"; repeat with item running through things carried by yourself: say "a [item] [/l]"; say "[/l]You are wearing: [/l]"; repeat with item running through things worn by yourself: say "a [item] [/l]"; otherwise if yourself carries something and yourself wears nothing: say "You are carrying: [/l]"; repeat with item running through things carried by yourself: say "a [item] [/l]"; otherwise if yourself wears something and yourself carries nothing: say "You are wearing: [/l]"; repeat with item running through things worn by yourself: say "a [item] [/l]"; otherwise if yourself carries nothing and yourself wears nothing: say "You are neither carrying or wearing anything.". after examining yourself: try taking inventory. after examining someone who is not yourself: if the noun carries something and the noun wears something: say "[The noun] is carrying: [/l]"; repeat with item running through things carried by the noun: say "a [item] [/l]"; say "[/l][The noun] is wearing: [/l]"; repeat with item running through things worn by the noun: say "a [item] [/l]"; otherwise if the noun carries something and the noun wears nothing: say "[The noun] is carrying: [/l]"; repeat with item running through things carried by the noun: say "a [item] [/l]"; otherwise if the noun wears something and noun carries nothing: say "[The noun]is wearing: [/l]"; repeat with item running through things worn by the noun: say "a [item] [/l]"; otherwise if the noun wears nothing and the noun carries nothing: do nothing.