HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
kaioken dark coding force power up!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
from LivinGrimoirePacket.AXPython import DailyEngager
from LivinGrimoirePacket.LivinGrimoire import Skill
from...
class RailPunk:
def __init__(self, limit=5, db: AbsDictionaryDB | None = None):
self.ec = EventChatV2(limit) # the memory: key -> weighted replies (limit = replies kept per key)
self.context = "stand by" # the last line the bot is "on"; monolog continues from here...
step 4:
class AHNight(Skill):
# this skill swaps between two sets of contradicting skills
# hidden skills are enabled at night
# negation skills(if any) are enabled for daytime
def __init__(self, brain: Brain, *hidden_skills: Skill):
super().__init__()...
step 3:
class AHNagCooldown(Skill):
"""warns when the same input repeats back to back, and if the nagging continues,
removes the logic lobe's regular skills (except defcon skills, which include
this one) for a cooldown period, then restores them (without duplicates) and
resets...
step 2
class APAddUniqueSkills(AlgPart):
# adds skills to the brain, skipping any that already exist in any lobe
def __init__(self, brain: Brain, *skills_to_add: Skill):
super().__init__()
self.brain = brain
self.skills_to_add: list[Skill] = list(skills_to_add)...
1 add to brain:
def exist(self, skill: Skill) -> bool:
"""
Checks the lobe the skill belongs to (by its skill_lobe attribute),
in both the regular and continuous lists.
"""
match skill.get_skill_lobe():
case 1:
return...