Search results

  1. fukurou

    tea party

    import random import time class DiTeaParty(Skill): def __init__(self): super().__init__() self.set_skill_type(2) # continuous skill self.toggle = "lets have a tea party" self.party_duration = 300 # 5 minutes total self.responder = Responder("sip"...
  2. fukurou

    tea party

    import random import time class DiTeaParty(Skill): def __init__(self): super().__init__() self.set_skill_type(2) # continuous skill self.toggle = "lets have a tea party" self.sip_min = 20 # seconds self.sip_max = 60 # seconds...
  3. fukurou

    [MEDIA]

  4. fukurou

    [MEDIA]

  5. fukurou

    LivinGrimoire holyC port

    pt4/4 self->ctsSkills[i]->Ghost(self->ctsSkills[i]); self->ctsCount = 0; } U0 Lobe_InOut(Lobe *self, Skill *skill, U8 *ear, U8 *skin, U8 *eye) { skill->Input(skill, ear, skin, eye); if (Skill_PendingAlgorithm(skill)) self->algTriggered = TRUE; Skill_Output(skill...
  6. fukurou

    LivinGrimoire holyC port

    pt3/4 AlgPart *part = self->alg->parts[self->at]; U8 *result = part->Action(part, ear, skin, eye); StrCpy(self->emot, AlgPart_MyName(part)); if (part->Completed(part)) self->incrementAt = TRUE; return result; } return ""; } U0...
  7. fukurou

    LivinGrimoire holyC port

    pt2/4 I64 i, j; for (i = 0; i <= DEFCON_LEVELS; i++) { self->defcon_count[i] = 0; for (j = 0; j < NEURON_QUEUE; j++) self->defcons[i][j] = NULL; } } U0 Neuron_InsertAlg(Neuron *self, I64 priority, Algorithm *alg) { if (priority < 1 || priority > 5) return; if...
  8. fukurou

    LivinGrimoire holyC port

    pt1/4 // LivinGrimoire.HC // HolyC port of LivinGrimoire.py // Runs on TempleOS // OOP replaced with structs + function pointers (composition) // Caps: MAX_SKILLS=16, MAX_SENTENCES=32, MAX_ALG_PARTS=16, NEURON_QUEUE=4 #define MAX_SKILLS 16 #define MAX_SENTENCES 32 #define MAX_ALG_PARTS...
  9. fukurou

    [MEDIA]

  10. fukurou

    [MEDIA]

  11. fukurou

    new site

    https://www.livingrimoire.com/
  12. fukurou

    [MEDIA]

  13. fukurou

    [MEDIA]

  14. fukurou

    [MEDIA]

  15. fukurou

    [MEDIA]

  16. fukurou

    🐍 python FU money calculator

    import math def survival_years(total, monthly_spend, annual_return=0.05): """ Returns how many years you can survive. If survival is infinite, returns -1. """ yearly_spend = monthly_spend * 12 # No growth case if annual_return == 0: return total /...
  17. fukurou

    [MEDIA]

  18. fukurou

    [MEDIA]

  19. fukurou

    🐍 python polinators

    # Simple pronoun resolver using history import re PRONOUNS = re.compile(r'\b(it|they|them|that|this|its|their)\b', re.I) def last_entity(history: list[dict]) -> str | None: """Walk backwards through history, return last user noun phrase.""" noun =...
  20. fukurou

    🐍 python upgraded spit xp farm skill for chatbot gamification

    class DiEmoV2(Skill): def __init__(self): super().__init__() self.xp = 0 self.reseter: TrgEveryNMinutes = TrgEveryNMinutes(10) self.lim = 3 self.no_mood: Responder = Responder("bored", "meh", "neutral") self.yes_mood: Responder =...
Top