Forcecompostable
Overview
This lightweight component flags an entity as compostable and assigns it to one or both composting categories—green (nitrogen-rich) or brown (carbon-rich)—based on its green and brown boolean flags. It serves as metadata for compost heap systems to determine acceptable input items.
Dependencies & Tags
None identified.
Properties
| Property | Type | Default Value | Description |
|---|---|---|---|
inst | Entity | (inherited) | Reference to the owner entity. |
green | boolean | false | Whether the entity is considered green compostable. |
brown | boolean | false | Whether the entity is considered brown compostable. |
Main Functions
No public functions are defined beyond constructor initialization.
Events & Listeners
None.