Skip to main content

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

PropertyTypeDefault ValueDescription
instEntity(inherited)Reference to the owner entity.
greenbooleanfalseWhether the entity is considered green compostable.
brownbooleanfalseWhether the entity is considered brown compostable.

Main Functions

No public functions are defined beyond constructor initialization.

Events & Listeners

None.