Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

init

Description

Called when initializing an action.

Arguments

1 developer employee

the employee that will be performing this action.

Example

-- taken from game/developer/actions.lua


function useWaterDispenser:init(target)
	self.employee = target
	self.done = false
	
	events:addFunctionReceiver(self, useWaterDispenser.handleObjectSell, studio.expansion.EVENTS.REMOVED_OBJECT)
end