Change Physical Statistic Step

Introduction

The Change Physical Statistic Step modifies the players physical statistics (muscles, dantian, etc)

Interface

interface ChangePhysicalStatStep {
  kind: 'changePhysicalStat';
  condition?: string;
  stat: PhysicalStatistic;
  amount: string;
}

Properties

kind - Always 'changePhysicalStat'

amount - Amount change expression

  • String expression that evaluates to the amount to add or remove (if negative)

stat - The stat to modify. Must be one of eyes,meridians,dantian,muscles,digestion,flesh

condition (optional) - Conditional execution

  • Flag expression that must be true for change to occur
  • Step is skipped if condition fails

Examples

{
  kind: 'changePhysicalStat',
  stat: 'flesh',
  amount: '3'
}