howtophil icon

Time Zombie Inform 7 Code

howtophil | PRO | 03/19/22 11:35:39 PM UTC | 0 ⭐ | 615 👁️ | Never ⏰ | []
text |

1.16 KB

|

None

|

0 👍

/

0 👎

"Escape Time" by "Phillip J Rhoades"
 The current instruction set is a list of stored actions that varies. 
 Cube is a room. The player is here.
 Bedroom is north of Cube.
 Box is in cube. "A little metal box."
 zombie is a person.
zombie is nowhere.
 Report zombie examining zombie:
    say "Watching your past self look at itself is giving you a headache." instead. 
 After doing something when zombie is nowhere:
	now the actor is zombie;
	add the current action to the current instruction set;
	now the actor is the player;
	if the number of entries in the current instruction set is 10:
		now zombie is in the cube;
		say "A time zombie is spawned";
	continue the action.
 Instead of attacking the box:
	say "It is smashed into little dusty pieces.";
	now the box is nowhere.
 Every turn when zombie is somewhere:
	if the number of entries in the current instruction set is 0:
		say "The time zombie vanishes";
		now zombie is nowhere;
	otherwise:
		let the next task be entry 1 of the current instruction set;
		try the next task;
		remove entry 1 from the current instruction set;
		if rule failed:
			say "[next task] PARADOX INCREASES".

Comments