Combat Speech
Estimated reading time: 3 minutesOverview
The combat speech system lets mod authors register dialogue that triggers during combat. Each line can have a condition and a cooldown so it does not repeat too often.
Access via maplebirch.combat.Speech.
Registering Combat Speech
Basic Syntax
Method Signature
Basic Examples
Dynamic Speech
Ejaculation Events
The framework provides custom ejaculation macros for named NPCs:
Ejaculation Dialogue (SugarCube)
Define a macro named ejaculation-<npc_name> (NPC name in lowercase) to customise dialogue when that NPC ejaculates.
Notes
- Macro name must be
ejaculation-<npc_name>. - NPC name must be lowercase.
- The macro can take one optional argument for context.
- If no macro is defined for an NPC, the game uses default behaviour.
