Some text adventure games written for HERITAGE
Clone
HTTPS:
git clone https://vervis.peers.community/repos/Krnxv
SSH:
git clone USERNAME@vervis.peers.community:Krnxv
Branches
Tags
main.heritage
info():
author: fr33domlover
title: Loop
license: CC0 Public Domain Dedication
var(loaded,0)
room(0.0.0):
description: You are sitting in your work room, in front of your desk. The
computer's screen is in front of you. It's displaying some
small white text on black background.
items: screen
item(screen):
on_examine: The web browser, GNU IceCat, is open. It's displaying a black
page with white text. The text says:
============================================================
Welcome to HERITAGE, the text adventure game engine!
============================================================
$(equals:loaded,0;To start playing, you must first load a game.
Use the command "load GAME", where GAME is the name of the
game. After that, you can enter the command "start" to launch
the game.)$
$(equals:loaded,1;You have loaded the game called "loop". To
launch the game, enter the command "start".)$
$(equals:loaded,0;Here is a list of the installed games:
1. loop)$
action(load_loop):
succeed: You type in "load loop" and press Enter. The text on the screen
changes. #(loaded=1)#
equals: loaded,0
fail: You type in "load loop" and press Enter. The screen displays a notice
"game already loaded!", and goes back to its previous state. No harm
done.
action(start):
succeed: You type in the command "start" and press Enter. The game
launches. Now the screen displays the following: #(loaded=0)#
--------------------------------
You are sitting in your work room, in front of your desk. The
computer's screen is in front of you. It's displaying some small
white text on black background.
equals: loaded,1
fail: You type in the command "start" and press Enter. The screen displays
a notice "no game loaded!", and goes back to its previos state. No
harm done.