by ajuc · 4y ago · 0 comments
It started from simple things like "has player killed a monster of type X", "does player have item Y in inventory", "was the actor X in place Y already", "have player talked to actor Z about Q".
But then I thought it would be cool to add metainformation. "Have actor X seen player killing the monster Y". "Have any actor seen player talking about Q". "is there a chain of actors meeting each other from the actor that seen player killing actor X to the quest giver".
I tried to implement this naively and it turns out the amount of information is astounding. To the point that I'm still amazed our brains can do this.
The problem wasn't as much with the querying part as with the remembering part, there was just too much information that needed to be recorded every frame in case I would want to know this 1 fact half an hour later.
(also because it's built -atop- prolog you can potentially get it to run on a prolog-in-X implementation though I've not yet tried that ... though I'm now tempted to so I'm going to finish this comment before I nerd snipe myself)
I had the same but for the morality/social system of an apocalyptic im-sim.
I did some notebook sketching and quickly progressed into capsnet territory so I shelved it :(