Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

canPick

Description

Returns whether the action can be picked for this specific target.

Arguments

1 developer target

the target employee.

Returns

1 bool

should return true or false.

Example

-- taken from game/developer/actions.lua


function useWaterDispenser:canPick(target)
	return target:isThirsty()
end