rRpg - The engine

Presentation

rRpg is a text based game where the player will evolve in a huge, randomly generated world.

To evolve in the game, the player will have to type commands (such as "move north") to execute actions in the world.

Download

The source code is available on Github: https://github.com/rrpg/engine.

The required instructions are available in the README.md file.

Start the game

To play to rRpg, you'll need first to have a world to play in. You can generate one with the game editor. Then, just run in a terminal ./rRpg in the game folder.

The game will be run in you current locale, if the translation exists, otherwise, it will be run in english.

To force the game in a specific language, just run:

The required instructions are available in the README.md file.

Gameplay

The game is a text-based game. The player will face text to read, and will have to type commands to execute actions

List of commands

Look arround

To look arround, the player has to type the command look.

This command will display the following informations:

Example
Command: look
You are in The High lands
You see these characters arround:
    Tom
You can go in the following directions:
	south
You see the following places:
	first dungeon
You see the following items
  1 Heavy breastplate
  4 Mist potion
		

Move

When the player uses the command move, he will move in the desired direction.

The command format is move <direction>

The available directions are:

Example
Command: move south
lets go south
		

Talk

With this command, the player can talk to a PNJ being in the same area.

The talk system works with a keywords system. The player has to "ask" a keyword to a png.

The command format is talk <PNJ> <keyword>

Example
Command: talk Tom hi
Hi, my name is Tom, I'm a butcher
		

Enter and exit places

To enter and exit places, the player has to type the commands enter <place-type> and exit <place-type>:

Command: enter dungeon
You enter.

Command: exit dungeon
You are now outside
		

Currently, the existing place types are dungeon and cave.

Take and drop objects

When the player sees an object in an area, he can take it to put it in his inventory with the command take [quantity] "<object name>":

Command: take 2 "Mist potion"
You take 2 Mist potion

Command: take "Heavy breastplate"
You take 1 Heavy breastplate
		

At anytime the player can list what he has in his inventory with the command inventory or inv:

Command: inventory
  1 Heavy breastplate
  4 Mist potion
		

Once in the inventory, the object can be dropped on the floor with the command: drop [quantity] "<object name>":

Command: drop "Heavy breastplate"
You drop 1 Heavy breastplate

Command: drop 3 "Mist potion"
You drop 3 Mist potion
		

Help

The command help will display a help message regarding the available commands.