Issix-mod/SpeechModifiers/LamiaMute.gd
2024-12-05 20:23:12 +01:00

12 lines
313 B
GDScript

extends SpeechModifierBase
func _init(): # Assure that Lamia never is assigned any kind of dialogue by the game
id = "LamiaMute"
priority = 1001
func appliesTo(_speaker: BaseCharacter) -> bool:
return _speaker.getID() == "lamia"
func modify(_text: String, _speaker: BaseCharacter) -> String:
return "..."