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
BODY and ID
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #7
RE: BODY and ID
Correct... the built-in concept of gender is actually a "CAN" flag:

[DEFNAME can_flags]
// monster "can" type flags.
mt_male 00000
mt_nonmover 00000
mt_ghost 00001 // Moves through doors
mt_swim 00002 // Moves on water
mt_walk 00004 // Can walk on land
mt_passwalls 00008 // Walk through walls
mt_fly 00010
mt_fire_immune 00020
mt_indoors 00040 // Can go under roof
mt_hover 00080 // Hovers (can follow gargoyle flight paths)
mt_equip 00100
mt_usehands 00200
mt_mount 00400 // can ride mountables
mt_female 00800
mt_nonhum 01000 // Body type for combat messages
mt_run 02000
mt_nodclicklos 04000 // when dclicking sth., ignore LOS checks
mt_nodclickdist 08000 // when dclicking sth., ignore distance checks

Notice that "male" is a flag of zero (which everything has)... so technically all monsters are male, including the females lol.
05-17-2013 12:48 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
BODY and ID - Staff_Stanic - 05-16-2013, 03:48 AM
RE: BODY and ID - Wap - 05-16-2013, 09:17 PM
RE: BODY and ID - darksun84 - 05-16-2013, 11:40 PM
RE: BODY and ID - Staff_Stanic - 05-17-2013, 01:37 AM
RE: BODY and ID - RanXerox - 05-17-2013, 11:33 AM
RE: BODY and ID - Staff_Stanic - 05-17-2013, 11:59 AM
RE: BODY and ID - RanXerox - 05-17-2013 12:48 PM
RE: BODY and ID - Staff_Stanic - 05-17-2013, 02:03 PM

Forum Jump:


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