Skip to content

AddConceptBlockBase

16.3 Interface

Inheritance 2 ancestors · 2 siblings · 2 descendants

Class Documentation

Edit documentation

A script block that adds a number to the value of a concept for one object. The block reads the value that the concept holds for the object, or the concept's DefaultValue if nothing has written it for that object, adds AddValue and stores the sum as the value of the object.

The block resolves ConceptObject and Concept and stores the value in the same way as a Set block: a failing getter writes nothing, a sum equal to the old value writes nothing, and a change is stamped with the current game time and starts the concept's ease (ConceptEasingData) for the Eased* drivers.