I believe that this is already possible through contracts On Tue, Apr 11, 2023 at 3:07 PM juan via agora-discussion < agora-discussion@agoranomic.org> wrote:
> What do you think? The language could be better, sure, but I mean the > mechanics. Also: can't figure out a good and fun way to allow Golem > creation. > > { > > The Xaman is an office. > > Golems are entities tracked by the Xaman. Mind is a Golem text switch > defaulting to "False" tracked by the Xaman. Body is a Golem text switch > defaulting to "Does nothing". > > When the conditions specified by the Golem's Mind are met, the Golem is > activated. When a Golem is activated, it performs the actions in its Body. > > This are types of Golems, written as "<Name> ([<Type>: <Attribute>]): > When '<Mind>', do '<Action>'" > > * Observer (Text: condition, Golem: target): When 'condition', do 'poke > target'. > > * Avatar (Player: spirit, Text: action): When 'I have been poked since > my last activation', do 'action on behalf of golem's spirit'. > > * Proxy (Player: beneficiary): When 'I have been poked since my last > activation and I hold an asset' do 'transfer held asset to > beneficiary'. Other rules nonwithstanding, Proxy Golems can own > any asset. > > } > > -- > juan >