Skip to content

Creating Mounts

Cromha edited this page Jan 17, 2024 · 14 revisions

Introduction

A mount is an animal that the player rides. Mounts are bought from stables. Each mount have separated agility and resistance attributes that can be upped by leveling, and leveling is caused by gaining exp in fights or by training the mount in its stable. Each mounts have a specific stable that they can only be trained on. Each mounts also have specific feeding items that are used to feed them and get exp.

You can view your mount stats by using the Y key in-game. Since mounts are a complicated mechanic, it's recommended to check the Gameplay Guide to understand better.

In order to make the mount display correctly on the Y command menu, you'll need to create a <mount_name>.txt file where <mount_name> is the id name of the mount in the imgs/ directory of the plugin/data. In this file, you'll put the ascii art of that mount with, if you want, yaml data color codes.

Example of a mount definition:

Warg:
  name: Warg
  plural: Wargs
  gold: 59.36
  feed:
    food:
    - Beef
    - Porkchop
    - Chicken
    feed needs: 3
  stable:
    required stable: Warg Stable
    stable slot usage: 3
  stats:
    agility addition: .35
    resistance addition: .15
  levels:
    max level: 25
    level stat additions:
      agility addition: .025
      resistance addition: .015
  description: "Wargs are at first Yrch mounts but they can be tamed and then used to fight against Yrch. Wargs are fast and agile mounts."

Full explanation of all attributes:

  • name // the name of this mount type.
  • plural // the plural name of this mount type.
  • gold // the base price in gold of this mount type. Can vary depending on the stable cost value where it is bought.
  • feed
    • food // the list of items that the player can use to feed this mount.
    • feed needs // usually values between 1 and 5. 1-2 being small mounts and 3-5 carnivore mounts. The more its higher, the more the player will have to feed them to gain exp.
  • stable
    • required stable // the name/type of stable that this mount can only be trained on.
    • stable slot usage // this is a deprecated attribute so just put any values here.
  • stats
    • agility addition // usually between .01 and .4. .01-.1 being slow mounts and .2-.4 agile mounts. This is base value that this mount has on level 0.
    • resistance addition // usually between .05 and .4. .05-.15 being weak/agile mounts and .2-.4 strong/big mounts. This is base value that this mount has on level 0.
  • levels
    • max level // this is the maximum level that this mount can have.
    • level stats addition
      • agility addition // Usually tiny values around .01. The agility that this mount gain every time it levels up.
      • resistance addition // Usually tiny values around .01. The resistance that this mount gain every time it levels up.
  • description // the description of the mount that is shown on Y menu.
Clone this wiki locally