Metatext: Unterschied zwischen den Versionen
TomK32 (Diskussion | Beiträge) |
Keine Bearbeitungszusammenfassung |
||
Zeile 13: | Zeile 13: | ||
I stumbled upon another unique scripting language today: [http://en.wikipedia.org/wiki/Inform Inform 7]. What makes it special is that the instructions read like a '''natural language'''. I am fascinated. It '''rocks'''! | I stumbled upon another unique scripting language today: [http://en.wikipedia.org/wiki/Inform Inform 7]. What makes it special is that the instructions read like a '''natural language'''. I am fascinated. It '''rocks'''! | ||
== Example Code == | |||
"Metalab" by "Tessellated and hopefully you :)" | |||
The story headline is "Anniversary in Progress". | |||
Chapter 1 - Awakening in the Lounge | |||
Part 1 - | |||
When play begins, say "You wake up with a headache. | |||
The room is gently spinning around your head." | |||
The Lounge is a room. "Media, games and smoking room. The exit is to the south." | |||
There is a couch in the Lounge. The couch is enterable and fixed in place. | |||
The description is "It's dirty and there are footprints on it." | |||
A table is here. The description is "It's a classic from IKEA." | |||
A netbook is on the table. The description is "It's your netbook." | |||
The ashtray is on the table. The table is fixed in place. | |||
Instead of taking the table, say "Naa, this table has found it's place already." | |||
The couch can be sat on. | |||
The Player is on the couch. | |||
An ashtray is on the table. | |||
A lighter is on the table. The description is "Its big, transparent and looks empty." | |||
... | |||
== Ideas == | == Ideas == |