Issix-mod/Modules/IssixModule/Skills/Perks/PetSpeech.gd

31 lines
603 B
GDScript3
Raw Normal View History

2024-12-24 22:16:45 +00:00
extends PerkBase
func _init():
id = "PetSpeech"
skillGroup = "Pet"
func getVisibleName():
return "Meow bark"
func getVisibleDescription():
return "You have learned the speech of animals without losing ability to communicate with humanoids"
func getSkillTier():
return 1
2024-12-24 22:16:45 +00:00
func getPicture():
return "res://Modules/IssixModule/Skills/Images/petspeech.png"
func toggleable():
var ch = npc if npc != null else GM.pc
return !(ch.getSkillsHolder().hasPerk(self.id))
func unlockable():
return false
func hiddenWhenLocked() -> bool:
return true
func hiddenWhenUnlocked() -> bool:
return false