/tg/ Station 13 - Modules - TypesVar Details - Proc Details

toggle_bite

Vars

bite_bonuses_appliedPrevents biting from stacking with cat tongue bonuses - we use this to track whether we've applied our own bonuses or if the cat tongue is providing them so we know whether to remove them if the cat tongue is removed or if we deactivate bite mode.

Procs

ActivateActivates bite mode, enabling biting attacks instead of normal unarmed attacks. Applies damage bonuses matching cat tongue if no cat tongue is present. Registers signals to handle dynamic organ changes (tongue implants/removals).
DeactivateDeactivates bite mode, restoring normal unarmed attacks.
DestroyCleanup proc - ensures bite mode is deactivated before the action is destroyed
add_bite_bonusesApplies bite bonuses to the head, matching cat tongue bonuses. These bonuses are: +4/+7 damage, +10 effectiveness, +0.5 pummeling, and sharpness.
check_removed_organSignal handler for when an organ is removed from the mob. If a cat tongue is removed while bite mode is active, apply our bonuses (since cat tongue is no longer providing them) and switch to listening for organ gain.
remove_bite_bonusesRemoves bite bonuses from the head if they were applied by this action.

Var Details

bite_bonuses_applied

Prevents biting from stacking with cat tongue bonuses - we use this to track whether we've applied our own bonuses or if the cat tongue is providing them so we know whether to remove them if the cat tongue is removed or if we deactivate bite mode.

Proc Details

Activate

Activates bite mode, enabling biting attacks instead of normal unarmed attacks. Applies damage bonuses matching cat tongue if no cat tongue is present. Registers signals to handle dynamic organ changes (tongue implants/removals).

Deactivate

Deactivates bite mode, restoring normal unarmed attacks.

Destroy

Cleanup proc - ensures bite mode is deactivated before the action is destroyed

add_bite_bonuses

Applies bite bonuses to the head, matching cat tongue bonuses. These bonuses are: +4/+7 damage, +10 effectiveness, +0.5 pummeling, and sharpness.

Arguments:

check_removed_organ

Signal handler for when an organ is removed from the mob. If a cat tongue is removed while bite mode is active, apply our bonuses (since cat tongue is no longer providing them) and switch to listening for organ gain.

Arguments:

remove_bite_bonuses

Removes bite bonuses from the head if they were applied by this action.

Arguments: