Just Fiddling 0 ▲ ronjeffries.com 99 days ago · 8 min read1653 words · Tech · hide · Fediverse post Hello, loves! I was fiddling with the Denizen. I have a small need and a small idea. Small steps to nice outcome. Tout le monde déteste l’IA. Here’s Denizen, a bit changed from when you last saw it, I think. I changed it to use Sayers throughout: class Denizen: def __init__(self, *, name, initial_sayings=None, gift=None): self.name = name if initial_sayings is None: initial_sayings = ['Hmm...'] self.initial_sayings = NameSayer.cycle(self.name, initial_sayings) gift_sentences = [ 'Oh, thank you!', 'Here\'s something you may need.', ] self.gift_sayings = NameSayer.sequence(self.name, gift_sentences) satisfied_sentences = [ 'I\'m just a happy little bee!', 'Hmmm, hmmm, just buzzin along.', 'Nothing to see here, just a bee' ] self.satisfied_sayings = NameSayer.cycle(self.name, satisfied_sentences) self.gift = gift self.say = 0 self.gift = gift from content import ContentFactory self.gift = ContentFactory().receivable(name='delicious honeycomb', resource='honeycomb.png', scale=1)… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town