Search results

  1. fukurou

    👨‍💻 dev diinsulted

    def count_occurrences(lst, element): return lst.count(element) # Example usage: my_list = [1, 2, 3, 2, 4, 2, 5] element_to_count = 2 count = count_occurrences(my_list, element_to_count) print(f"The element {element_to_count} appears {count} times in the list.")
  2. fukurou

    jizz board

    self.convo1.add_items(UniqueResponder("you are being responsible", "you are doing the right thing", "you are making a good choice"), "i will wear a diaper", "i will wear a nappy") self.convo1.add_items(UniqueResponder("that's the spirit", "you are a big help", "you are doing great"), "i will put...
  3. fukurou

    jizz board

    class DiEvent(Skill): def __init__(self): super().__init__() self._e = False self.declarations = UniqueResponder("put on your nappy", "it is diaper time my little bed wetter","put on your diaper", "diaper your butt so you do not have an accident") self.convo1...
  4. fukurou

    jizz board

    class DiEvent(Skill): def __init__(self): super().__init__() self._e = False self.declarations = UniqueResponder("put on your nappy", "it is diaper time my little bed wetter","put on your diaper", "diaper your butt so you do not have an accident") self.convo1...
  5. fukurou

    jizz board

    class EventChat: # Funnel input to a unique response bundle def __init__(self, ur: UniqueResponder, *args): self._dic = {arg: ur for arg in args} def add_items(self, ur: UniqueResponder, *args): for arg in args: self._dic[arg] = ur def...
  6. fukurou

    jizz board

    class YourClass: def __init__(self, ur: UniqueResponder, *args): self._dic = {arg: ur for arg in args} def add_items(self, ur: UniqueResponder, *args): for arg in args: self._dic[arg] = ur
  7. fukurou

    👨‍💻 dev AXContains

    class DiWarrior(Skill): def __init__(self): super().__init__() # Call the parent class constructor self.fightSpirit: int = 6 self.replenisher = TrgEveryNMinutes(TimeUtils.getCurrentTimeStamp(),5) self.evolver = 0 # hits taken self.warmode = False...
  8. fukurou

    👨‍💻 dev AXContains

    class DiWarrior(Skill): def __init__(self): super().__init__() # Call the parent class constructor self.fightSpirit: int = 6 self.replenisher = TrgEveryNMinutes(TimeUtils.getCurrentTimeStamp(),5) self.evolver = 0 # hits taken self.warmode = False...
  9. fukurou

    👨‍💻 dev AXContains

    class DiWarrior(Skill): def __init__(self): super().__init__() # Call the parent class constructor self.fightSpirit: int = 6 self.replenisher = TrgEveryNMinutes(TimeUtils.getCurrentTimeStamp(),5) self.evolver = AnnoyedQ(2) self.warmode = False...
  10. fukurou

    👨‍💻 dev AXContains

    from typing import Set def contains_element(my_set: Set[int], element: int) -> bool: return element in my_set # Example usage my_set: Set[int] = {1, 2, 3, 4, 5} print(contains_element(my_set, 3)) # Output: True print(contains_element(my_set, 6)) # Output: False
  11. fukurou

    test

  12. fukurou

    test

    :s8:
  13. fukurou

    AH2

    (?<=add di).*
  14. fukurou

    👨‍💻 dev event chatbot

    class EventChat: def __init__(self, ur: UniqueResponder, *args): self._dic = {arg: ur for arg in args} def response(self, in1: str) -> str: return self._dic.get(in1, "").getAResponse() if in1 in self._dic else ""
  15. fukurou

    [MEDIA]

  16. fukurou

    👨‍💻 dev event chatbot

    def create_dict(objectx: 'ObjectX', *args: str) -> dict[str, 'ObjectX']: return {arg: objectx for arg in args} # Example usage: class ObjectX: pass obj = ObjectX() result = create_dict(obj, "key1", "key2", "key3") print(result)
  17. fukurou

    👨‍💻 dev event chatbot

    def create_dict(objectx, *args): return {arg: objectx for arg in args} # Example usage: class ObjectX: pass obj = ObjectX() result = create_dict(obj, "key1", "key2", "key3") print(result)
  18. fukurou

    AI hormones test

    from __future__ import annotations # for the builder pattern from AXPython import TimeGate from LivinGrimoire23 import Skill, Chobits class AH1(Skill): def __init__(self, chobit: Chobits): super().__init__() # Call the parent class constructor self._chobit: Chobits =...
  19. fukurou

    [MEDIA]

  20. fukurou

    protocol 2501 with .txt instead of .py

    import os def call_add_DLC_skills(brain: Brain): for file in os.listdir('.'): if file.endswith('.txt') and 'DLC' in file: with open(file, 'r') as f: code = f.read() exec(code) exec(f"add_DLC_skills(brain)") # Example usage...
Top