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.18 by elmex, Thu Dec 21 21:24:06 2006 UTC vs.
Revision 1.22 by root, Mon May 7 06:21:20 2007 UTC

338=head2 Description of type specific fields and behaviour 338=head2 Description of type specific fields and behaviour
339 339
340The beginning of the headers of the following subsection 340The beginning of the headers of the following subsection
341are the server internal names for the objects types, see include/define.h. 341are the server internal names for the objects types, see include/define.h.
342 342
343=head3 B<MOOD_FLOOR> - type 65 - change mood of monsters
344
345speed == 0 for triggered mood changes, speed != 0 for non-triggered mood
346changes.
347
348 (based on value that last_sp takes):
349 0: 'furious' Makes all monsters aggressive
350 1: 'angry' As above but pets are unaffected
351 2: 'calm' Makes all monsters unaggressive
352 3: 'sleep' Puts all monsters to sleep
353 4: 'charm' Makes monster into a pet of person
354 who triggers the square. This setting
355 is not enabled for continous operation
356 5: 'destroy mons' destroy any monsters on this space
357 6: 'destroy pets' destroy friendly monsters on this space
358
343=head3 B<TRANSPORT> - type 2 - Player transports 359=head3 B<TRANSPORT> - type 2 - Player transports
344 360
345This type is implemented by the transport extension and has currently no special 361This type is implemented by the transport extension and has currently no special
346fields that affect it. 362fields that affect it.
347 363
848Generally this field on weapons is in ranges of 1-30 and decides the slowdown of the 864Generally this field on weapons is in ranges of 1-30 and decides the slowdown of the
849I<sp> regeneration. 865I<sp> regeneration.
850 866
851=item I<body_BODYSLOT> 867=item I<body_BODYSLOT>
852 868
853The part of the body you need to use this weapon, possible values should be 869The part/slot of the body you need to use this weapon, possible values for
854looked up in common/item.C at body_locations. 870C<BODYSLOT> should be looked up in common/item.C at body_locations.
855 871
872The value (in the range C<-7..7>) gives the number of those body slots
873used up by the item (if negative) or the number of body slots this object
874has (if positive, e.g. for monsters or players). The special value C<0>
875indicates that this object cannot equip items requiring these body slots.
876
856=item I<resist_RESISTNACY> <number> 877=item I<resist_RESISTANCY> <number>
857 878
858this is the factor with which the difference of the players resistancy and 100% 879this is the factor with which the difference of the players resistancy and 100%
859is multiplied, something like this: 880is multiplied, something like this:
860 881
861 additional_resistancy = (100 - current_resistanct) * (<number>/100) 882 additional_resistancy = (100 - current_resistancy) * (<number>/100)
862 883
863if <number> is negative it is added to the total vulnerabilities, 884if <number> is negative it is added to the total vulnerabilities,
864and later the total resistance is decided by: 885and later the total resistance is decided by:
865 886
866 'total resistance = total protections - total vulnerabilities' 887 'total resistance = total protections - total vulnerabilities'
867 888
868see also common/living.C:fix_player 889see also common/living.C:fix_player.
869 890
870=item I<path_(attuned|repelled|denied)> 891=item I<path_(attuned|repelled|denied)>
871 892
872this field modifies the pathes the player is attuned to, see include/spells.h PATH_* 893this field modifies the pathes the player is attuned to, see include/spells.h PATH_*
873for the pathes. 894for the pathes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines