ItemDefinition

Extends: roAssociativeArray

An item the inventory can hold. Add any fields your game needs (name, icon) alongside these.

Properties

  • max (integer) — how many can be carried
  • onAcquire (Array.<StoryEffect>) — effects run each time one is gained