Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ResourceChange

What changeResource changes, and by how much: one entry of a cost.

Type Parameter Default type
Handle extends ResourceHandle ResourceHandle
Property Type Description
amount number Added where positive, spent where negative.
resource Handle The resource’s handle, from defineResource.