nanos world API Reference Unofficial documentation
Event Shared

Pickable.Drop

When a Character drops this Pickable

Syntax

Lua
Pickable.Subscribe("Drop", function(self, character, was_triggered_by_player)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Pickable The Pickable which has been dropped
character Character The Character that dropped it
was_triggered_by_player boolean If the Player actively pressed the Drop binding to drop