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
How to get the tilef (tile_flags) of a item
Author Message
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: How to get the tilef (tile_flags) of a item
ie <SERV.ITEMDEF.i_gold.TFLAGS>

ie2 <SERV.ITEMDEF.<act.baseid>.TFLAGS>

[DEFNAME tile_flags] // by Shadowlord
tilef_background 01 // No idea. None whatsoever. Maybe it's the blackness.
tilef_weapon 02 // I smack thee with this here ... club?
tilef_transparent 04 // Yeah. So we can see through it?
tilef_translucent 08 // Okay...
tilef_wall 010 // Hey look, we can't walk through it!
tilef_damaging 020 // Lava, perhaps? Fires, hmm!
tilef_impassable 040 // Mountains and stuff, I'll wager.
tilef_wet 080 // Water? Or mud? Or a slick road in a rainstorm? Probably the first.
tilef_unknown 0100 // Uh...
tilef_surface 0200 // Tables or something?
tilef_bridge 0400 // I wonder why they'd have a flag for that.
tilef_stackable 0800
tilef_window 01000 // So we can see/shoot out?
tilef_noshoot 02000 // ? We can't shoot out or something? So, like a glass window maybe?
tilef_prefixA 04000 // A card
tilef_prefixAn 08000 // An apple
tilef_internal 010000 // hair, beards, etc
tilef_foliage 020000 // Probably bushes and tree leaves and stuff.
tilef_partialHue 040000 // semi-glowy?
tilef_unknown_1 080000 // Well, gee. I should see if it's used on anything...
tilef_map 0100000 // Sounds good to me.
tilef_container 0200000 // They flag these!?
tilef_wearable 0400000 // Omigod!
tilef_lightSource 0800000 // I'm getting tired of typing repetitive shiznit now.
tilef_animated 01000000 // Like fire again. And stuff. Those spinny propeller thingies!
tilef_noDiagonal 02000000 // !?!???!!?
tilef_unknown_2 04000000 // I really hope some of these unknowns are n/w/s/e facing flags.
tilef_armor 08000000 // Armor, okay, so does that count shields? Hmmm?
tilef_roof 010000000 // "Don't fall through me!" Or why isn't it just flagged surface or something?
tilef_door 020000000 // Okay...
tilef_stairBack 040000000 // Don't we have stairs that go forward or left too? This could cover both...
tilef_stairRight 080000000 // Well, whatever, you can climb them, so, hey... Good use for a
(This post was last modified: 12-04-2012 06:36 AM by ChaveS.)
12-04-2012 06:36 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to get the tilef (tile_flags) of a item - ChaveS - 12-04-2012 06:36 AM

Forum Jump:


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