SphereCommunity
Does DESIRES= actually work? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Does DESIRES= actually work? (/Thread-Does-DESIRES-actually-work)



Does DESIRES= actually work? - Rayvolution - 08-11-2012 03:30 PM

I'm in the process of cleaning up/rewriting the base animals/NPCs for my server.. Does anyone know if DESIRES= actually do anything? I've yet to find any situation where vanilla Sphere actually uses it?

I'm working on my own AI that will have certain "pack animals" seek out each other and try to stay generally around certain terrain types anyway, so if DESIRES doesn't work, I'd really like to get it out code. Smile


RE: Does DESIRES= actually work? - Anarch Cassius - 08-11-2012 06:52 PM

Mmm, it does do SOMETHING. Aversions is in fact a placeholder. Both however are good lists to use in writing ones own scripts. I use desires in combat descisions and other things.

The only thing I know it does for certain is that if an NPC has a desire for an item type they will take that item from you. Add a pets FOODTYPE to its desires and it will keep extra food you give it until it's hungry later. NPCs will typically refuse items not on their desires.