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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom AI Events
Author Message
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #4
RE: Custom AI Events
bears, polar bears and grizzly bears should attack any brain_animal with less str, but never attack their own bear <baseid>. They should also fish near the water, randomly pull out a fish if they're standing near the shore for a certain amount of time and eat any t_fish <type> near them within 3 tiles every 5-10 seconds, leaving a fish head behind (with emotes and chomping sounds) Smile

chickens should lay eggs every 30-60 seconds and the eggs should turn into egg shells on=@step Smile

rats should poo on the ground every 30 to 60 seconds, and character objects should become mildly poisoned on=@step except rats themselves, since they're already dirty.

snakes should lay eggs every 60-120 seconds, the eggs should be crushed if stepped on other than a snake or chicken itself. Snakes should eat any eggs not layed by the same snake. In other words, snakes will eat other snakes eggs, chicken eggs but never their own eggs. Chickens do not eat eggs, chickens should eat wheat and hay and seeds (but no seeds?) Can always rescript the NPC eating script by reading <FOODTYPES> and running a FORITEMS loop. 3 being the general reaching distance of any player and character.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 08-21-2012 02:06 AM by Skul.)
08-21-2012 01:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom AI Events - Extreme - 08-20-2012, 01:36 PM
RE: Custom AI Events - htid4life - 08-20-2012, 08:23 PM
RE: Custom AI Events - Extreme - 08-21-2012, 12:34 AM
RE: Custom AI Events - Skul - 08-21-2012 01:58 AM
RE: Custom AI Events - Extreme - 08-21-2012, 02:14 AM
RE: Custom AI Events - htid4life - 08-21-2012, 02:27 AM
RE: Custom AI Events - Extreme - 08-21-2012, 07:21 AM
RE: Custom AI Events - Anarch Cassius - 08-21-2012, 08:16 AM
RE: Custom AI Events - admin phoenix - 08-21-2012, 03:30 PM
RE: Custom AI Events - Skul - 08-22-2012, 06:30 AM
RE: Custom AI Events - Extreme - 08-22-2012, 06:49 AM
RE: Custom AI Events - Skul - 08-22-2012, 09:06 AM
RE: Custom AI Events - Extreme - 08-22-2012, 10:43 AM
RE: Custom AI Events - htid4life - 08-23-2012, 08:50 AM
RE: Custom AI Events - RanXerox - 08-23-2012, 10:25 AM
RE: Custom AI Events - Pollo - 11-05-2012, 11:33 PM

Forum Jump:


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