DriftScript bindings · interface

ChemistryServices

What a consumer supplies to make drift/chemistry reachable.

Explained in Setting up scripts.

interface ChemistryServices
import type { ChemistryServices } from '@driftengine/script';

Properties

NameTypeDescription
worldreadonlyChemistryWorld
parcelsreadonlyParcelStore
airreadonlyAtmosphereField
substancesreadonlySubstanceRegistry
speciesreadonlySpeciesRegistry