@quenty/rogue-properties

11.2.0 • Public • Published

RogueProperties

Roguelike properties which can be modified by external provides -- and that modification can be attributed to a source.

Installation

npm install @quenty/rogue-properties --save

Design goals

We need a property system for a rogue-like or MMORPG style game that offers the following attributes.

  1. Modifiable - Can modify a base property in a variety of ways (additive, multiplicative, et cetera)
  2. Attributable - Can attribute the source of final computation, especially for UI.
  3. Extensible - Can combine properties
  4. Grounded in Roblox datamodel - Source of truth exists in Roblox so other people can modify it
  5. Performant - Needs to run fast
  6. Agnostic to server/client - Needs to be able to centralize in datatable.
  7. Scriptable - Need to be able to apply weird scripts to data.
  8. Levelable - Can scale with level!
  9. Usable for other people - The computed value is just .Value under the object!

/@quenty/rogue-properties/

    Package Sidebar

    Install

    npm i @quenty/rogue-properties

    Weekly Downloads

    113

    Version

    11.2.0

    License

    MIT

    Unpacked Size

    86.9 kB

    Total Files

    30

    Last publish

    Collaborators

    • quenty