@quenty/rogue-properties

11.16.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!

Readme

Keywords

Package Sidebar

Install

npm i @quenty/rogue-properties

Weekly Downloads

76

Version

11.16.0

License

MIT

Unpacked Size

85.8 kB

Total Files

27

Last publish

Collaborators

  • quenty