Module CorsixTH.CorsixTH.Lua.humanoid_actions.use_object

Construct a 'use object' action.

Functions

UseObjectAction:enableWateringPlant () Set the 'watering plant' flag.
UseObjectAction:setProlongedUsage (prolonged) Set prolonged usage of the object.


Functions

UseObjectAction:enableWateringPlant ()
Set the 'watering plant' flag.

Returns:

    (action) self, for daisy chaining.
UseObjectAction:setProlongedUsage (prolonged)
Set prolonged usage of the object.

Parameters:

  • prolonged (bool or nil) If set, enable prolonged usage of the object.

Returns:

    (action) self, for daisy-chaining.
generated by LDoc TESTING Last updated 2015-01-01 12:00:00