@quenty/rogue-properties

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

Install

npm i @quenty/rogue-properties

DownloadsWeekly Downloads

386

Version

4.20.0

License

MIT

Unpacked Size

47.8 kB

Total Files

26

Last publish

Collaborators

  • quenty