Crate rpg [] [src]

rpg-rs

A very basic RPG engine written in Rust

The Idea

This library should be used to build RPGs. Sounds simple and also should be, but when building an RPG from scratch, most people tent to write the same code over and over again. This library aims to completely implmement most of the very basic elements of an RPG. This is because there exists a huge diversity in terms of RPGs. There is not one definite model.

Modules

behaviour

The behaviour of entities

character

The structures used to bulid a character

entity

Everything regarding entities

event

The structure of events

inventory

The structure and mechanics of an inventory

item

The structure of items

item_generator

Generate random items

types

A module for global type consitency

world

Structures for saving, loading and playing a game world