The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does DESIRES= actually work?
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #1
Does DESIRES= actually work?
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

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
08-11-2012 03:30 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #2
RE: Does DESIRES= actually work?
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.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
08-11-2012 06:52 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)