WorldItemSettings
data class WorldItemSettings( var quantity: Int, val isOnWorldObject: Boolean, var age: Int = 0) : Component()on_world_item_option(Assets.Item.bones, "Inspect") { player -> val settings = target.getComponent<WorldItemSettings>() player.message("${settings.quantity} bones, lying here for ${settings.age} cycles.")}quantity
Section titled “quantity”var quantity: IntisOnWorldObject
Section titled “isOnWorldObject”val isOnWorldObject: Booleanvar age: Int