Class GrowContainerAdditives
Global registry for additive IDs that should be allowed on all grow containers.
These IDs are applied to GrowContainer.AllowedAdditives during GrowContainer.InitializeGridItem.
public static class GrowContainerAdditives
- Inheritance
-
GrowContainerAdditives
- Inherited Members
Methods
AllowAdditive(string)
Registers an additive item ID as allowed on all grow containers (idempotent).
public static void AllowAdditive(string additiveItemId)
Parameters
additiveItemIdstring
Remarks
Recommended timing: call during OnPreLoad (or earlier).
GetAllowedAdditiveIds()
Returns a snapshot of allowed additive IDs registered via S1API.
public static IReadOnlyList<string> GetAllowedAdditiveIds()