Open shentino opened 3 years ago
Hello again,
Is there any documentation about things and archetypes and how to use them appropriately?
No but there definitely should be.
Hello again,
Is there any documentation about things and archetypes and how to use them appropriately?
For now, serving as support, I'll explain here
Things are physical objects in the universe with mass and volume and density and so on and potentially containers. This applies to apples, dragons, warriors, planets, stars, black holes, fluids, a mouthful of water you haven't swallowed yet. Skotoslib by Skotos Tech gets credit for the inspiration on this one.
Archetypes are from phantasmal by Noah Gibbs, which was itself inspired by Skotos Tech. THey serve the same purpose in phantasmal that Ur objects do in Skotoslib, which is probably where the inspiration came from. In kotaka they function much like base classes and use the same type of inheritance scheme roughly that C++ provides. Though archetypes in kotaka are a form of data inheritance, whereas DGD handles the actual code based inheritance of the blueprints/master objects. Basically, kotaka is doing with properties the same thing DGD is doing with the internal bytecode after an LPC source file is compiled.
My apologies for not having this documented better
Also the concept of "data inheritance" was also inspired by Skotoslib
See PR 11 for more information but the author pointed out an inconsistency
snouns: world, planet pnouns: worlds, planets
Should probably also have a planet archetype set up
OH! Don't forget to integrate this with the new detail system. Make sure the nouns are attached to the planet archetype's default detail.