arch - xvaldetaro/mendigames GitHub Wiki

Schema

  • List<Pair<Namespace, List>
  • Description

Values (Manually editable, defaults)

  • ModdableNumber
  • FixedNumber
  • String
  • Enum
  • Relation

Feature

  • unique name
  • List of Traits
  • List of Actions

configurable Trait (inherent piece of the entity, usually a value. HP, language spoken, skill value)

  • unique name
  • Set of values
  • Set of formulas to affect values
  • Set of external modifiers to values and Components that caused them

configurable - Action (function that affects N Entities/Components: attack, spell, fall damage, persuasion...)

  • unique name
  • Triggering time
  • Affects Entity/Components with Formula
  • Relation to Cascading Actions

Formula (derives a value from a other values/components)

  • condition
  • arithmetic
  • table
  • function

Template (Gurps character, d&D character...)

  • List of possibilities of traits to build an Entity of a specific type

Entity (Instance of template with configured traits)

  • List

Presenter (composable)

  • UI, Editable, Viewable Values in
  • Simplest just Editable of all Values

Serializing only Entity,Component,Values

⚠️ **GitHub.com Fallback** ⚠️