… | |
… | |
359 | =head3 B<TRANSPORT> - type 2 - Player transports |
359 | =head3 B<TRANSPORT> - type 2 - Player transports |
360 | |
360 | |
361 | This type is implemented by the transport extension and has currently no special |
361 | This type is implemented by the transport extension and has currently no special |
362 | fields that affect it. |
362 | fields that affect it. |
363 | |
363 | |
364 | =head3 B<ROD> - type 3 - Rods that fire spells |
364 | =head3 B<ROD>, B<HORN> - type 3, 35 - Rods that fire spells |
365 | |
365 | |
366 | Rods contain spells and can be fired by a player. |
366 | Rods contain spells and can be fired by a player. |
367 | |
367 | |
368 | =over 4 |
368 | =over 4 |
369 | |
369 | |
… | |
… | |
375 | the 'use magic item' skill level of the player and 1/10 of the level of the |
375 | the 'use magic item' skill level of the player and 1/10 of the level of the |
376 | rod is added as bonus. |
376 | rod is added as bonus. |
377 | |
377 | |
378 | =item I<hp> <number> |
378 | =item I<hp> <number> |
379 | |
379 | |
380 | The amount of spellpoints this rod has left. |
380 | The amount of spellpoints this rod has left. Recharges at a rate of C<1 + |
|
|
381 | maxhp/10> per tick. |
381 | |
382 | |
382 | =item I<maxhp> <number> |
383 | =item I<maxhp> <number> |
383 | |
384 | |
384 | The maximum amount of spellpoints this rod has. |
385 | The maximum amount of spellpoints this rod has. |
385 | |
386 | |
… | |
… | |
867 | =item I<body_BODYSLOT> |
868 | =item I<body_BODYSLOT> |
868 | |
869 | |
869 | The part/slot of the body you need to use this weapon, possible values for |
870 | The part/slot of the body you need to use this weapon, possible values for |
870 | C<BODYSLOT> should be looked up in common/item.C at body_locations. |
871 | C<BODYSLOT> should be looked up in common/item.C at body_locations. |
871 | |
872 | |
872 | The value gives the number of those body slots used up by the item, or |
873 | The value (in the range C<-7..7>) gives the number of those body slots |
873 | C<-1> for one handed weapons, C<-2> for two handed weapons, or C<-1> for |
874 | used up by the item (if negative) or the number of body slots this object |
874 | other very special things. |
875 | has (if positive, e.g. for monsters or players). The special value C<0> |
|
|
876 | indicates that this object cannot equip items requiring these body slots. |
875 | |
877 | |
876 | =item I<resist_RESISTANCY> <number> |
878 | =item I<resist_RESISTANCY> <number> |
877 | |
879 | |
878 | this is the factor with which the difference of the players resistancy and 100% |
880 | this is the factor with which the difference of the players resistancy and 100% |
879 | is multiplied, something like this: |
881 | is multiplied, something like this: |