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.21 by root, Mon May 7 06:14:03 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 used
873up by the item, or C<-1> for one handed weapons, C<-2> for two handed
874weapons, or C<-1> for other very special things.
875
856=item I<resist_RESISTNACY> <number> 876=item I<resist_RESISTANCY> <number>
857 877
858this is the factor with which the difference of the players resistancy and 100% 878this is the factor with which the difference of the players resistancy and 100%
859is multiplied, something like this: 879is multiplied, something like this:
860 880
861 additional_resistancy = (100 - current_resistanct) * (<number>/100) 881 additional_resistancy = (100 - current_resistancy) * (<number>/100)
862 882
863if <number> is negative it is added to the total vulnerabilities, 883if <number> is negative it is added to the total vulnerabilities,
864and later the total resistance is decided by: 884and later the total resistance is decided by:
865 885
866 'total resistance = total protections - total vulnerabilities' 886 'total resistance = total protections - total vulnerabilities'
867 887
868see also common/living.C:fix_player 888see also common/living.C:fix_player.
869 889
870=item I<path_(attuned|repelled|denied)> 890=item I<path_(attuned|repelled|denied)>
871 891
872this field modifies the pathes the player is attuned to, see include/spells.h PATH_* 892this field modifies the pathes the player is attuned to, see include/spells.h PATH_*
873for the pathes. 893for the pathes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines