tildemush-docs/README.md

435 lines
12 KiB
Markdown
Raw Permalink Normal View History

2020-03-07 14:01:46 +00:00
# Tildemush documentation
2020-03-29 19:56:58 +00:00
tildemush is a text-based, programmatic virtual community on the command line. tildemush aims to
provide an environment for creativity, imagination, and art. Currently, tildemush hosted on
[tilde.town](https://tilde.town).
2020-03-27 00:38:36 +00:00
2021-02-25 00:23:33 +00:00
## Purpose and goals
2020-03-29 19:56:58 +00:00
2020-09-25 21:30:08 +00:00
TODO for vilmibm
2020-01-15 01:26:46 +00:00
2021-02-25 00:23:33 +00:00
## Table of contents
2020-03-29 19:56:58 +00:00
- [About this document](#about-this-document)
2020-03-22 02:27:00 +00:00
- [Conventions used in this documentation](#conventions-used-in-this-documentation)
- [Requirements](#requirements)
- [Getting started](#getting-started)
2020-03-22 02:17:27 +00:00
- [Starting tildemush](#starting-tildemush)
- [To start tildemush](#to-start-tildemush)
- [Creating a new user account](#creating-a-new-user-account)
- [To create a new user account](#to-create-a-new-user-account)
- [Logging in](#logging-in)
- [To log in](#to-log-in)
- [Resetting your password](#resetting-your-password)
- [To reset your password](#to-reset-your-password)
- [Configuring tildemush](#configuring-tildemush)
- [To configure tildemush](#to-configure-tildemush)
- [Exiting from the start menu](#exiting-from-the-start-menu)
- [To exit from the start menu](#to-exit-from-the-start-menu)
- [Understanding the interface](#understanding-the-interface)
- [MAIN tab](#main-tab)
- [The chatbox](#the-chatbox)
- [The location box](#the-location-box)
- [The map box](#the-map-box)
- [The inventory box](#the-inventory-box)
- [WITCH tab](#witch-tab)
- [The object pane](#the-object-pane)
- [The object-scripting pane](#the-object-scripting-pane)
- [WORLDMAP tab](#worldmap-tab)
- [Area blocks](#area-blocks)
- [Direction names](#direction-names)
- [SETTINGS tab](#settings-tab)
- [QUIT tab](#quit-tab)
- [Accessing tabs](#accessing-tabs)
2020-01-15 01:14:18 +00:00
- [Accessing the MAIN tab](#accessing-the-main-tab)
- [To access the MAIN tab](#to-access-the-main-tab)
- [Accessing the WITCH tab](#accessing-the-witch-tab)
- [To access the WITCH tab](#to-access-the-witch-tab)
- [Accessing the WORLDMAP tab](#accessing-the-worldmap-tab)
- [To access the WORLDMAP tab](#to-access-the-worldmap-tab)
- [Accessing the SETTINGS tab](#accessing-the-settings-tab)
- [To access the SETTINGS tab](#to-access-the-settings-tab)
- [Using tildemush](#using-tildemush)
- [Sending a message to all users in your current location](#sending-a-message-to-all-users-in-your-current-location)
- [To send a message to all users in your current location](#to-send-a-message-to-all-users-in-your-current-location)
2020-01-15 01:14:18 +00:00
- [Quitting tildemush](#quitting-tildemush)
- [To quit tildemush](#to-quit-tildemush)
2020-03-22 00:39:10 +00:00
- [Scripting with WITCH](#scripting-with-witch)
2020-03-21 23:48:33 +00:00
- [Extra tips](#extra-tips)
- [Copying text](#copying-text)
- [To copy text](#to-copy-text)
- [Pasting text](#pasting-text)
- [To paste text](#to-paste-text)
- [Sharing your WITCH code](#sharing-your-witch-code)
- [To share your WITCH code](#to-share-your-witch-code)
2020-03-22 02:30:10 +00:00
- [Frequently asked questions](#frequently-asked-questions)
2020-03-29 19:56:58 +00:00
<!-- markdown-toc end -->
2020-03-22 01:46:48 +00:00
<!-- References and todos
add before 'understanding the interface':
https://github.com/vilmibm/tildemush/issues/158
'using tildemush' todos:
in-game commands: https://github.com/vilmibm/tildemush/blob/master/docs/client.md#in-game-commands
2020-03-22 01:46:48 +00:00
break the following into subsections of 'using tildemush'
/dig create a new room, assigning its ownership to the user
/destroy destroy a created object
/create fabricate a new object
/clone create a copy of an object to transfer to another user
/bless open up an object for scripting
/anchor pins an object to a room. It can only be picked up again by the person who anchored it.
/ignore ignore a player or object's messages
/say audibly chat to your current room. default action for entered text.
/yell be loud; chats to your current room, but other rooms hear indistinct yelling from your room. shortcut is **
/emote use a predefined non-verbal action (potentially at another user) shortcut is !
/whisper send a private message to a nearby user. shortcut is .
/do free-form "character does x"
/get pick up an item in your current room
/examine get item info for something in your current room or inventory; get info on a user
/look get room info
/drop drop an item
/wear add something to your "is wearing" description
/unwear remove something from your "is wearing" description
/wield carry an item in your hands
/unwield put away an item
/quit end game socket session and quit client
'using witch' todos:
https://github.com/vilmibm/tildemush/issues/157
misc references:
23:28 <vilmibm> m455: re: the conversation in tush: it's a little hard to read but you can get a good idea of what WITCH provides here:
https://github.com/vilmibm/tildemush/blob/master/server/tmserver/witch_header.hy
23:29 <vilmibm> there are also functioning WITCH examples in the test suite, for example,
https://github.com/vilmibm/tildemush/blob/master/server/tmserver/tests/game_object_test.py#L160
23:30 <vilmibm> (why a common test game object is a horse named Snoozy is a memory I have since lost)
23:31 <vilmibm> ah there are a bunch of WITCH objects in here! just search the page for "incantation"
https://github.com/vilmibm/tildemush/blob/master/server/tmserver/tests/async_test.py
-->
2021-02-25 00:23:33 +00:00
## About this document
2020-03-29 19:56:58 +00:00
This document serves as a reference for [tildemush](https://github.com/vilmibm/tildemush),
[tilde.town](https://tilde.town)'s tildemush virtual community, lead
by [vilmibm](https://tilde.town/~vilmibm/).
2020-03-29 19:56:58 +00:00
This document is for users who have an account on [tilde.town](https://tilde.town).
2021-02-25 00:23:33 +00:00
## Conventions used in this documentation
2020-03-22 02:27:00 +00:00
* **Note** - Notes signify additional information
* **Tip** - Tips signify an alternate procedure for completing a step
* **Caution** - Cautions signify that damage or loss of data may occur
* **Example** - Examples provide a visual reference of how a procedure would be performed
2020-03-26 18:56:59 +00:00
* `Inline code` - Inline code signifies package names, filenames, and commands
* `<Keyboard keys>` Keyboard keys signify a key the user presses or holds
2021-07-08 01:19:03 +00:00
* `Code block - Code blocks signify file contents, or an interface element`
2020-03-22 02:27:00 +00:00
* Section - Heading 1s are referred to as "Sections"
* subsections - Heading 2s, 3s, etc. are referred to as "subsections"
2021-02-25 00:23:33 +00:00
## Requirements
2020-03-22 02:27:00 +00:00
* A [tilde.town](https://tilde.town) account
2021-02-25 00:23:33 +00:00
## Getting started
TODO
This section consists of the following subsections:
2020-03-22 02:16:16 +00:00
- [Starting tildemush](#starting-tildemush)
- [Creating a new user account](#creating-a-new-user-account)
- [Logging in](#loggin-in)
- [Resetting your password](#resetting-your-password)
- [Configuring tildemush](#configuring-tildemush)
- [Exiting from the start menu](#exiting-from-the-start-menu)
2021-02-25 00:23:33 +00:00
### Starting tildemush
2020-03-22 02:16:16 +00:00
Starting tildemush will run the software required to connect to the
tildemush virtual community that exists on
[tilde.town](https://tilde.town).
2021-02-25 00:23:33 +00:00
#### To start tildemush
2020-03-22 02:16:16 +00:00
**Caution** - Before continuing, you should know that tildemush's
database may be wiped at any time, because it is still under
development. This means that anything you create, may be deleted at
any time.
1. `ssh` into [tilde.town](https://tilde.town)
2. Run `tmclient`
2020-03-26 18:49:26 +00:00
3. Press `<Enter>`
2020-03-22 02:16:16 +00:00
2021-02-25 00:23:33 +00:00
### Creating a new user account
2020-03-22 02:16:16 +00:00
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To create a new user account
2020-03-22 02:16:16 +00:00
TODO: procedures
2021-02-25 00:23:33 +00:00
### Logging in
2020-03-22 02:16:16 +00:00
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To log in
2020-03-22 02:16:16 +00:00
TODO: procedures
2021-02-25 00:23:33 +00:00
### Resetting your password
2020-03-22 02:16:16 +00:00
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To reset your password
2020-03-22 02:16:16 +00:00
TODO: procedures
2021-02-25 00:23:33 +00:00
### Configuring tildemush
2020-03-22 02:16:16 +00:00
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To configure tildemush
2020-03-22 02:16:16 +00:00
TODO: procedures
2021-02-25 00:23:33 +00:00
### Exiting from the start menu
2020-03-22 02:16:16 +00:00
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To exit from the start menu
2020-03-22 02:16:16 +00:00
TODO: procedures
2021-02-25 00:23:33 +00:00
## Understanding the interface
This section will introduce you to each interface tab, and each element inside of each tab.
This section consists of the following subsections:
- [MAIN tab](#main-tab)
- [WITCH tab](#witch-tab)
- [WORLDMAP tab](#worldmap-tab)
- [SETTINGS tab](#settings-tab)
- [QUIT tab](#quit-tab)
2021-02-25 00:23:33 +00:00
### MAIN tab
The main tab consists of:
* The chat box
* The location box
* The map box
* The inventory box
2021-02-25 00:23:33 +00:00
#### The chatbox
The chat box will display the following:
* User messages
* Events
* Actions from users
* Actions from objects
* Responses from objects
2021-02-25 00:23:33 +00:00
#### The location box
The location box will display the following:
* Your current location's name
* Your current location's description
* Your current location's user-created objects
2021-02-25 00:23:33 +00:00
#### The map box
The map box will display the following:
TODO: Verify if these are the places you have visited or all places that connect to the current location
2021-02-25 00:23:33 +00:00
#### The inventory box
The inventory box will display the following:
* Number of objects you have
* Name(s) of objects you have
2021-02-25 00:23:33 +00:00
### WITCH tab
2020-01-15 02:07:37 +00:00
The WITCH tab consists of:
* The object pane
* The object-scripting pane
2021-02-25 00:23:33 +00:00
#### The object pane
The object pane displays the name and permissions of the object that is being edited.
2021-02-25 00:23:33 +00:00
#### The object-scripting pane
The object-scripting pane displays the scripts of the object that is being edited. This is the area you will edit the functionality of an object.
2021-02-25 00:23:33 +00:00
### WORLDMAP tab
2020-01-15 02:07:37 +00:00
The WORLDMAP tab consists of:
* Area blocks
* Direction names
2021-02-25 00:23:33 +00:00
#### Area blocks
Area blocks are user-created locations you can travel to in the tildemush world.
2021-02-25 00:23:33 +00:00
#### Direction names
Direction names are user-created names that a user can type to travel to different area blocks.
2021-02-25 00:23:33 +00:00
### SETTINGS tab
The SETTINGS tab is under development.
2021-02-25 00:23:33 +00:00
### QUIT tab
The QUIT tab does not contain elements. It serves as a reminder of how
to quit tildemush. See the [Quitting tildemush](#quitting-tildemush) subsection.
2021-02-25 00:23:33 +00:00
## Accessing tabs
This section will provide information on each tildemush tab and teach you how to access each tildemush tab.
This section consists of the following subsections:
* [Accessing the MAIN tab](#accessing-the-main-tab)
* [Accessing the WITCH tab](#accessing-the-witch-tab)
* [Accessing the WORLDMAP tab](#accessing-the-worldmap-tab)
* [Accessing the SETTINGS tab](#accessing-the-settings-tab)
2021-02-25 00:23:33 +00:00
### Accessing the MAIN tab
The MAIN tab can be accessed from any of the tabs.
2021-02-25 00:23:33 +00:00
#### To access the MAIN tab
1. Press `F1`
2021-02-25 00:23:33 +00:00
### Accessing the WITCH tab
The WITCH tab provides an interface for creating objects.
2021-02-25 00:23:33 +00:00
#### To access the WITCH tab
1. Press `F2`
2021-02-25 00:23:33 +00:00
### Accessing the WORLDMAP tab
The WORLDMAP tab provides visuals on how all locations are connected.
2021-02-25 00:23:33 +00:00
#### To access the WORLDMAP tab
1. Press `F3`
2021-02-25 00:23:33 +00:00
### Accessing the SETTINGS tab
2020-03-22 01:09:46 +00:00
The SETTINGS tab is under development.
2021-02-25 00:23:33 +00:00
#### To access the SETTINGS tab
1. Press `F4`
2021-02-25 00:23:33 +00:00
## Using tildemush
This section will teach you how to use tildemush and assumes you are familiar with
[tildemush's interface](#understanding-the-interface).
2020-03-21 23:48:33 +00:00
This section consists of the following subsections:
TODO
2021-02-25 00:23:33 +00:00
### Sending a message to all users in your current location
2020-03-21 23:43:35 +00:00
The MAIN tab allows you to interact with users and objects. The MAIN tab is where you will communicate with other users.
2021-02-25 00:23:33 +00:00
#### To send a message to all users in your current location
2020-03-21 23:43:35 +00:00
1. Ensure you are in the MAIN tab
2. Type your message
2020-03-26 18:49:26 +00:00
3. Press `<Enter>`
**Tip**: You can also use the `/say` command to send a message to all users in your current
location.
**Example**:
```
/say hey there! can anyone hear me?
```
2021-02-25 00:23:33 +00:00
### Quitting tildemush
2020-01-15 02:07:37 +00:00
Quitting tildemush will bring you back to your normal shell session on tilde.town.
2020-01-15 01:14:18 +00:00
2021-02-25 00:23:33 +00:00
#### To quit tildemush
2020-01-15 01:14:18 +00:00
1. Press `F9`
2021-02-25 00:23:33 +00:00
## Scripting with WITCH
2020-03-22 00:39:10 +00:00
TODO: Explain significance to user
This section consists of the following subsections:
2020-03-22 00:39:10 +00:00
TODO
2020-03-22 00:39:10 +00:00
2021-02-25 00:23:33 +00:00
## Extra tips
2020-03-21 23:48:33 +00:00
This section will describe useful actions for working in tildemush and the terminal.
This section consists of:
* Copying text
* Pasting text
2021-02-25 00:23:33 +00:00
### Copying text
2020-03-21 23:48:33 +00:00
There are various ways to highlight text in the terminal, one of the easiest ways is to use your mouse.
2021-02-25 00:23:33 +00:00
#### To copy text
2020-03-21 23:48:33 +00:00
1. Highlight the text you want to copy using your mouse
2. Hold the `Shift` and `Ctrl` keys
3. Press `c`
4. Release the `Shift` and `Ctrl` keys
2021-02-25 00:23:33 +00:00
### Pasting text
2020-03-21 23:48:33 +00:00
[TODO]
2021-02-25 00:23:33 +00:00
#### To paste text
2020-03-21 23:48:33 +00:00
1. Hold the `Shift` and `Ctrl` keys
2. Press `v`
3. Release the `Shift` and `Ctrl` keys
**Tip** - Your terminal emulator may allow you to paste text using one of the following methods:
* middle-clicking
* right-clicking, and then selecting `Paste`.
2021-02-25 00:23:33 +00:00
### Sharing your WITCH code
TODO: Significance to user
2021-02-25 00:23:33 +00:00
#### To share your WITCH code
TODO: procedures
2021-02-25 00:23:33 +00:00
## Frequently asked questions
TODO
2020-03-22 02:30:10 +00:00
* **Is tildemush the same as IRC?**
* TODO: *Answer*