onOverrideDropColour (event)
Description
Event called while setting colour to display a drop in the Drop section.

Parameters
dropID integer
dropColour string

Return value
newDropColour string

Example
function onOverrideDropColour(dropID, dropColour)

    -- print drop ID 1000 in red
    if dropID == 1000 then
        return "#ff0000"
    end

    -- print other drops in existing colour
    return dropColour
end

Comments
Use this event to override the colour of drops in the Drops section for specific cases or criteria.

See also

Back
Generated on the 26 June 2024 at 22:01:30 (UK Time)