This is a Text adventure scripter for non-programmers as well as programmers. All it needs is a text file which defines all of the objects, rooms, and actions available. Soon, I hope to make another program to make writing the script even easier, as it can get quite long and take a long time to do.
This version is fully playable, except that you can\'t win or lose yet. The text file attached contains only a very simple text adventure with only 2 rooms although the program is capable of any amount.
The download is just over 1/3 of a megabyte and is in zip format.
You can edit the text file using notepad.
This is the format of the script:
room: `this says that the following code is describing a room
:room `this says that there is no more code describing a room
object: `same but for an object
:object `same but for an object
action: `same but for an action
:action `same but for an action
name = `used in object,room & action. The name of what it is.
description = `used only for a room. This will show when the user enters the room
actions = `used for rooms and objects. A list of the name of actions which can be performed on it.
required = `rooms/objects. A list in the same order as actions saying what item you need to do the action.
hidden = `rooms/objects. The same, but for hidden things that the player can\'t see.
locked = `what to print if the player doesn\'t have one of the above.
result = `what to print if the player has both of the above
exits = `rooms only. In a list eg. north,west,upstairs
rooms = `rooms only. In same order, Name of room to go to.
room = `rooms/objects. In order of actions, where the player will be taken to.
inventory = `rooms/objects. In order of actions, what will be added to inventory. use - to remove item.
addhidden = `rooms/objects. Same but for hidden stuff.
objects = `rooms only. What objects are in the room. (No order)
absent = `actions only. What will be printed if the player enters a non-existent object for this action.
All of those that end =
remember that there is a space both before and after the =
Also they are ended with a # sign, because they can contain carriage returns.
All lists must start with a comma and each item is separated by a comma as well.
PHEW!!!
There are three types of people, those that can count and those that can't.