ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/objects.pod
(Generate patch)

Comparing deliantra/server/pod/objects.pod (file contents):
Revision 1.5 by elmex, Tue Dec 19 13:41:45 2006 UTC vs.
Revision 1.6 by elmex, Tue Dec 19 15:30:01 2006 UTC

504 FLAG_XRAYS 504 FLAG_XRAYS
505 FLAG_BLIND 505 FLAG_BLIND
506 FLAG_SEE_IN_DARK 506 FLAG_SEE_IN_DARK
507 FLAG_UNDEAD 507 FLAG_UNDEAD
508 508
509=head3 CHECK_INV - type 64 - Inventory checkers
510
511This object checks whether the player has a specific item in his
512inventory when he moves above the inventory checker. If the player has
513the item (or not, which can be controlled with a flag) a connection will be triggered.
514
515If you set move_block you can deny players and monsters to reach the space where
516the inventory checker is on, see 'move_block' description below.
517
518The conditions specified by hp, slaying and race are concationated with OR.
519So matching one of those conditions is enough.
520
521=over 4
522
523=item move_block <move type bitmask>
524
525If you set this field to block a movetype the move code will block any moves
526onto the space with the inventory checker, IF the moving object doesn't have
527(or has - if last_sp = 0) the item that the checker is searching for.
528
529=item last_sp (0|1)
530
531If last_sp is 1 'having' the item that is being checked for will
532activate the connection or make the space with the checker non-blocking.
533If last_sp is 0 'not having' the item will activate the connection
534or make the space with the checker non-blocking.
535
536=item last_heal (0|1)
537
538If last_heal is 1 the matching item will be removed if the inventory checker
539activates a connection and finds the item in the inventory.
540
541(A inventory checker that blocks a space won't remove anything from inventories)
542
543=item hp <number>
544
545If this field is not 0 the inventory checker will search for an object
546with the type id <number>.
547
548=item slaying <string>
549
550If this field is set the inventory checker will search for an object that
551has the same string in the slaying field (for example a key string of a key).
552
553=item race <string>
554
555If this field is set the inventory checker will search for an object which
556has the archetype name that matches <string>.
557
558=item connected <connection id>
559
560This is the connection that will be activated.
561
562=back
563
509=head3 HOLE - type 94 - Holes 564=head3 HOLE - type 94 - Holes
510 565
511Holes are holes in the ground where objects can fall through. When the hole 566Holes are holes in the ground where objects can fall through. When the hole
512opens and/or is completly open all objects above it fall through (more 567opens and/or is completly open all objects above it fall through (more
513precisely: if their head is above the hole). 568precisely: if their head is above the hole).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines