… | |
… | |
346 | array syntax, i.e. C<resists[ATNR_FIRE]>). |
346 | array syntax, i.e. C<resists[ATNR_FIRE]>). |
347 | |
347 | |
348 | =item body_xxx_info and body_xxx_used |
348 | =item body_xxx_info and body_xxx_used |
349 | |
349 | |
350 | Every body location (e.g. C<body_neck_info>, C<body_arm_used> etc.) can |
350 | Every body location (e.g. C<body_neck_info>, C<body_arm_used> etc.) can |
351 | be accessed via these functions (these are aliases to more cumbersome C<{ |
351 | be accessed via these functions (these are aliases to more cumbersome C<< { |
352 | $_->slot_info (body_xxx) }> and C<slot_used> method calls). |
352 | $_->slot_info (body_xxx) } >> and C<slot_used> method calls). |
353 | |
353 | |
354 | Example: (e.g. on a door) match only players that have no arms. |
354 | Example: (e.g. on a door) match only players that have no arms. |
355 | |
355 | |
356 | match type=PLAYER and body_arm_info=0 |
356 | match type=PLAYER and body_arm_info=0 |
357 | |
357 | |