Saltar al contenido principal

Drinkable Object

info

These docs were last updated for Alcohol System 2.0.0-Beta15.

Add DrinkableObject to a pickup that should be consumed with Use.

SettingPurpose
Alcohol LevelAmount added on use. 0.1 adds 10%; negative values reduce intoxication.
Respawn On ConsumeRespawns the object after use.
Drink Sound OverrideReplaces the Alcohol System's default drink sound for this object.
Alcohol SystemReference to the scene's main system.

The object needs a VRChat pickup. It also needs VRCObjectSync when Respawn On Consume is enabled.

Call _Consume() to consume it from another Udon action, or _Reset() to respawn it.