ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra/Data.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra/Data.pm (file contents):
Revision 1.6 by root, Thu Mar 9 19:09:48 2006 UTC vs.
Revision 1.7 by root, Sun Mar 12 23:21:11 2006 UTC

246 'invisible' 246 'invisible'
247 ] 247 ]
248); 248);
249 249
250our %DEFAULT_ATTR = ( 250our %DEFAULT_ATTR = (
251 attr => { 251 attr => [
252 blocksview => { 252 [
253 desc => 'If an item is set to block view, players (and monsters) cannot see byond it unless they cross it or manage to stand ontop.', 253 'name',
254 name => 'block view', 254 {
255 type => 'bool'
256 },
257 face => {
258 desc => 'The image-name defines what image is displayed for this object in-game.',
259 name => 'image',
260 type => 'string'
261 },
262 glow_radius => {
263 desc => 'If <glow radius> is set to a value greater zero, the object appears lit up on dark maps. <glow radius> can be a value between 0 and 4, the higher, the more light does the object emmit.',
264 name => 'glow radius',
265 type => 'int'
266 },
267 identified => {
268 desc => 'If an item is identified, the player has full knowledge about it.',
269 name => 'identified',
270 type => 'bool'
271 },
272 invisible => {
273 desc => 'Generally makes the object invisible. Depending on the object-type, some can be made visible by the show_invisible spell. If in doubt, test it. Putting an invisible object under the floor always prevents it from being shown.',
274 name => 'invisible',
275 type => 'bool'
276 },
277 material => {
278 desc => 'This bitmask-value informs the player of which material(s) the object consists. Material does also affect how likely the object can be destroyed by hazardous spell-effects.',
279 name => 'material',
280 type => 'bitmask',
281 value => $BITMASK{material}
282 },
283 name => {
284 desc => 'This is the name of the object, displayed to the player.', 255 desc => 'This is the name of the object, displayed to the player.',
285 name => 'name', 256 name => 'name',
286 type => 'string' 257 type => 'string'
258 }
287 }, 259 ],
288 name_pl => { 260 [
261 'name_pl',
262 {
289 desc => 'This is the plural name of the object. A plural name must be set for all items that can be picked up and collected by the player.', 263 desc => 'This is the plural name of the object. A plural name must be set for all items that can be picked up and collected by the player.',
290 name => 'plural name', 264 name => 'plural name',
291 type => 'string' 265 type => 'string'
266 }
292 }, 267 ],
293 no_pick => { 268 [
294 desc => 'If set, the object cannot be picked up (Neither by players nor monsters).', 269 'title',
295 name => 'non-pickable', 270 {
296 type => 'bool'
297 },
298 nrof => {
299 desc => 'This value determines the number of objects in one stack (for example: 100 goldcoins => "number = 100"). You should set this at least to one, for any pickable object - otherwise it won\'t be mergeable into a stack.',
300 name => 'number',
301 type => 'int'
302 },
303 title => {
304 desc => 'This is the object\'s title. Once an object is identified the title is attached to the name. Typical titels are "of mostrai", "of xray vision" etc.', 271 desc => 'This is the object\'s title. Once an object is identified the title is attached to the name. Typical titels are "of mostrai", "of xray vision" etc.',
305 name => 'title', 272 name => 'title',
306 type => 'string' 273 type => 'string'
274 }
307 }, 275 ],
308 unpaid => { 276 [
309 desc => 'An <unpaid> item cannot be used unless a player carried it over a shop mat, paying the demanded price. Setting this flag makes sense only for pickable items inside shops.', 277 'face',
310 name => 'unpaid', 278 {
311 type => 'bool' 279 desc => 'The image-name defines what image is displayed for this object in-game.',
280 name => 'image',
281 type => 'string'
282 }
312 }, 283 ],
313 value => { 284 [
314 desc => 'Adds a certain value to the object: It will be worth that many times the default value from it\'s archetype (E.g. "value = 3" means three times worth the default value). Value for buying/selling will be further modified by various factors. Hence, testing values in-game is usually inevitable.', 285 'nrof',
315 name => 'value', 286 {
287 desc => 'This value determines the number of objects in one stack (for example: 100 goldcoins => "number = 100"). You should set this at least to one, for any pickable object - otherwise it won\'t be mergeable into a stack.',
288 name => 'number',
316 type => 'int' 289 type => 'int'
290 }
317 }, 291 ],
318 weight => { 292 [
293 'weight',
294 {
319 desc => 'This value defines the object\'s weight in gramm (1000g is 1kg). Objects with zero weight are not pickable for players. Still, set the "non-pickable"-flag for explicitly non-pickable objects (hey, this is opensource.. you never know ;) ).', 295 desc => 'This value defines the object\'s weight in gramm (1000g is 1kg). Objects with zero weight are not pickable for players. Still, set the "non-pickable"-flag for explicitly non-pickable objects (hey, this is opensource.. you never know ;) ).',
320 name => 'weight', 296 name => 'weight',
321 type => 'int' 297 type => 'int'
322 } 298 }
323 } 299 ],
300 [
301 'value',
302 {
303 desc => 'Adds a certain value to the object: It will be worth that many times the default value from it\'s archetype (E.g. "value = 3" means three times worth the default value). Value for buying/selling will be further modified by various factors. Hence, testing values in-game is usually inevitable.',
304 name => 'value',
305 type => 'int'
306 }
307 ],
308 [
309 'glow_radius',
310 {
311 desc => 'If <glow radius> is set to a value greater zero, the object appears lit up on dark maps. <glow radius> can be a value between 0 and 4, the higher, the more light does the object emmit.',
312 name => 'glow radius',
313 type => 'int'
314 }
315 ],
316 [
317 'material',
318 {
319 desc => 'This bitmask-value informs the player of which material(s) the object consists. Material does also affect how likely the object can be destroyed by hazardous spell-effects.',
320 name => 'material',
321 type => 'bitmask',
322 value => $BITMASK{material}
323 }
324 ],
325 [
326 'no_pick',
327 {
328 desc => 'If set, the object cannot be picked up (Neither by players nor monsters).',
329 name => 'non-pickable',
330 type => 'bool'
331 }
332 ],
333 [
334 'invisible',
335 {
336 desc => 'Generally makes the object invisible. Depending on the object-type, some can be made visible by the show_invisible spell. If in doubt, test it. Putting an invisible object under the floor always prevents it from being shown.',
337 name => 'invisible',
338 type => 'bool'
339 }
340 ],
341 [
342 'blocksview',
343 {
344 desc => 'If an item is set to block view, players (and monsters) cannot see byond it unless they cross it or manage to stand ontop.',
345 name => 'block view',
346 type => 'bool'
347 }
348 ],
349 [
350 'identified',
351 {
352 desc => 'If an item is identified, the player has full knowledge about it.',
353 name => 'identified',
354 type => 'bool'
355 }
356 ],
357 [
358 'unpaid',
359 {
360 desc => 'An <unpaid> item cannot be used unless a player carried it over a shop mat, paying the demanded price. Setting this flag makes sense only for pickable items inside shops.',
361 name => 'unpaid',
362 type => 'bool'
363 }
364 ]
365 ]
324); 366);
325 367
326our %TYPE = ( 368our %TYPE = (
327 Ability => { 369 Ability => {
328 attr => { 370 attr => [
329 attacktype => { 371 [
330 desc => 'This flag specifies wether the ability <is magical> in nature. If enabled, all spells produced by this ability will have magic attacktype added to the usual attacktypes. This should always be set for spell-like abilities. "Natural" abilities like a dragon\'s firebreath are an exception. Note that non-magical abilities are more dangerous because magic resistance does not protect from those.', 372 'invisible',
331 name => 'is magical', 373 {
332 type => 'bool', 374 type => 'fixed',
333 value => [ 375 value => 1
334 0, 376 }
335 2
336 ]
337 }, 377 ],
338 hp => { 378 [
379 'no_drop',
380 {
381 type => 'fixed',
382 value => 1
383 }
384 ],
385 [
386 'sp',
387 {
388 desc => 'The monster will use the specified <short range spell> when the player is within 6-square radius (of the monster\'s head).',
389 name => 'short range spell',
390 type => 'spell'
391 }
392 ],
393 [
394 'hp',
395 {
339 desc => 'The monster will use the specified <long range spell> when the player is at least 6 squares away (from the monster\'s head). Setting a <long range spell> is optional. If unset, the <short range spell> gets used all the time.', 396 desc => 'The monster will use the specified <long range spell> when the player is at least 6 squares away (from the monster\'s head). Setting a <long range spell> is optional. If unset, the <short range spell> gets used all the time.',
340 name => 'long range spell', 397 name => 'long range spell',
341 type => 'nz_spell' 398 type => 'nz_spell'
399 }
342 }, 400 ],
343 invisible => {
344 type => 'fixed',
345 value => 1
346 }, 401 [
347 maxsp => { 402 'maxsp',
403 {
348 desc => 'Sometimes you\'ll want a monster to use one ability more than others. To achieve this, set the <importance> to a value greater than one. Abilities with this value zero/unset are counted to be of <importance> one. Example: A monster with "small fireball" of <importance> 3 and "paralyze" of <importance> 1 will averagely cast three out of four times the "small fireball".', 404 desc => 'Sometimes you\'ll want a monster to use one ability more than others. To achieve this, set the <importance> to a value greater than one. Abilities with this value zero/unset are counted to be of <importance> one. Example: A monster with "small fireball" of <importance> 3 and "paralyze" of <importance> 1 will averagely cast three out of four times the "small fireball".',
349 name => 'importance', 405 name => 'importance',
350 type => 'int' 406 type => 'int'
407 }
351 }, 408 ],
352 no_drop => {
353 type => 'fixed',
354 value => 1
355 },
356 sp => {
357 desc => 'The monster will use the specified <short range spell> when the player is within 6-square radius (of the monster\'s head).',
358 name => 'short range spell',
359 type => 'spell'
360 } 409 [
410 'attacktype',
411 {
412 desc => 'This flag specifies wether the ability <is magical> in nature. If enabled, all spells produced by this ability will have magic attacktype added to the usual attacktypes. This should always be set for spell-like abilities. "Natural" abilities like a dragon\'s firebreath are an exception. Note that non-magical abilities are more dangerous because magic resistance does not protect from those.',
413 name => 'is magical',
414 type => 'bool',
415 value => [
416 0,
417 2
418 ]
419 }
420 ]
361 }, 421 ],
362 desc => 'Abilities are to be put in a monster\'s inventory. They grant monsters the knowledge to cast spells. Spells from abilities are usually magical in nature, thus adding magic attacktype to the spell-damage they produce. <br><br> A particularly nice feature of abilities is that they can hold two spells: One for short range- and one for long range use. \\n\\n You should know that spellcasting monsters receive abilities via &lt;treasurelist&gt;.', 422 desc => 'Abilities are to be put in a monster\'s inventory. They grant monsters the knowledge to cast spells. Spells from abilities are usually magical in nature, thus adding magic attacktype to the spell-damage they produce. <br><br> A particularly nice feature of abilities is that they can hold two spells: One for short range- and one for long range use. \\n\\n You should know that spellcasting monsters receive abilities via &lt;treasurelist&gt;.',
363 ignore => [ 423 ignore => [
364 $IGNORE_LIST{system_object} 424 $IGNORE_LIST{system_object}
365 ], 425 ],
366 name => 'Ability', 426 name => 'Ability',
367 use => 'If you want to create "customized" spellcasting monsters, you should use abilities (rather than spellbooks/wands or something). The long/short-range spell feature can make boss-monsters more interesting and challenging. <br><br> You should keep in mind that magic abilities allow players to get better resistance. You can turn off the magic part to make the spells more dangerous. However, this really shouldn\'t be neccessary unless you work on very high level maps. And what fun is a magic resistance cloak when it has no effect?' 427 use => 'If you want to create "customized" spellcasting monsters, you should use abilities (rather than spellbooks/wands or something). The long/short-range spell feature can make boss-monsters more interesting and challenging. <br><br> You should keep in mind that magic abilities allow players to get better resistance. You can turn off the magic part to make the spells more dangerous. However, this really shouldn\'t be neccessary unless you work on very high level maps. And what fun is a magic resistance cloak when it has no effect?'
368 }, 428 },
369 Altar => { 429 Altar => {
370 attr => { 430 attr => [
371 connected => { 431 [
432 'no_pick',
433 {
434 type => 'fixed',
435 value => 1
436 }
437 ],
438 [
439 'walk_on',
440 {
441 type => 'fixed',
442 value => 1
443 }
444 ],
445 [
446 'slaying',
447 {
448 desc => 'This string specifies the item that must be put on the altar to activate it. It can either be the name of an archetype, or directly the name of an object. Yet, titles are not recognized by altars. Remember to put a note somewhere, telling the player what he is expected to drop on the altar. (Often this is put in the altar\'s name: E.g. "drop 100 platinums")',
449 name => 'match item name',
450 type => 'string'
451 }
452 ],
453 [
454 'food',
455 {
456 desc => 'The drop amount specifies the amount of items (specified in <match item name>) that must be dropped to activate the altar. If <match item name> is set to "money", then the value of the sacrificed money must be equal to <drop amount> (ie, if food=200, then 200 silver, 20 gold, or 4 platinum will all work.) Note that the maximum possible for <drop amount> is 32767.',
457 name => 'drop amount',
458 type => 'int'
459 }
460 ],
461 [
462 'connected',
463 {
372 desc => 'If a connection value is set, the altar will trigger all objects with the same value, when activated. This will only work once.', 464 desc => 'If a connection value is set, the altar will trigger all objects with the same value, when activated. This will only work once.',
373 name => 'connection', 465 name => 'connection',
374 type => 'int' 466 type => 'int'
467 }
375 }, 468 ],
376 food => { 469 [
377 desc => 'The drop amount specifies the amount of items (specified in <match item name>) that must be dropped to activate the altar. If <match item name> is set to "money", then the value of the sacrificed money must be equal to <drop amount> (ie, if food=200, then 200 silver, 20 gold, or 4 platinum will all work.) Note that the maximum possible for <drop amount> is 32767.', 470 'sp',
378 name => 'drop amount', 471 {
379 type => 'int' 472 desc => 'When activated, the selected <spell> will be casted (once, on the player). This should work for any given spell. The altar will work infinitly in this way. Don\'t set both <spell> and <connection> for one altar.',
473 name => 'spell',
474 type => 'spell'
475 }
380 }, 476 ],
381 msg => { 477 [
478 'msg',
479 {
382 desc => 'This text will be displayed to the player in the exact moment when the altar is activated.', 480 desc => 'This text will be displayed to the player in the exact moment when the altar is activated.',
383 end => 'endmsg', 481 end => 'endmsg',
384 name => 'message', 482 name => 'message',
385 type => 'text' 483 type => 'text'
386 }, 484 }
387 no_pick => {
388 type => 'fixed',
389 value => 1
390 },
391 slaying => {
392 desc => 'This string specifies the item that must be put on the altar to activate it. It can either be the name of an archetype, or directly the name of an object. Yet, titles are not recognized by altars. Remember to put a note somewhere, telling the player what he is expected to drop on the altar. (Often this is put in the altar\'s name: E.g. "drop 100 platinums")',
393 name => 'match item name',
394 type => 'string'
395 },
396 sp => {
397 desc => 'When activated, the selected <spell> will be casted (once, on the player). This should work for any given spell. The altar will work infinitly in this way. Don\'t set both <spell> and <connection> for one altar.',
398 name => 'spell',
399 type => 'spell'
400 },
401 walk_on => {
402 type => 'fixed',
403 value => 1
404 } 485 ]
405 }, 486 ],
406 desc => 'When a player puts a defined number of certain items on the altar, then either a spell is casted (on the player) or a connector is triggered. If the latter is the case, the altar works only once. Either way, the sacrificed item dissapears.', 487 desc => 'When a player puts a defined number of certain items on the altar, then either a spell is casted (on the player) or a connector is triggered. If the latter is the case, the altar works only once. Either way, the sacrificed item dissapears.',
407 ignore => [ 488 ignore => [
408 $IGNORE_LIST{non_pickable} 489 $IGNORE_LIST{non_pickable}
409 ], 490 ],
410 name => 'Altar' 491 name => 'Altar'
411 }, 492 },
412 'Altar Trigger' => { 493 'Altar Trigger' => {
413 attr => { 494 attr => [
414 connected => { 495 [
496 'no_pick',
497 {
498 type => 'fixed',
499 value => 1
500 }
501 ],
502 [
503 'slaying',
504 {
505 desc => 'This string specifies the item that must be put on the altar to activate it. It can either be the name of an archetype, or directly the name of an object. Yet, titles are not recognized by altars. Remember to put a note somewhere, telling the player what he is expected to drop on the altar. (Often this is put in the altar\'s name: E.g. "drop 100 platinums")',
506 name => 'match item name',
507 type => 'string'
508 }
509 ],
510 [
511 'food',
512 {
513 desc => 'The drop amount specifies the amount of items (specified in <match item name>) that must be dropped to activate the altar. If <match item name> is set to "money", then the value of the sacrificed money must be equal to <drop amount> (ie, if food=200, then 200 silver, 20 gold, or 4 platinum will all work.) Note that the maximum possible for <drop amount> is 32767.',
514 name => 'drop amount',
515 type => 'int'
516 }
517 ],
518 [
519 'connected',
520 {
415 desc => 'If a connection value is set, the altar will trigger all objects with the same value, when activated. This will only work once.', 521 desc => 'If a connection value is set, the altar will trigger all objects with the same value, when activated. This will only work once.',
416 name => 'connection', 522 name => 'connection',
417 type => 'int' 523 type => 'int'
524 }
418 }, 525 ],
419 exp => { 526 [
527 'sp',
528 {
529 desc => 'When activated, this <spell> will be casted (once, on the player). This should work for any given spell. The altar will work infinitly in this way. Don\'t set both <spell> and <connection> for one altar.',
530 name => 'spell',
531 type => 'spell'
532 }
533 ],
534 [
535 'exp',
536 {
420 desc => 'Being activated, the altar will reset after <reset time> ticks. After reset, the altar is ready to be activated once again. The default <reset time> is 30.', 537 desc => 'Being activated, the altar will reset after <reset time> ticks. After reset, the altar is ready to be activated once again. The default <reset time> is 30.',
421 name => 'reset time', 538 name => 'reset time',
422 type => 'int' 539 type => 'int'
540 }
423 }, 541 ],
424 food => {
425 desc => 'The drop amount specifies the amount of items (specified in <match item name>) that must be dropped to activate the altar. If <match item name> is set to "money", then the value of the sacrificed money must be equal to <drop amount> (ie, if food=200, then 200 silver, 20 gold, or 4 platinum will all work.) Note that the maximum possible for <drop amount> is 32767.',
426 name => 'drop amount',
427 type => 'int'
428 }, 542 [
429 last_sp => { 543 'last_sp',
544 {
430 desc => 'If this attribute is enabled, the altar_trigger won\'t push the connected value by altar reset. Only ONCE by dropping the sacrifice. This is typically used when the altar is connected to a creator, e.g. for selling tickets. If this attribute is disabled (default), the altar_trigger will push the connected value TWICE per sacrifice: First by dropping sacrifice, second by reset. This mode is typically used for altars being connected to gates, resulting in the gate being opened and closed again.', 545 desc => 'If this attribute is enabled, the altar_trigger won\'t push the connected value by altar reset. Only ONCE by dropping the sacrifice. This is typically used when the altar is connected to a creator, e.g. for selling tickets. If this attribute is disabled (default), the altar_trigger will push the connected value TWICE per sacrifice: First by dropping sacrifice, second by reset. This mode is typically used for altars being connected to gates, resulting in the gate being opened and closed again.',
431 name => 'ignore reset', 546 name => 'ignore reset',
432 type => 'bool' 547 type => 'bool'
548 }
433 }, 549 ],
434 msg => { 550 [
551 'walk_on',
552 {
553 type => 'fixed',
554 value => 1
555 }
556 ],
557 [
558 'msg',
559 {
435 desc => 'This text will be displayed to the player in the exact moment when the altar is activated.', 560 desc => 'This text will be displayed to the player in the exact moment when the altar is activated.',
436 end => 'endmsg', 561 end => 'endmsg',
437 name => 'message', 562 name => 'message',
438 type => 'text' 563 type => 'text'
439 }, 564 }
440 no_pick => {
441 type => 'fixed',
442 value => 1
443 },
444 slaying => {
445 desc => 'This string specifies the item that must be put on the altar to activate it. It can either be the name of an archetype, or directly the name of an object. Yet, titles are not recognized by altars. Remember to put a note somewhere, telling the player what he is expected to drop on the altar. (Often this is put in the altar\'s name: E.g. "drop 100 platinums")',
446 name => 'match item name',
447 type => 'string'
448 },
449 sp => {
450 desc => 'When activated, this <spell> will be casted (once, on the player). This should work for any given spell. The altar will work infinitly in this way. Don\'t set both <spell> and <connection> for one altar.',
451 name => 'spell',
452 type => 'spell'
453 },
454 walk_on => {
455 type => 'fixed',
456 value => 1
457 } 565 ]
458 }, 566 ],
459 desc => 'Altar_triggers work pretty much like normal altars (drop sacrifice -> connection activated), except for the fact that they reset after usage. Hence, altar_triggers can be used infinitly.', 567 desc => 'Altar_triggers work pretty much like normal altars (drop sacrifice -> connection activated), except for the fact that they reset after usage. Hence, altar_triggers can be used infinitly.',
460 ignore => [ 568 ignore => [
461 $IGNORE_LIST{non_pickable} 569 $IGNORE_LIST{non_pickable}
462 ], 570 ],
463 name => 'Altar Trigger', 571 name => 'Altar Trigger',
464 use => 'Altar_triggers are very useful if you want to charge a price for... <UL> <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator. <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate. <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth. </UL> The big advantage over normal altars is the infinite usability of altar_triggers! If there are ten players on one server, they\'re quite grateful if things work more than once. =)' 572 use => 'Altar_triggers are very useful if you want to charge a price for... <UL> <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator. <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate. <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth. </UL> The big advantage over normal altars is the infinite usability of altar_triggers! If there are ten players on one server, they\'re quite grateful if things work more than once. =)'
465 }, 573 },
466 Amulet => { 574 Amulet => {
467 attr => { 575 attr => [
468 ac => { 576 [
577 'ac',
578 {
469 desc => 'This value defines the amount of armour-class bonus for wearing this item. <Armour class> lessens the chance of being hit. Lower values are better. It should usually be set only for armour-like equipment.', 579 desc => 'This value defines the amount of armour-class bonus for wearing this item. <Armour class> lessens the chance of being hit. Lower values are better. It should usually be set only for armour-like equipment.',
470 name => 'armour class', 580 name => 'armour class',
471 type => 'int' 581 type => 'int'
582 }
472 }, 583 ],
473 applied => { 584 [
474 desc => 'If you put this item into the inventory of a monster, and you want the monster to use/wear the item - you must set <is applied>. Enabling this flag doesn\'t make any sense if the item is NOT in a monster\'s inventory.', 585 'wc',
475 name => 'is applied', 586 {
476 type => 'bool' 587 desc => 'The <weapon class> value adds to the overall weapon class of the wielder\'s melee attacks. Weapon class improves the chance of hitting the opponent. Weapon class is the "counterpiece" of <armour class>. It should usually be set only for weapon-like items. Lower values are better.',
588 name => 'weapon class',
589 type => 'int'
590 }
477 }, 591 ],
478 cursed => { 592 [
479 desc => 'A cursed piece of equipment cannot be unwielded unless the curse is removed.', 593 'item_power',
480 name => 'curse', 594 {
481 type => 'bool' 595 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.',
596 name => 'item power',
597 type => 'int'
598 }
482 }, 599 ],
483 damned => { 600 [
601 'damned',
602 {
484 desc => 'A damned piece of equipment cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.', 603 desc => 'A damned piece of equipment cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.',
485 name => 'damnation', 604 name => 'damnation',
486 type => 'bool' 605 type => 'bool'
606 }
487 }, 607 ],
488 item_power => { 608 [
489 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.', 609 'cursed',
490 name => 'item power', 610 {
491 type => 'int' 611 desc => 'A cursed piece of equipment cannot be unwielded unless the curse is removed.',
612 name => 'curse',
613 type => 'bool'
614 }
492 }, 615 ],
493 lifesave => { 616 [
617 'lifesave',
618 {
494 desc => 'An item with this flag enabled will save the players life for one time: When the player is wearing this item and his healthpoints reach zero, the item dissapears, replenishing half of the player\'s health. An item with <save life> should not have any decent additional bonuses!', 619 desc => 'An item with this flag enabled will save the players life for one time: When the player is wearing this item and his healthpoints reach zero, the item dissapears, replenishing half of the player\'s health. An item with <save life> should not have any decent additional bonuses!',
495 name => 'save life', 620 name => 'save life',
496 type => 'bool' 621 type => 'bool'
622 }
497 }, 623 ],
498 msg => {
499 desc => 'This text describes the item\'s "story". Every decent artifact should have such a description.',
500 end => 'endmsg',
501 name => 'description',
502 type => 'text'
503 }, 624 [
504 startequip => { 625 'unique',
505 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 626 {
506 name => 'godgiven item',
507 type => 'bool'
508 },
509 unique => {
510 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.', 627 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
511 name => 'unique item', 628 name => 'unique item',
512 type => 'bool' 629 type => 'bool'
630 }
513 }, 631 ],
514 wc => {
515 desc => 'The <weapon class> value adds to the overall weapon class of the wielder\'s melee attacks. Weapon class improves the chance of hitting the opponent. Weapon class is the "counterpiece" of <armour class>. It should usually be set only for weapon-like items. Lower values are better.',
516 name => 'weapon class',
517 type => 'int'
518 } 632 [
633 'startequip',
634 {
635 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
636 name => 'godgiven item',
637 type => 'bool'
638 }
639 ],
640 [
641 'applied',
642 {
643 desc => 'If you put this item into the inventory of a monster, and you want the monster to use/wear the item - you must set <is applied>. Enabling this flag doesn\'t make any sense if the item is NOT in a monster\'s inventory.',
644 name => 'is applied',
645 type => 'bool'
646 }
647 ],
648 [
649 'msg',
650 {
651 desc => 'This text describes the item\'s "story". Every decent artifact should have such a description.',
652 end => 'endmsg',
653 name => 'description',
654 type => 'text'
655 }
656 ]
519 }, 657 ],
520 desc => 'Wearing an amulet, the object\'s stats will directly be inherited to the player. Amulets are usually meant for protection and defense.', 658 desc => 'Wearing an amulet, the object\'s stats will directly be inherited to the player. Amulets are usually meant for protection and defense.',
521 name => 'Amulet', 659 name => 'Amulet',
522 section => [ 660 section => [
523 [ 661 [
524 'resistance', 662 'resistance',
525 { 663 [
526 resist_acid => { 664 [
665 'resist_physical',
666 {
527 desc => 'This adds acid resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 667 desc => 'This adds physical resistance to the item (= armour value). The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
528 name => 'resist acid %', 668 name => 'resist physical %',
529 type => 'int' 669 type => 'int'
670 }
530 }, 671 ],
531 resist_blind => { 672 [
673 'resist_magic',
674 {
532 desc => 'This adds blinding resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 675 desc => 'This adds magic resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
533 name => 'resist blinding %', 676 name => 'resist magic %',
534 type => 'int' 677 type => 'int'
678 }
535 }, 679 ],
536 resist_chaos => { 680 [
537 desc => 'This adds chaos resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact. Note that chaos is not a stand-alone attacktype. Chaos "contains" a combination of other attacktypes.', 681 'resist_fire',
538 name => 'resist chaos %', 682 {
539 type => 'int'
540 },
541 resist_cold => {
542 desc => 'This adds fire resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 683 desc => 'This adds fire resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
684 name => 'resist fire %',
685 type => 'int'
686 }
687 ],
688 [
689 'resist_electricity',
690 {
691 desc => 'This adds electricity resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
692 name => 'resist electricity %',
693 type => 'int'
694 }
695 ],
696 [
697 'resist_cold',
698 {
699 desc => 'This adds fire resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
543 name => 'resist cold %', 700 name => 'resist cold %',
544 type => 'int' 701 type => 'int'
702 }
545 }, 703 ],
704 [
546 resist_confusion => { 705 'resist_confusion',
706 {
547 desc => 'This adds confusion resistance to the item. The number is a percent-value in the range 0-100. Confusion resistance is not very effective unless the value comes close to 100 (= perfect immunity).', 707 desc => 'This adds confusion resistance to the item. The number is a percent-value in the range 0-100. Confusion resistance is not very effective unless the value comes close to 100 (= perfect immunity).',
548 name => 'resist confusion %', 708 name => 'resist confusion %',
549 type => 'int' 709 type => 'int'
710 }
550 }, 711 ],
551 resist_death => { 712 [
552 desc => 'This adds death-attack resistance to the item. The number is a percent-value in the range 0-100. Death-attack resistance is little effective unless the value is 100 (= perfect immunity). Generally, resistance to death-attack is not supposed to be available to players!', 713 'resist_acid',
714 {
715 desc => 'This adds acid resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
553 name => 'resist death-attack %', 716 name => 'resist acid %',
554 type => 'int' 717 type => 'int'
718 }
555 }, 719 ],
720 [
721 'resist_drain',
722 {
723 desc => 'This adds draining resistance to the item. The number is a percent-value in the range 0-100. Draining resistance is little effective unless the value is 100 (= perfect immunity).',
724 name => 'resist draining %',
725 type => 'int'
726 }
727 ],
728 [
729 'resist_weaponmagic',
730 {
731 desc => 'This adds weaponmagic resistance to the item. The number is a percent-value in the range 0-100. Weaponmagic resistance generally should not exist on equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell) are not meant to be easily resisted.',
732 name => 'resist weaponmagic %',
733 type => 'int'
734 }
735 ],
736 [
737 'resist_ghosthit',
738 {
739 desc => 'This adds ghosthit resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
740 name => 'resist ghosthit %',
741 type => 'int'
742 }
743 ],
744 [
745 'resist_poison',
746 {
747 desc => 'This adds poison resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
748 name => 'resist poison %',
749 type => 'int'
750 }
751 ],
752 [
753 'resist_slow',
754 {
755 desc => 'This adds fear resistance to the item. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.',
756 name => 'resist slow %',
757 type => 'int'
758 }
759 ],
760 [
761 'resist_paralyze',
762 {
763 desc => 'This adds paralyze resistance to the item. The number is a percent-value in the range 0-100. Paralyze resistance is little effective unless the value is 100 (= perfect immunity).',
764 name => 'resist paralyze %',
765 type => 'int'
766 }
767 ],
768 [
769 'resist_fear',
770 {
771 desc => 'This adds fear resistance to the item. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.',
772 name => 'resist fear %',
773 type => 'int'
774 }
775 ],
776 [
556 resist_deplete => { 777 'resist_deplete',
778 {
557 desc => 'This adds depletion resistance to the item. The number is a percent-value in the range 0-100. Depletion resistance is little effective unless the value is 100 (= perfect immunity).', 779 desc => 'This adds depletion resistance to the item. The number is a percent-value in the range 0-100. Depletion resistance is little effective unless the value is 100 (= perfect immunity).',
558 name => 'resist depletion %', 780 name => 'resist depletion %',
559 type => 'int' 781 type => 'int'
782 }
560 }, 783 ],
561 resist_drain => { 784 [
562 desc => 'This adds draining resistance to the item. The number is a percent-value in the range 0-100. Draining resistance is little effective unless the value is 100 (= perfect immunity).', 785 'resist_death',
786 {
787 desc => 'This adds death-attack resistance to the item. The number is a percent-value in the range 0-100. Death-attack resistance is little effective unless the value is 100 (= perfect immunity). Generally, resistance to death-attack is not supposed to be available to players!',
563 name => 'resist draining %', 788 name => 'resist death-attack %',
564 type => 'int' 789 type => 'int'
790 }
565 }, 791 ],
566 resist_electricity => { 792 [
567 desc => 'This adds electricity resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 793 'resist_chaos',
794 {
795 desc => 'This adds chaos resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact. Note that chaos is not a stand-alone attacktype. Chaos "contains" a combination of other attacktypes.',
568 name => 'resist electricity %', 796 name => 'resist chaos %',
569 type => 'int' 797 type => 'int'
798 }
570 }, 799 ],
571 resist_fear => { 800 [
572 desc => 'This adds fear resistance to the item. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.', 801 'resist_blind',
802 {
803 desc => 'This adds blinding resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
573 name => 'resist fear %', 804 name => 'resist blinding %',
574 type => 'int' 805 type => 'int'
806 }
575 }, 807 ],
576 resist_fire => { 808 [
577 desc => 'This adds fire resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
578 name => 'resist fire %',
579 type => 'int'
580 },
581 resist_ghosthit => {
582 desc => 'This adds ghosthit resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
583 name => 'resist ghosthit %',
584 type => 'int'
585 },
586 resist_holyword => { 809 'resist_holyword',
810 {
587 desc => 'This adds holy power resistance to the item. The number is a percent-value in the range 0-100. Holy power is the attacktype that holyword-type spells use to hurt undead creatures. This kind of resistance is only reasonable for undead players (wraith or devourer cult). Generally, resistance to holy word should not be available for players.', 811 desc => 'This adds holy power resistance to the item. The number is a percent-value in the range 0-100. Holy power is the attacktype that holyword-type spells use to hurt undead creatures. This kind of resistance is only reasonable for undead players (wraith or devourer cult). Generally, resistance to holy word should not be available for players.',
588 name => 'resist holy power %', 812 name => 'resist holy power %',
589 type => 'int' 813 type => 'int'
590 },
591 resist_magic => {
592 desc => 'This adds magic resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
593 name => 'resist magic %',
594 type => 'int'
595 },
596 resist_paralyze => {
597 desc => 'This adds paralyze resistance to the item. The number is a percent-value in the range 0-100. Paralyze resistance is little effective unless the value is 100 (= perfect immunity).',
598 name => 'resist paralyze %',
599 type => 'int'
600 },
601 resist_physical => {
602 desc => 'This adds physical resistance to the item (= armour value). The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
603 name => 'resist physical %',
604 type => 'int'
605 },
606 resist_poison => {
607 desc => 'This adds poison resistance to the item. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
608 name => 'resist poison %',
609 type => 'int'
610 },
611 resist_slow => {
612 desc => 'This adds fear resistance to the item. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.',
613 name => 'resist slow %',
614 type => 'int'
615 },
616 resist_weaponmagic => {
617 desc => 'This adds weaponmagic resistance to the item. The number is a percent-value in the range 0-100. Weaponmagic resistance generally should not exist on equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell) are not meant to be easily resisted.',
618 name => 'resist weaponmagic %',
619 type => 'int'
620 } 814 }
621 } 815 ]
816 ]
622 ], 817 ],
623 [ 818 [
624 'stats', 819 'stats',
625 { 820 [
626 Cha => { 821 [
822 'Str',
823 {
627 desc => 'The player\'s charisma will rise/fall by the given value while wearing this piece of equipment.', 824 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this piece of equipment.',
628 name => 'charisma', 825 name => 'strength',
629 type => 'int' 826 type => 'int'
827 }
630 }, 828 ],
631 Con => { 829 [
830 'Dex',
831 {
832 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this piece of equipment.',
833 name => 'dexterity',
834 type => 'int'
835 }
836 ],
837 [
838 'Con',
839 {
632 desc => 'The player\'s constitution will rise/fall by the given value while wearing this piece of equipment.', 840 desc => 'The player\'s constitution will rise/fall by the given value while wearing this piece of equipment.',
633 name => 'constitution', 841 name => 'constitution',
634 type => 'int' 842 type => 'int'
843 }
635 }, 844 ],
636 Dex => { 845 [
637 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this piece of equipment.', 846 'Int',
638 name => 'dexterity', 847 {
639 type => 'int'
640 },
641 Int => {
642 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this piece of equipment.', 848 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this piece of equipment.',
643 name => 'intelligence', 849 name => 'intelligence',
644 type => 'int' 850 type => 'int'
851 }
645 }, 852 ],
646 Pow => { 853 [
854 'Pow',
855 {
647 desc => 'The player\'s power will rise/fall by the given value while wearing this piece of equipment.', 856 desc => 'The player\'s power will rise/fall by the given value while wearing this piece of equipment.',
648 name => 'power', 857 name => 'power',
649 type => 'int' 858 type => 'int'
859 }
650 }, 860 ],
651 Str => { 861 [
652 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this piece of equipment.', 862 'Wis',
653 name => 'strength', 863 {
654 type => 'int'
655 },
656 Wis => {
657 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this piece of equipment.', 864 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this piece of equipment.',
658 name => 'wisdom', 865 name => 'wisdom',
659 type => 'int' 866 type => 'int'
660 } 867 }
661 } 868 ],
869 [
870 'Cha',
871 {
872 desc => 'The player\'s charisma will rise/fall by the given value while wearing this piece of equipment.',
873 name => 'charisma',
874 type => 'int'
875 }
876 ]
877 ]
662 ], 878 ],
663 [ 879 [
664 'misc', 880 'misc',
665 { 881 [
666 flying => { 882 [
667 desc => 'As soon as the player applies a piece of equipment with <levitate> set, the player will start to float in the air.', 883 'luck',
668 name => 'levitate', 884 {
669 type => 'bool' 885 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.',
670 },
671 food => {
672 desc => 'Positive <food bonus> slows down the player\'s digestion, thus he consumes less food. Negative values speed it up. Note that food is consumed not only for "being alive", but also for healing and mana-regeneration. <food bonus> only affects the amount of food consumed for "being alive". Hence, even with high <food bonus>, during a fight a player can run out of food quickly.',
673 name => 'food bonus', 886 name => 'luck bonus',
674 type => 'int' 887 type => 'int'
888 }
675 }, 889 ],
676 grace => { 890 [
677 desc => 'Positive <grace regen.> bonus speeds up the player\'s grace regeneration. Negative values slow it down. Since grace can be regenerated rather easy with praying, additional <grace regen.> bonus should be VERY RARE!!', 891 'hp',
678 name => 'grace regen.', 892 {
679 type => 'int'
680 },
681 hp => {
682 desc => 'Positive <health regen.> bonus speeds up the player\'s healing process. Negative values slow it down.', 893 desc => 'Positive <health regen.> bonus speeds up the player\'s healing process. Negative values slow it down.',
683 name => 'health regen.', 894 name => 'health regen.',
684 type => 'int' 895 type => 'int'
896 }
685 }, 897 ],
686 luck => { 898 [
687 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.', 899 'sp',
688 name => 'luck bonus', 900 {
689 type => 'int'
690 },
691 path_attuned => {
692 desc => 'Click on the <attuned paths> button to select spellpaths. The player will get attuned to the specified spellpaths while wearing this item.',
693 name => 'attuned paths',
694 type => 'bitmask',
695 value => $BITMASK{spellpath}
696 },
697 path_denied => {
698 desc => 'Click on the <denied paths> button to select spellpaths. The specified spellpaths will be denied to the player while wearing this item.',
699 name => 'denied paths',
700 type => 'bitmask',
701 value => $BITMASK{spellpath}
702 },
703 path_repelled => {
704 desc => 'Click on the <repelled paths> button to select spellpaths. The player will get repelled to the specified spellpaths while wearing this item.',
705 name => 'repelled paths',
706 type => 'bitmask',
707 value => $BITMASK{spellpath}
708 },
709 reflect_missile => {
710 desc => 'If a player is wearing any piece of equipment with the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks.',
711 name => 'reflect missiles',
712 type => 'bool'
713 },
714 reflect_spell => {
715 desc => 'If a player is wearing any piece of equipment with the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks. This is a very powerful ability and it shouldn\'t be handed out cheap!',
716 name => 'reflect spells',
717 type => 'bool'
718 },
719 sp => {
720 desc => 'Positive <mana regen.> bonus speeds up the player\'s mana regeneration. Negative values slow it down.', 901 desc => 'Positive <mana regen.> bonus speeds up the player\'s mana regeneration. Negative values slow it down.',
721 name => 'mana regen.', 902 name => 'mana regen.',
722 type => 'int' 903 type => 'int'
904 }
723 }, 905 ],
724 stealth => { 906 [
907 'grace',
908 {
909 desc => 'Positive <grace regen.> bonus speeds up the player\'s grace regeneration. Negative values slow it down. Since grace can be regenerated rather easy with praying, additional <grace regen.> bonus should be VERY RARE!!',
910 name => 'grace regen.',
911 type => 'int'
912 }
913 ],
914 [
915 'food',
916 {
917 desc => 'Positive <food bonus> slows down the player\'s digestion, thus he consumes less food. Negative values speed it up. Note that food is consumed not only for "being alive", but also for healing and mana-regeneration. <food bonus> only affects the amount of food consumed for "being alive". Hence, even with high <food bonus>, during a fight a player can run out of food quickly.',
918 name => 'food bonus',
919 type => 'int'
920 }
921 ],
922 [
923 'xrays',
924 {
925 desc => 'Xray vision allows the player to see through obstacles in a two-square-wide radius. This is extremely helpful and desireable, so don\'t give it away for cheap on equipment.',
926 name => 'xray vision',
927 type => 'bool'
928 }
929 ],
930 [
931 'stealth',
932 {
725 desc => 'Stealth allows the player to move silently. This comes to effect if a player turns himself invisible and tries to sneak around monsters. (At least that was the idea behind it)', 933 desc => 'Stealth allows the player to move silently. This comes to effect if a player turns himself invisible and tries to sneak around monsters. (At least that was the idea behind it)',
726 name => 'stealth', 934 name => 'stealth',
727 type => 'bool' 935 type => 'bool'
936 }
728 }, 937 ],
729 xrays => { 938 [
730 desc => 'Xray vision allows the player to see through obstacles in a two-square-wide radius. This is extremely helpful and desireable, so don\'t give it away for cheap on equipment.', 939 'reflect_spell',
731 name => 'xray vision', 940 {
941 desc => 'If a player is wearing any piece of equipment with the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks. This is a very powerful ability and it shouldn\'t be handed out cheap!',
942 name => 'reflect spells',
732 type => 'bool' 943 type => 'bool'
733 } 944 }
734 } 945 ],
946 [
947 'reflect_missile',
948 {
949 desc => 'If a player is wearing any piece of equipment with the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks.',
950 name => 'reflect missiles',
951 type => 'bool'
952 }
953 ],
954 [
955 'flying',
956 {
957 desc => 'As soon as the player applies a piece of equipment with <levitate> set, the player will start to float in the air.',
958 name => 'levitate',
959 type => 'bool'
960 }
961 ],
962 [
963 'path_attuned',
964 {
965 desc => 'Click on the <attuned paths> button to select spellpaths. The player will get attuned to the specified spellpaths while wearing this item.',
966 name => 'attuned paths',
967 type => 'bitmask',
968 value => $BITMASK{spellpath}
969 }
970 ],
971 [
972 'path_repelled',
973 {
974 desc => 'Click on the <repelled paths> button to select spellpaths. The player will get repelled to the specified spellpaths while wearing this item.',
975 name => 'repelled paths',
976 type => 'bitmask',
977 value => $BITMASK{spellpath}
978 }
979 ],
980 [
981 'path_denied',
982 {
983 desc => 'Click on the <denied paths> button to select spellpaths. The specified spellpaths will be denied to the player while wearing this item.',
984 name => 'denied paths',
985 type => 'bitmask',
986 value => $BITMASK{spellpath}
987 }
988 ]
989 ]
735 ] 990 ]
736 ], 991 ],
737 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 992 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
738 }, 993 },
739 Battleground => { 994 Battleground => {
740 attr => { 995 attr => [
741 hp => { 996 [
997 'no_pick',
998 {
999 type => 'fixed',
1000 value => 1
1001 }
1002 ],
1003 [
1004 'is_floor',
1005 {
1006 type => 'fixed',
1007 value => 1
1008 }
1009 ],
1010 [
1011 'hp',
1012 {
742 desc => 'The exit destinations define the (x, y)-coordinates where players get teleported after they died on this battleground.', 1013 desc => 'The exit destinations define the (x, y)-coordinates where players get teleported after they died on this battleground.',
743 name => 'destination X', 1014 name => 'destination X',
744 type => 'int' 1015 type => 'int'
1016 }
745 }, 1017 ],
746 is_floor => {
747 type => 'fixed',
748 value => 1
749 }, 1018 [
750 no_pick => { 1019 'sp',
751 type => 'fixed', 1020 {
752 value => 1
753 },
754 sp => {
755 desc => 'The exit destinations define the (x, y)-coordinates where players get teleported after they died on this battleground.', 1021 desc => 'The exit destinations define the (x, y)-coordinates where players get teleported after they died on this battleground.',
756 name => 'destination Y', 1022 name => 'destination Y',
757 type => 'int' 1023 type => 'int'
1024 }
758 } 1025 ]
759 }, 1026 ],
760 desc => 'Battleground is very special: In short, players can die on battleground without any death penalties. They don\'t loose or gain experience while on battleground. Acid, draining and depletion effects don\'t work either. When a player dies on battleground, he gets teleported to an exit location which is defined in the battleground object.', 1027 desc => 'Battleground is very special: In short, players can die on battleground without any death penalties. They don\'t loose or gain experience while on battleground. Acid, draining and depletion effects don\'t work either. When a player dies on battleground, he gets teleported to an exit location which is defined in the battleground object.',
761 ignore => [ 1028 ignore => [
762 $IGNORE_LIST{non_pickable} 1029 $IGNORE_LIST{non_pickable}
763 ], 1030 ],
764 name => 'Battleground', 1031 name => 'Battleground',
765 use => 'Battleground is only meant for player vs. player duels. You can design combat arenas similiar to the one in scorn.<br> What should NEVER be done is placing battleground tiles in open dungeons or other free kinds of land. It must not be possible to gain significant treasure for fighting on battleground, because it bears no risk.<br><br> (Battleground will cease to work when the image or name is changed, or when it is placed beneath another floor tile. This is not a bug, it is there to prevent any attempts of placing "hidden" battleground tiles anywhere.)' 1032 use => 'Battleground is only meant for player vs. player duels. You can design combat arenas similiar to the one in scorn.<br> What should NEVER be done is placing battleground tiles in open dungeons or other free kinds of land. It must not be possible to gain significant treasure for fighting on battleground, because it bears no risk.<br><br> (Battleground will cease to work when the image or name is changed, or when it is placed beneath another floor tile. This is not a bug, it is there to prevent any attempts of placing "hidden" battleground tiles anywhere.)'
766 }, 1033 },
767 Book => { 1034 Book => {
768 attr => { 1035 attr => [
769 level => { 1036 [
1037 'level',
1038 {
770 desc => 'If this value is set to be greater than zero, the player needs a certain literacy level to succeed reading the book. The book can be read if: mental_level greater <literacy level> - 5. Adding level to a book can be a nice idea, personally I like it when a player needs more than his fighting skills to solve a quest. However, keep the booklevel at least below 15 because it is quite hard to gain high mental levels.', 1039 desc => 'If this value is set to be greater than zero, the player needs a certain literacy level to succeed reading the book. The book can be read if: mental_level greater <literacy level> - 5. Adding level to a book can be a nice idea, personally I like it when a player needs more than his fighting skills to solve a quest. However, keep the booklevel at least below 15 because it is quite hard to gain high mental levels.',
771 name => 'literacy level', 1040 name => 'literacy level',
772 type => 'int' 1041 type => 'int'
1042 }
773 }, 1043 ],
774 msg => {
775 desc => 'This is the text that appears "written" in the book.',
776 end => 'endmsg',
777 name => 'book content',
778 type => 'text'
779 }, 1044 [
780 startequip => { 1045 'startequip',
1046 {
781 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 1047 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
782 name => 'godgiven item', 1048 name => 'godgiven item',
783 type => 'bool' 1049 type => 'bool'
1050 }
784 }, 1051 ],
785 unique => { 1052 [
1053 'unique',
1054 {
786 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.', 1055 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
787 name => 'unique item', 1056 name => 'unique item',
788 type => 'bool' 1057 type => 'bool'
1058 }
1059 ],
789 } 1060 [
1061 'msg',
1062 {
1063 desc => 'This is the text that appears "written" in the book.',
1064 end => 'endmsg',
1065 name => 'book content',
1066 type => 'text'
1067 }
1068 ]
790 }, 1069 ],
791 desc => 'Applying a book, the containing message is displayed to the player.', 1070 desc => 'Applying a book, the containing message is displayed to the player.',
792 name => 'Book' 1071 name => 'Book'
793 }, 1072 },
794 Boots => { 1073 Boots => {
795 attr => { 1074 attr => [
796 exp => { 1075 [
1076 'exp',
1077 {
797 desc => 'Boots with <speed bonus> will increase the player\'s walking speed while worn. This kind of bonus is quite desirable for players of low- and medium level. High level players usually have fastest possible walking speed and thus don\'t need <speed bonus> anymore. Still, this bonus is good for nice artifacts - not everything has to be for highest level.', 1078 desc => 'Boots with <speed bonus> will increase the player\'s walking speed while worn. This kind of bonus is quite desirable for players of low- and medium level. High level players usually have fastest possible walking speed and thus don\'t need <speed bonus> anymore. Still, this bonus is good for nice artifacts - not everything has to be for highest level.',
798 name => 'speed bonus', 1079 name => 'speed bonus',
799 type => 'int' 1080 type => 'int'
1081 }
800 }, 1082 ],
801 magic => { 1083 [
1084 'magic',
1085 {
802 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the boots. Important: <magic bonus> on boots has no effect if there is no <armour class> set. It only works in combination with <armour class>.', 1086 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the boots. Important: <magic bonus> on boots has no effect if there is no <armour class> set. It only works in combination with <armour class>.',
803 name => 'magic bonus', 1087 name => 'magic bonus',
804 type => 'int' 1088 type => 'int'
1089 }
805 } 1090 ]
806 }, 1091 ],
807 desc => 'Wearing boots, the object\'s stats will directly be inherited to the player. Usually enhancing his speed, or granting some minor protection bonus.', 1092 desc => 'Wearing boots, the object\'s stats will directly be inherited to the player. Usually enhancing his speed, or granting some minor protection bonus.',
808 import => [ 1093 import => [
809 $TYPE{Amulet} 1094 $TYPE{Amulet}
810 ], 1095 ],
811 name => 'Boots', 1096 name => 'Boots',
812 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 1097 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
813 }, 1098 },
814 Bracers => { 1099 Bracers => {
815 attr => { 1100 attr => [
816 magic => { 1101 [
1102 'magic',
1103 {
817 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the bracers.', 1104 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the bracers.',
818 name => 'magic bonus', 1105 name => 'magic bonus',
819 type => 'int' 1106 type => 'int'
1107 }
820 } 1108 ]
821 }, 1109 ],
822 desc => 'Bracers are armour-plates worn around the wrists. Wearing bracer, the object\'s stats will directly be inherited to the player. Usually enhancing his defense.', 1110 desc => 'Bracers are armour-plates worn around the wrists. Wearing bracer, the object\'s stats will directly be inherited to the player. Usually enhancing his defense.',
823 import => [ 1111 import => [
824 $TYPE{Amulet} 1112 $TYPE{Amulet}
825 ], 1113 ],
826 name => 'Bracers', 1114 name => 'Bracers',
827 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 1115 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
828 }, 1116 },
829 'Brestplate Armour' => { 1117 'Brestplate Armour' => {
830 attr => { 1118 attr => [
831 last_heal => { 1119 [
1120 'last_heal',
1121 {
832 desc => 'This poses a penalty to spell regeneration speed, for wearing the armour. The bigger the spellpoint penalty, the worse.', 1122 desc => 'This poses a penalty to spell regeneration speed, for wearing the armour. The bigger the spellpoint penalty, the worse.',
833 name => 'spellpoint penalty', 1123 name => 'spellpoint penalty',
834 type => 'int' 1124 type => 'int'
1125 }
835 }, 1126 ],
836 last_sp => { 1127 [
1128 'last_sp',
1129 {
837 desc => 'Slowdown penalty reduces the player\'s walking speed when wearing the armour. Bigger values are worse - zero is best.', 1130 desc => 'Slowdown penalty reduces the player\'s walking speed when wearing the armour. Bigger values are worse - zero is best.',
838 name => 'slowdown penalty', 1131 name => 'slowdown penalty',
839 type => 'int' 1132 type => 'int'
1133 }
840 }, 1134 ],
841 magic => { 1135 [
1136 'magic',
1137 {
842 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the armour.', 1138 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the armour.',
843 name => 'magic bonus', 1139 name => 'magic bonus',
844 type => 'int' 1140 type => 'int'
1141 }
845 } 1142 ]
846 }, 1143 ],
847 desc => 'Wearing an armour, the object\'s stats will directly be inherited to the player. Usually enhancing his defense.', 1144 desc => 'Wearing an armour, the object\'s stats will directly be inherited to the player. Usually enhancing his defense.',
848 import => [ 1145 import => [
849 $TYPE{Amulet} 1146 $TYPE{Amulet}
850 ], 1147 ],
851 name => 'Brestplate Armour', 1148 name => 'Brestplate Armour',
852 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 1149 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
853 }, 1150 },
854 Button => { 1151 Button => {
855 attr => { 1152 attr => [
856 connected => { 1153 [
1154 'walk_on',
1155 {
1156 type => 'fixed',
1157 value => 1
1158 }
1159 ],
1160 [
1161 'walk_off',
1162 {
1163 type => 'fixed',
1164 value => 1
1165 }
1166 ],
1167 [
1168 'no_pick',
1169 {
1170 type => 'fixed',
1171 value => 1
1172 }
1173 ],
1174 [
1175 'weight',
1176 {
1177 desc => 'The button is pressed (triggered), as soon as <press weigh> gram are placed ontop of it.',
1178 name => 'press weight',
1179 type => 'string'
1180 }
1181 ],
1182 [
1183 'connected',
1184 {
857 desc => 'Every time the button is pressed or released, all objects with the same <connection> value are activated.', 1185 desc => 'Every time the button is pressed or released, all objects with the same <connection> value are activated.',
858 name => 'connection', 1186 name => 'connection',
859 type => 'int' 1187 type => 'int'
1188 }
860 }, 1189 ],
861 msg => { 1190 [
1191 'msg',
1192 {
862 desc => 'This text may describe the item. You can use this message to explain the button\'s purpose to the player.', 1193 desc => 'This text may describe the item. You can use this message to explain the button\'s purpose to the player.',
863 end => 'endmsg', 1194 end => 'endmsg',
864 name => 'description', 1195 name => 'description',
865 type => 'text' 1196 type => 'text'
866 }, 1197 }
867 no_pick => {
868 type => 'fixed',
869 value => 1
870 },
871 walk_off => {
872 type => 'fixed',
873 value => 1
874 },
875 walk_on => {
876 type => 'fixed',
877 value => 1
878 },
879 weight => {
880 desc => 'The button is pressed (triggered), as soon as <press weigh> gram are placed ontop of it.',
881 name => 'press weight',
882 type => 'string'
883 } 1198 ]
884 }, 1199 ],
885 desc => 'When a predefined amount of weigh is placed on a button, the &lt;connection&gt; value is triggered. In most cases this happens when a player or monster steps on it. When the button is "released", the &lt;connection&gt; value get\'s triggered a second time.', 1200 desc => 'When a predefined amount of weigh is placed on a button, the &lt;connection&gt; value is triggered. In most cases this happens when a player or monster steps on it. When the button is "released", the &lt;connection&gt; value get\'s triggered a second time.',
886 ignore => [ 1201 ignore => [
887 $IGNORE_LIST{non_pickable} 1202 $IGNORE_LIST{non_pickable}
888 ], 1203 ],
889 name => 'Button' 1204 name => 'Button'
890 }, 1205 },
891 Cloak => { 1206 Cloak => {
892 attr => { 1207 attr => [
893 magic => { 1208 [
1209 'magic',
1210 {
894 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the cloak. Important: <magic bonus> on cloaks has no effect if there is no <armour class> set. It only works in combination with <armour class>.', 1211 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the cloak. Important: <magic bonus> on cloaks has no effect if there is no <armour class> set. It only works in combination with <armour class>.',
895 name => 'magic bonus', 1212 name => 'magic bonus',
896 type => 'int' 1213 type => 'int'
1214 }
897 } 1215 ]
898 }, 1216 ],
899 desc => 'Wearing a cloak, the object\'s stats will directly be inherited to the player. Cloaks usually add minor &lt;armour class&gt; and sometimes a bit of resistance.', 1217 desc => 'Wearing a cloak, the object\'s stats will directly be inherited to the player. Cloaks usually add minor &lt;armour class&gt; and sometimes a bit of resistance.',
900 import => [ 1218 import => [
901 $TYPE{Amulet} 1219 $TYPE{Amulet}
902 ], 1220 ],
903 name => 'Cloak', 1221 name => 'Cloak',
904 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 1222 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
905 }, 1223 },
906 Clock => { 1224 Clock => {
907 attr => { 1225 attr => [
908 msg => { 1226 [
1227 'msg',
1228 {
909 desc => 'This text may describe the item', 1229 desc => 'This text may describe the item',
910 end => 'endmsg', 1230 end => 'endmsg',
911 name => 'description', 1231 name => 'description',
912 type => 'text' 1232 type => 'text'
1233 }
913 } 1234 ]
914 }, 1235 ],
915 desc => 'Applying a clock, the time is displayed to the player.', 1236 desc => 'Applying a clock, the time is displayed to the player.',
916 name => 'Clock' 1237 name => 'Clock'
917 }, 1238 },
918 Container => { 1239 Container => {
919 attr => { 1240 attr => [
920 Str => { 1241 [
921 desc => 'This value determines how much the weight of items is reduced in percent, when put inside the container. <reduce weight %> 0 means no reduction, <reduce weight %> 100 means items are weightless inside. Most default values are in the range of ten.', 1242 'race',
922 name => 'reduce weight %', 1243 {
1244 desc => 'If set, the container will hold only certain types of objects. Possible choices for <container class> are: "gold and jewels", "arrows" and "keys". Unfortunately it is not easy to create new container classes, because items need a matching counterpiece-attribute to the <container class> before they can be put inside a container. This attribute ("race") is set only for the existing container classes.',
1245 name => 'container class',
923 type => 'int' 1246 type => 'string'
1247 }
924 }, 1248 ],
925 container => { 1249 [
1250 'slaying',
1251 {
1252 desc => 'If <key string> is set, only players with a special key of matching <key string> are able to open the container.',
1253 name => 'key string',
1254 type => 'string'
1255 }
1256 ],
1257 [
1258 'container',
1259 {
926 desc => 'The container can hold a maximum total weight of the given value in gram. Note that this weight limit is calculated *after* the weight reduction (<reduce weight>) has been applied.', 1260 desc => 'The container can hold a maximum total weight of the given value in gram. Note that this weight limit is calculated *after* the weight reduction (<reduce weight>) has been applied.',
927 name => 'maximum weight', 1261 name => 'maximum weight',
928 type => 'int' 1262 type => 'int'
1263 }
929 }, 1264 ],
930 is_cauldron => { 1265 [
1266 'Str',
1267 {
1268 desc => 'This value determines how much the weight of items is reduced in percent, when put inside the container. <reduce weight %> 0 means no reduction, <reduce weight %> 100 means items are weightless inside. Most default values are in the range of ten.',
1269 name => 'reduce weight %',
1270 type => 'int'
1271 }
1272 ],
1273 [
1274 'is_cauldron',
1275 {
931 desc => 'If set, the container can be used as alchemy-cauldron. The player can put ingredients inside, close it, cast alchemy and if his formulae is true, he\'ll get what he longed for.', 1276 desc => 'If set, the container can be used as alchemy-cauldron. The player can put ingredients inside, close it, cast alchemy and if his formulae is true, he\'ll get what he longed for.',
932 name => 'alchemy cauldron', 1277 name => 'alchemy cauldron',
933 type => 'bool' 1278 type => 'bool'
1279 }
934 }, 1280 ],
935 msg => {
936 desc => 'This text may contain a description of the container.',
937 end => 'endmsg',
938 name => 'description',
939 type => 'text'
940 }, 1281 [
941 other_arch => { 1282 'unique',
942 desc => 'This is used for a certain kind of... "animation" when opening the container. Stick to the default arches here and you won\'t get into trouble.', 1283 {
943 name => 'animation arch',
944 type => 'string'
945 },
946 race => {
947 desc => 'If set, the container will hold only certain types of objects. Possible choices for <container class> are: "gold and jewels", "arrows" and "keys". Unfortunately it is not easy to create new container classes, because items need a matching counterpiece-attribute to the <container class> before they can be put inside a container. This attribute ("race") is set only for the existing container classes.',
948 name => 'container class',
949 type => 'string'
950 },
951 slaying => {
952 desc => 'If <key string> is set, only players with a special key of matching <key string> are able to open the container.',
953 name => 'key string',
954 type => 'string'
955 },
956 startequip => {
957 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
958 name => 'godgiven item',
959 type => 'bool'
960 },
961 unique => {
962 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good. All contents of a unique container are unique as well.', 1284 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good. All contents of a unique container are unique as well.',
963 name => 'unique item', 1285 name => 'unique item',
964 type => 'bool' 1286 type => 'bool'
1287 }
1288 ],
965 } 1289 [
1290 'startequip',
1291 {
1292 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
1293 name => 'godgiven item',
1294 type => 'bool'
1295 }
1296 ],
1297 [
1298 'other_arch',
1299 {
1300 desc => 'This is used for a certain kind of... "animation" when opening the container. Stick to the default arches here and you won\'t get into trouble.',
1301 name => 'animation arch',
1302 type => 'string'
1303 }
1304 ],
1305 [
1306 'msg',
1307 {
1308 desc => 'This text may contain a description of the container.',
1309 end => 'endmsg',
1310 name => 'description',
1311 type => 'text'
1312 }
1313 ]
966 }, 1314 ],
967 desc => 'A player can put (certain kinds of) items in the container. The overall weight of items is reduced when put inside a container, depending on the settings. <br><br> A special feature of containers is the "cauldron", capable of mixing alchemical receipes.', 1315 desc => 'A player can put (certain kinds of) items in the container. The overall weight of items is reduced when put inside a container, depending on the settings. <br><br> A special feature of containers is the "cauldron", capable of mixing alchemical receipes.',
968 name => 'Container', 1316 name => 'Container',
969 use => 'Note on chests - There are two types of chests: <UL> <LI> First the random treasure chests - Those are NOT containers (but object type Treasure), they create random treasures when applied. Archetype name is "chest". <LI> Second there are the permanent chests - Those are containers, they can be opened and closed again. Archetype name is "chest_2". </UL>' 1317 use => 'Note on chests - There are two types of chests: <UL> <LI> First the random treasure chests - Those are NOT containers (but object type Treasure), they create random treasures when applied. Archetype name is "chest". <LI> Second there are the permanent chests - Those are containers, they can be opened and closed again. Archetype name is "chest_2". </UL>'
970 }, 1318 },
971 Converter => { 1319 Converter => {
972 attr => { 1320 attr => [
973 food => { 1321 [
1322 'no_pick',
1323 {
1324 type => 'fixed',
1325 value => 1
1326 }
1327 ],
1328 [
1329 'slaying',
1330 {
1331 desc => '<cost arch> is the name of the archetype the player has to put on the converter, as payment.',
1332 name => 'cost arch',
1333 type => 'string'
1334 }
1335 ],
1336 [
1337 'food',
1338 {
974 desc => 'The player has to put <cost number> items of <cost arch> on the converter, in order to get <receive number> items of <receive arch>.', 1339 desc => 'The player has to put <cost number> items of <cost arch> on the converter, in order to get <receive number> items of <receive arch>.',
975 name => 'cost number', 1340 name => 'cost number',
976 type => 'int' 1341 type => 'int'
1342 }
977 }, 1343 ],
978 msg => {
979 desc => 'This text may contain a description of the converter.',
980 end => 'endmsg',
981 name => 'description',
982 type => 'text'
983 }, 1344 [
984 no_pick => { 1345 'other_arch',
985 type => 'fixed', 1346 {
986 value => 1
987 },
988 other_arch => {
989 desc => '<receive arch> is the name of the archetype to convert into.', 1347 desc => '<receive arch> is the name of the archetype to convert into.',
990 name => 'receive arch', 1348 name => 'receive arch',
991 type => 'string' 1349 type => 'string'
1350 }
992 }, 1351 ],
993 slaying => {
994 desc => '<cost arch> is the name of the archetype the player has to put on the converter, as payment.',
995 name => 'cost arch',
996 type => 'string'
997 }, 1352 [
998 sp => { 1353 'sp',
1354 {
999 desc => 'The player has to put <cost number> items of <cost arch> on the converter, in order to get <receive number> items of <receive arch>.', 1355 desc => 'The player has to put <cost number> items of <cost arch> on the converter, in order to get <receive number> items of <receive arch>.',
1000 name => 'receive number', 1356 name => 'receive number',
1001 type => 'int' 1357 type => 'int'
1358 }
1359 ],
1002 } 1360 [
1361 'msg',
1362 {
1363 desc => 'This text may contain a description of the converter.',
1364 end => 'endmsg',
1365 name => 'description',
1366 type => 'text'
1367 }
1368 ]
1003 }, 1369 ],
1004 desc => 'Converters are like "exchange tables". When the player drops a specific type of items, they get converted into other items, at a predefined exchange-ratio.', 1370 desc => 'Converters are like "exchange tables". When the player drops a specific type of items, they get converted into other items, at a predefined exchange-ratio.',
1005 ignore => [ 1371 ignore => [
1006 'value', 1372 'value',
1007 'nrof', 1373 'nrof',
1008 'name_pl', 1374 'name_pl',
1012 ], 1378 ],
1013 name => 'Converter', 1379 name => 'Converter',
1014 use => 'Converters are better than shopping with doormats, because the converters never get sold out. For some items like food or jewels those "exchange tables" are really nice, while for the more important stuff like potions converters should not exist. <br><br> VERY IMPORTANT: Be careful with the exchange-ratio! When you drop items on a converter, the stuff you get must be of equal or lesser value than before! (Except if you are using "rare" items like dragonscales for payment). The code will not check if your ratio is sane, so the player could gain infinite wealth by using your converter.' 1380 use => 'Converters are better than shopping with doormats, because the converters never get sold out. For some items like food or jewels those "exchange tables" are really nice, while for the more important stuff like potions converters should not exist. <br><br> VERY IMPORTANT: Be careful with the exchange-ratio! When you drop items on a converter, the stuff you get must be of equal or lesser value than before! (Except if you are using "rare" items like dragonscales for payment). The code will not check if your ratio is sane, so the player could gain infinite wealth by using your converter.'
1015 }, 1381 },
1016 Creator => { 1382 Creator => {
1017 attr => { 1383 attr => [
1018 connected => { 1384 [
1385 'no_pick',
1386 {
1387 type => 'fixed',
1388 value => 1
1389 }
1390 ],
1391 [
1392 'other_arch',
1393 {
1394 desc => 'This string defines the object that will be created. You can choose any of the existing arches.',
1395 name => 'create arch',
1396 type => 'string'
1397 }
1398 ],
1399 [
1400 'connected',
1401 {
1019 desc => 'Whenever the connection value is activated, the creator gets triggered.', 1402 desc => 'Whenever the connection value is activated, the creator gets triggered.',
1020 name => 'connection', 1403 name => 'connection',
1021 type => 'int' 1404 type => 'int'
1405 }
1022 }, 1406 ],
1023 hp => { 1407 [
1408 'lifesave',
1409 {
1410 desc => 'If <infinit uses> is set, the creator will work infinitly, regardless of the value in <number of uses>.',
1411 name => 'infinit uses',
1412 type => 'bool'
1413 }
1414 ],
1415 [
1416 'hp',
1417 {
1024 desc => 'The creator can be triggered <number of uses> times, thus creating that many objects, before it dissappears. Default is <number of uses> 1 (-> one-time usage).', 1418 desc => 'The creator can be triggered <number of uses> times, thus creating that many objects, before it dissappears. Default is <number of uses> 1 (-> one-time usage).',
1025 name => 'number of uses', 1419 name => 'number of uses',
1026 type => 'int' 1420 type => 'int'
1421 }
1027 }, 1422 ],
1028 level => {
1029 desc => 'The created object will be of that level. If zero/unset, the standard level of the archetype is used.',
1030 name => 'level of creation',
1031 type => 'int'
1032 }, 1423 [
1033 lifesave => { 1424 'slaying',
1034 desc => 'If <infinit uses> is set, the creator will work infinitly, regardless of the value in <number of uses>.', 1425 {
1035 name => 'infinit uses',
1036 type => 'bool'
1037 },
1038 no_pick => {
1039 type => 'fixed',
1040 value => 1
1041 },
1042 other_arch => {
1043 desc => 'This string defines the object that will be created. You can choose any of the existing arches.',
1044 name => 'create arch',
1045 type => 'string'
1046 },
1047 slaying => {
1048 desc => 'The created object will bear the name specified in <name creation>. If nothing is set, the standard name of the archetype is used.', 1426 desc => 'The created object will bear the name specified in <name creation>. If nothing is set, the standard name of the archetype is used.',
1049 name => 'name of creation', 1427 name => 'name of creation',
1050 type => 'string' 1428 type => 'string'
1429 }
1430 ],
1051 } 1431 [
1432 'level',
1433 {
1434 desc => 'The created object will be of that level. If zero/unset, the standard level of the archetype is used.',
1435 name => 'level of creation',
1436 type => 'int'
1437 }
1438 ]
1052 }, 1439 ],
1053 desc => 'A creator is an object which creates another object when it is triggered. The child object can be anything. Creators are VERY useful for all kinds of map-mechanisms.', 1440 desc => 'A creator is an object which creates another object when it is triggered. The child object can be anything. Creators are VERY useful for all kinds of map-mechanisms.',
1054 ignore => [ 1441 ignore => [
1055 $IGNORE_LIST{system_object} 1442 $IGNORE_LIST{system_object}
1056 ], 1443 ],
1057 name => 'Creator', 1444 name => 'Creator',
1058 use => 'Don\'t hesitate to hide your creators under the floor. The created items will still always appear ontop of the floor.' 1445 use => 'Don\'t hesitate to hide your creators under the floor. The created items will still always appear ontop of the floor.'
1059 }, 1446 },
1060 Detector => { 1447 Detector => {
1061 attr => { 1448 attr => [
1062 connected => {
1063 desc => 'When the detector is triggered, all objects with the same connection value get activated.',
1064 name => 'connection',
1065 type => 'int'
1066 }, 1449 [
1067 no_pick => { 1450 'no_pick',
1451 {
1068 type => 'fixed', 1452 type => 'fixed',
1069 value => 1 1453 value => 1
1454 }
1070 }, 1455 ],
1071 slaying => { 1456 [
1457 'slaying',
1458 {
1072 desc => '<match name> specifies the name of the object we are looking for. Actually it does also check for the <key string> in key-objects, but for this case inventory checkers are often more powerful to use.', 1459 desc => '<match name> specifies the name of the object we are looking for. Actually it does also check for the <key string> in key-objects, but for this case inventory checkers are often more powerful to use.',
1073 name => 'match name', 1460 name => 'match name',
1074 type => 'string' 1461 type => 'string'
1462 }
1075 }, 1463 ],
1076 speed => { 1464 [
1465 'connected',
1466 {
1467 desc => 'When the detector is triggered, all objects with the same connection value get activated.',
1468 name => 'connection',
1469 type => 'int'
1470 }
1471 ],
1472 [
1473 'speed',
1474 {
1077 desc => 'This value defines the time between two detector-checks. If you want the detector to behave almost like pedestals/buttons, set speed rather high, like <detection speed> 1.0.', 1475 desc => 'This value defines the time between two detector-checks. If you want the detector to behave almost like pedestals/buttons, set speed rather high, like <detection speed> 1.0.',
1078 name => 'detection speed', 1476 name => 'detection speed',
1079 type => 'float' 1477 type => 'float'
1478 }
1080 } 1479 ]
1081 }, 1480 ],
1082 desc => 'Detectors work quite much like inv. checkers/pedestals: If the detector finds a specific object, it toggles its connected value. <br><br> What is "unique" about them, compared to inv. checkers/ pedestals? - First, detectors check their square for a match periodically, not instantly. Second, detectors check directly for object names. Third, detectors do not check the inventory of players/monsters.', 1481 desc => 'Detectors work quite much like inv. checkers/pedestals: If the detector finds a specific object, it toggles its connected value. <br><br> What is "unique" about them, compared to inv. checkers/ pedestals? - First, detectors check their square for a match periodically, not instantly. Second, detectors check directly for object names. Third, detectors do not check the inventory of players/monsters.',
1083 ignore => [ 1482 ignore => [
1084 $IGNORE_LIST{system_object} 1483 $IGNORE_LIST{system_object}
1085 ], 1484 ],
1086 name => 'Detector', 1485 name => 'Detector',
1087 use => 'There is one major speciality about detectors: You can detect spells blown over a detector! To detect a lighting bolt for example, set "slaying ligthing" and "speed 1.0". In combination with spellcasting walls, this can be very useful for map-mechanisms.' 1486 use => 'There is one major speciality about detectors: You can detect spells blown over a detector! To detect a lighting bolt for example, set "slaying ligthing" and "speed 1.0". In combination with spellcasting walls, this can be very useful for map-mechanisms.'
1088 }, 1487 },
1089 Director => { 1488 Director => {
1090 attr => { 1489 attr => [
1091 fly_on => {
1092 type => 'fixed',
1093 value => 1
1094 }, 1490 [
1095 sp => { 1491 'sp',
1492 {
1096 desc => 'Projectiles will leave the director flying in the selected <direction>. A director with direction <none> simply stops projectiles. (The latter works out a bit strange for some spells).', 1493 desc => 'Projectiles will leave the director flying in the selected <direction>. A director with direction <none> simply stops projectiles. (The latter works out a bit strange for some spells).',
1097 name => 'direction', 1494 name => 'direction',
1098 type => 'list', 1495 type => 'list',
1099 value => $LIST{direction} 1496 value => $LIST{direction}
1497 }
1100 }, 1498 ],
1101 walk_on => { 1499 [
1500 'walk_on',
1501 {
1102 type => 'fixed', 1502 type => 'fixed',
1103 value => 1 1503 value => 1
1504 }
1505 ],
1104 } 1506 [
1507 'fly_on',
1508 {
1509 type => 'fixed',
1510 value => 1
1511 }
1512 ]
1105 }, 1513 ],
1106 desc => 'Directors change the direction of spell objects and other projectiles that fly past. Unlike spinners, directors always move objects in the same direction. It does not make a difference from what angle you shoot into it.<br> Directors are visible per default.', 1514 desc => 'Directors change the direction of spell objects and other projectiles that fly past. Unlike spinners, directors always move objects in the same direction. It does not make a difference from what angle you shoot into it.<br> Directors are visible per default.',
1107 ignore => [ 1515 ignore => [
1108 $IGNORE_LIST{non_pickable} 1516 $IGNORE_LIST{non_pickable}
1109 ], 1517 ],
1110 name => 'Director', 1518 name => 'Director',
1111 use => 'Directors are rarely used in maps. Sometimes they are placed to change the direction of spells coming out of magic walls, "channeling" spell-projectiles in some direction. When doing this, <B>never place directors facing each other with magic walls fireing into them!</B> The spell-projectiles bouncing between the directors would accumulate to huge numbers and at some point slow down the server by eating memory- and CPU-time. <br><br> You\'d better not place directors in monster vs. player combat areas too much, because that freaks out wizard-type players.' 1519 use => 'Directors are rarely used in maps. Sometimes they are placed to change the direction of spells coming out of magic walls, "channeling" spell-projectiles in some direction. When doing this, <B>never place directors facing each other with magic walls fireing into them!</B> The spell-projectiles bouncing between the directors would accumulate to huge numbers and at some point slow down the server by eating memory- and CPU-time. <br><br> You\'d better not place directors in monster vs. player combat areas too much, because that freaks out wizard-type players.'
1112 }, 1520 },
1113 Disease => { 1521 Disease => {
1114 attr => { 1522 attr => [
1115 ac => { 1523 [
1524 'invisible',
1525 {
1526 type => 'fixed',
1527 value => 1
1528 }
1529 ],
1530 [
1531 'level',
1532 {
1533 desc => 'The <plaque level> is proportional to the disease\'s deadliness. This mainly reflects in the <damage>. It has no effect on most other symptoms. Neverthless, it is a very important value for all damage-inflicting diseases.',
1534 name => 'plaque level',
1535 type => 'int'
1536 }
1537 ],
1538 [
1539 'race',
1540 {
1541 desc => 'The disease will only infect creatures of the specified <race>. "<race> *" means every creature can be infected.',
1542 name => 'infect race',
1543 type => 'string'
1544 }
1545 ],
1546 [
1547 'ac',
1548 {
1116 desc => 'Every time the disease "moves" the severity of the symptoms are increased by <progressiveness>/100. (severity = 1 + (accumlated progression)/100)', 1549 desc => 'Every time the disease "moves" the severity of the symptoms are increased by <progressiveness>/100. (severity = 1 + (accumlated progression)/100)',
1117 name => 'progressiveness', 1550 name => 'progressiveness',
1118 type => 'int' 1551 type => 'int'
1552 }
1119 }, 1553 ],
1120 invisible => {
1121 type => 'fixed',
1122 value => 1
1123 }, 1554 [
1124 level => { 1555 'msg',
1125 desc => 'The <plaque level> is proportional to the disease\'s deadliness. This mainly reflects in the <damage>. It has no effect on most other symptoms. Neverthless, it is a very important value for all damage-inflicting diseases.', 1556 {
1126 name => 'plaque level',
1127 type => 'int'
1128 },
1129 msg => {
1130 desc => 'This text is displayed to the player every time the symptoms strike.', 1557 desc => 'This text is displayed to the player every time the symptoms strike.',
1131 end => 'endmsg', 1558 end => 'endmsg',
1132 name => 'message', 1559 name => 'message',
1133 type => 'text' 1560 type => 'text'
1134 }, 1561 }
1135 race => {
1136 desc => 'The disease will only infect creatures of the specified <race>. "<race> *" means every creature can be infected.',
1137 name => 'infect race',
1138 type => 'string'
1139 } 1562 ]
1140 }, 1563 ],
1141 desc => 'Diseases are an intersting form of spellcraft in Crossfire. Once casted, they can spread out and infect creatures in a large area. Being infected can have various effects, from amusing farts to horrible damage - almost everything is possible.', 1564 desc => 'Diseases are an intersting form of spellcraft in Crossfire. Once casted, they can spread out and infect creatures in a large area. Being infected can have various effects, from amusing farts to horrible damage - almost everything is possible.',
1142 ignore => [ 1565 ignore => [
1143 $IGNORE_LIST{system_object} 1566 $IGNORE_LIST{system_object}
1144 ], 1567 ],
1145 name => 'Disease', 1568 name => 'Disease',
1146 section => [ 1569 section => [
1147 [ 1570 [
1148 'spreading', 1571 'spreading',
1149 { 1572 [
1150 last_grace => { 1573 [
1574 'wc',
1575 {
1576 desc => 'The <infectiosness> defines the chance of new creatures getting infected. If you set this too high, the disease is very likely to be too effective. <infectiosness>/127 is the chance of someone in range catching it.',
1577 name => 'infectiosness',
1578 type => 'int'
1579 }
1580 ],
1581 [
1582 'last_grace',
1583 {
1151 desc => 'The <attenuation> value reduces the diseases\' <infectiosness> everytime it infects someone new. This limits how many generations a disease can propagate.', 1584 desc => 'The <attenuation> value reduces the diseases\' <infectiosness> everytime it infects someone new. This limits how many generations a disease can propagate.',
1152 name => 'attenuation', 1585 name => 'attenuation',
1153 type => 'int' 1586 type => 'int'
1587 }
1154 }, 1588 ],
1155 magic => { 1589 [
1590 'magic',
1591 {
1156 desc => '<infection range> sets the range at which infection may occur. If positive, the <infection range> is level dependant - If negative, it is not: E.g. "<infection range> -6" means creatures can be infected in six square range, and <plaque level> doesn\'t modify that.', 1592 desc => '<infection range> sets the range at which infection may occur. If positive, the <infection range> is level dependant - If negative, it is not: E.g. "<infection range> -6" means creatures can be infected in six square range, and <plaque level> doesn\'t modify that.',
1157 name => 'infection range', 1593 name => 'infection range',
1158 type => 'int' 1594 type => 'int'
1595 }
1159 }, 1596 ],
1160 maxgrace => { 1597 [
1598 'maxhp',
1599 {
1600 desc => '<persistence> defines how long the disease can persist OUTSIDE a host. The disease can "move" <persistence> times outside a host before it vanishes. A negative value means the disease lasts for permanent (which is only recommended to use in maps without monsters).',
1601 name => 'persistence',
1602 type => 'int'
1603 }
1604 ],
1605 [
1606 'maxgrace',
1607 {
1161 desc => 'The disease will last in the host for <curing duration> "disease moves" (Assuming the host survives and doesn\'t use a curing spell). After this period the disease is naturally cured, which provides the host with immunity from this particular disease of lower or equal level. A negative value means the disease can never be cured naturally. Note that this value can be further modulated by spell-parameters, if the disease is registered as spell in the code. Due to that, most default diseases take a lot longer to cure than it seems.', 1608 desc => 'The disease will last in the host for <curing duration> "disease moves" (Assuming the host survives and doesn\'t use a curing spell). After this period the disease is naturally cured, which provides the host with immunity from this particular disease of lower or equal level. A negative value means the disease can never be cured naturally. Note that this value can be further modulated by spell-parameters, if the disease is registered as spell in the code. Due to that, most default diseases take a lot longer to cure than it seems.',
1162 name => 'curing duration', 1609 name => 'curing duration',
1163 type => 'int' 1610 type => 'int'
1611 }
1164 }, 1612 ],
1165 maxhp => { 1613 [
1166 desc => '<persistence> defines how long the disease can persist OUTSIDE a host. The disease can "move" <persistence> times outside a host before it vanishes. A negative value means the disease lasts for permanent (which is only recommended to use in maps without monsters).', 1614 'speed',
1167 name => 'persistence', 1615 {
1168 type => 'int'
1169 },
1170 speed => {
1171 desc => 'The <speed> of the disease determines how fast the disease will "move", thus how fast the symptoms strike the host.', 1616 desc => 'The <speed> of the disease determines how fast the disease will "move", thus how fast the symptoms strike the host.',
1172 name => 'moving speed', 1617 name => 'moving speed',
1173 type => 'float' 1618 type => 'float'
1174 },
1175 wc => {
1176 desc => 'The <infectiosness> defines the chance of new creatures getting infected. If you set this too high, the disease is very likely to be too effective. <infectiosness>/127 is the chance of someone in range catching it.',
1177 name => 'infectiosness',
1178 type => 'int'
1179 } 1619 }
1180 } 1620 ]
1621 ]
1181 ], 1622 ],
1182 [ 1623 [
1183 'symptoms', 1624 'symptoms',
1184 { 1625 [
1185 attacktype => { 1626 [
1627 'attacktype',
1628 {
1186 desc => 'The disease will attack the host with the given <attacktype>. Godpower attacktype is commonly used for "unresistable" diseases.', 1629 desc => 'The disease will attack the host with the given <attacktype>. Godpower attacktype is commonly used for "unresistable" diseases.',
1187 name => 'attacktype', 1630 name => 'attacktype',
1188 type => 'bitmask', 1631 type => 'bitmask',
1189 value => $BITMASK{attacktype} 1632 value => $BITMASK{attacktype}
1633 }
1190 }, 1634 ],
1191 dam => { 1635 [
1636 'dam',
1637 {
1192 desc => 'A disease with a positive <damage> value will strike the player for that amount of damage every time the symptoms occur. A negative <damage> value produces %-based damage: "<damage> -10" means the player\'s health is reduced by 10% every time the symptoms strike. Diseases with %-based damage can be dangerous - but not deadly - for players of all levels.', 1638 desc => 'A disease with a positive <damage> value will strike the player for that amount of damage every time the symptoms occur. A negative <damage> value produces %-based damage: "<damage> -10" means the player\'s health is reduced by 10% every time the symptoms strike. Diseases with %-based damage can be dangerous - but not deadly - for players of all levels.',
1193 name => 'damage', 1639 name => 'damage',
1194 type => 'int' 1640 type => 'int'
1641 }
1195 }, 1642 ],
1196 exp => { 1643 [
1197 desc => 'When the player manages to cure this disease (with a curing spell), he is awarded with <exp. for curing> experience.', 1644 'other_arch',
1198 name => 'exp. for curing', 1645 {
1646 desc => 'If set, the specified arch is created and dropped every time the symptoms strike. This can be various things: farts, body pieces, eggs ... Even monsters can be created that way. You could also make a disease where some exotic stuff like money/gems is created.',
1647 name => 'create arch',
1199 type => 'int' 1648 type => 'string'
1649 }
1200 }, 1650 ],
1201 hp => { 1651 [
1202 desc => 'This value increases the player\'s healing rate. Negative values decrease it.', 1652 'last_sp',
1203 name => 'health regen.', 1653 {
1204 type => 'int'
1205 },
1206 last_eat => {
1207 desc => 'Every time the disease "moves", the player\'s food is reduced by the value of <food depletion>. For negative values, a %-based amount is taken.',
1208 name => 'food depletion',
1209 type => 'int'
1210 },
1211 last_sp => {
1212 desc => 'If set, the disease imposes a <slowdown penalty> while being infected. The player\'s speed is reduced by <slowdown penalty> % of normal value.', 1654 desc => 'If set, the disease imposes a <slowdown penalty> while being infected. The player\'s speed is reduced by <slowdown penalty> % of normal value.',
1213 name => 'slowdown penalty', 1655 name => 'slowdown penalty',
1214 type => 'int' 1656 type => 'int'
1657 }
1215 }, 1658 ],
1216 maxsp => { 1659 [
1660 'exp',
1661 {
1662 desc => 'When the player manages to cure this disease (with a curing spell), he is awarded with <exp. for curing> experience.',
1663 name => 'exp. for curing',
1664 type => 'int'
1665 }
1666 ],
1667 [
1668 'maxsp',
1669 {
1217 desc => 'Every time the disease "moves", the player\'s mana is reduced by the value of <mana depletion>. For negative values, a %-based amount is taken.', 1670 desc => 'Every time the disease "moves", the player\'s mana is reduced by the value of <mana depletion>. For negative values, a %-based amount is taken.',
1218 name => 'mana depletion', 1671 name => 'mana depletion',
1219 type => 'int' 1672 type => 'int'
1673 }
1220 }, 1674 ],
1221 other_arch => { 1675 [
1222 desc => 'If set, the specified arch is created and dropped every time the symptoms strike. This can be various things: farts, body pieces, eggs ... Even monsters can be created that way. You could also make a disease where some exotic stuff like money/gems is created.', 1676 'last_eat',
1223 name => 'create arch', 1677 {
1678 desc => 'Every time the disease "moves", the player\'s food is reduced by the value of <food depletion>. For negative values, a %-based amount is taken.',
1679 name => 'food depletion',
1224 type => 'string' 1680 type => 'int'
1681 }
1225 }, 1682 ],
1226 sp => { 1683 [
1684 'hp',
1685 {
1686 desc => 'This value increases the player\'s healing rate. Negative values decrease it.',
1687 name => 'health regen.',
1688 type => 'int'
1689 }
1690 ],
1691 [
1692 'sp',
1693 {
1227 desc => 'This value increases the player\'s rate of mana regeneration. Negative values decrease it.', 1694 desc => 'This value increases the player\'s rate of mana regeneration. Negative values decrease it.',
1228 name => 'mana regen.', 1695 name => 'mana regen.',
1229 type => 'int' 1696 type => 'int'
1230 } 1697 }
1231 } 1698 ]
1699 ]
1232 ], 1700 ],
1233 [ 1701 [
1234 'disability', 1702 'disability',
1235 { 1703 [
1236 Cha => { 1704 [
1705 'Str',
1706 {
1237 desc => 'The player\'s charisma will rise by the given value while being infected. (Negative values make charisma fall)', 1707 desc => 'The player\'s strength will rise by the given value while being infected. (Negative values make strength fall)',
1238 name => 'charisma', 1708 name => 'strength',
1239 type => 'int' 1709 type => 'int'
1710 }
1240 }, 1711 ],
1241 Con => { 1712 [
1713 'Dex',
1714 {
1715 desc => 'The player\'s dexterity will rise by the given value while being infected. (Negative values make dexterity fall)',
1716 name => 'dexterity',
1717 type => 'int'
1718 }
1719 ],
1720 [
1721 'Con',
1722 {
1242 desc => 'The player\'s constitution will rise by the given value while being infected. (Negative values make constitution fall)', 1723 desc => 'The player\'s constitution will rise by the given value while being infected. (Negative values make constitution fall)',
1243 name => 'constitution', 1724 name => 'constitution',
1244 type => 'int' 1725 type => 'int'
1726 }
1245 }, 1727 ],
1246 Dex => { 1728 [
1247 desc => 'The player\'s dexterity will rise by the given value while being infected. (Negative values make dexterity fall)', 1729 'Int',
1248 name => 'dexterity', 1730 {
1249 type => 'int'
1250 },
1251 Int => {
1252 desc => 'The player\'s intelligence will rise by the given value while being infected. (Negative values make intelligence fall)', 1731 desc => 'The player\'s intelligence will rise by the given value while being infected. (Negative values make intelligence fall)',
1253 name => 'intelligence', 1732 name => 'intelligence',
1254 type => 'int' 1733 type => 'int'
1734 }
1255 }, 1735 ],
1256 Pow => { 1736 [
1737 'Pow',
1738 {
1257 desc => 'The player\'s power will rise by the given value while being infected. (Negative values make power fall)', 1739 desc => 'The player\'s power will rise by the given value while being infected. (Negative values make power fall)',
1258 name => 'power', 1740 name => 'power',
1259 type => 'int' 1741 type => 'int'
1742 }
1260 }, 1743 ],
1261 Str => { 1744 [
1262 desc => 'The player\'s strength will rise by the given value while being infected. (Negative values make strength fall)', 1745 'Wis',
1263 name => 'strength', 1746 {
1264 type => 'int'
1265 },
1266 Wis => {
1267 desc => 'The player\'s wisdom will rise by the given value while being infected. (Negative values make wisdom fall)', 1747 desc => 'The player\'s wisdom will rise by the given value while being infected. (Negative values make wisdom fall)',
1268 name => 'wisdom', 1748 name => 'wisdom',
1269 type => 'int' 1749 type => 'int'
1270 } 1750 }
1271 } 1751 ],
1752 [
1753 'Cha',
1754 {
1755 desc => 'The player\'s charisma will rise by the given value while being infected. (Negative values make charisma fall)',
1756 name => 'charisma',
1757 type => 'int'
1758 }
1759 ]
1760 ]
1272 ] 1761 ]
1273 ], 1762 ],
1274 use => 'Diseases are extremely flexible and usable in a many ways. So far they are mostly used for causing bad, unwanted effects. You could just as well create a disease which helps the player (recharging mana for example). Infection with a "positive disease" could even be a quest reward.' 1763 use => 'Diseases are extremely flexible and usable in a many ways. So far they are mostly used for causing bad, unwanted effects. You could just as well create a disease which helps the player (recharging mana for example). Infection with a "positive disease" could even be a quest reward.'
1275 }, 1764 },
1276 Duplicator => { 1765 Duplicator => {
1277 attr => { 1766 attr => [
1278 connected => { 1767 [
1768 'other_arch',
1769 {
1770 desc => 'Only objects of matching archtype, lying ontop of the dublicator will be dublicated, multiplied or removed. All other objects will be ignored.',
1771 name => 'target arch',
1772 type => 'string'
1773 }
1774 ],
1775 [
1776 'level',
1777 {
1778 desc => 'The number of items in the target pile will be multiplied by the <multiply factor>. If it is set to zero, all target objects will be destroyed.',
1779 name => 'multiply factor',
1780 type => 'int'
1781 }
1782 ],
1783 [
1784 'connected',
1785 {
1279 desc => 'An activator (lever, altar, button, etc) with matching connection value is able to trigger this duplicator. Be very careful that players cannot abuse it to create endless amounts of money or other valuable stuff!', 1786 desc => 'An activator (lever, altar, button, etc) with matching connection value is able to trigger this duplicator. Be very careful that players cannot abuse it to create endless amounts of money or other valuable stuff!',
1280 name => 'connection', 1787 name => 'connection',
1281 type => 'int' 1788 type => 'int'
1282 }, 1789 }
1283 level => {
1284 desc => 'The number of items in the target pile will be multiplied by the <multiply factor>. If it is set to zero, all target objects will be destroyed.',
1285 name => 'multiply factor',
1286 type => 'int'
1287 },
1288 other_arch => {
1289 desc => 'Only objects of matching archtype, lying ontop of the dublicator will be dublicated, multiplied or removed. All other objects will be ignored.',
1290 name => 'target arch',
1291 type => 'string'
1292 } 1790 ]
1293 }, 1791 ],
1294 desc => 'When activated, a duplicator can duplicate, multiply or destroy a pile of objects which lies somewhere on top of the duplicator. The duplicator has one arch name specified as &lt;target arch&gt;, and only objects of this archetype can be affected.<br> It will multiply the number of items in the pile, by the &lt;multiply factor&gt;. If the latter is set to zero, it will destroy objects.', 1792 desc => 'When activated, a duplicator can duplicate, multiply or destroy a pile of objects which lies somewhere on top of the duplicator. The duplicator has one arch name specified as &lt;target arch&gt;, and only objects of this archetype can be affected.<br> It will multiply the number of items in the pile, by the &lt;multiply factor&gt;. If the latter is set to zero, it will destroy objects.',
1295 ignore => [ 1793 ignore => [
1296 $IGNORE_LIST{system_object} 1794 $IGNORE_LIST{system_object}
1297 ], 1795 ],
1298 name => 'Duplicator', 1796 name => 'Duplicator',
1299 use => 'I hope it is clear that one must be very cautious when inserting a duplicator anywhere with &lt;multiply factor&gt; greater than one. It is designed to be used for betting mechanisms only (bet -&gt; win/loose). It is <b>not acceptable</b> to allow duplication of anything other than coins, gold and jewels. Besides, it is very important that the chance to loose the input matches the chance to earn winnings.<br> A duplicator with &lt;multiply factor&gt; 3 for example should have a loosing rate of 2/3 = 67%.' 1797 use => 'I hope it is clear that one must be very cautious when inserting a duplicator anywhere with &lt;multiply factor&gt; greater than one. It is designed to be used for betting mechanisms only (bet -&gt; win/loose). It is <b>not acceptable</b> to allow duplication of anything other than coins, gold and jewels. Besides, it is very important that the chance to loose the input matches the chance to earn winnings.<br> A duplicator with &lt;multiply factor&gt; 3 for example should have a loosing rate of 2/3 = 67%.'
1300 }, 1798 },
1301 Exit => { 1799 Exit => {
1302 attr => { 1800 attr => [
1303 fly_on => {
1304 desc => 'If set, the player will apply the exit by "flying into it". Flying means the player is levitating. E.g. wearing levitation boots.',
1305 name => 'apply by flying',
1306 type => 'bool'
1307 }, 1801 [
1308 hp => { 1802 'slaying',
1309 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map- properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.', 1803 {
1310 name => 'destination X',
1311 type => 'int'
1312 },
1313 msg => {
1314 desc => 'If set, this message will be displayed to the player when he applies the exit. This is quite useful to throw in some "role-play feeling": "As you enter the dark cave you hear the sound of rustling dragonscales...". Well, my english is poor, but you get the point. =)',
1315 end => 'endmsg',
1316 name => 'exit message',
1317 type => 'text'
1318 },
1319 slaying => {
1320 desc => 'The exit path defines the map that the player is transferred to. You can enter an absolute path, beginning with \'/\' (for example "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning with \'/\' (On the map "/peterm/FireTemple/Fire2" for example I could use the relative path "Fire1"). Use relative paths whenever possible! Note that upper/lower case must always be set correctly. However, please use lower case only. It is well possible to have an exit pointing to the same map that the exit is on. If slaying is not set in an exit, the player will see a message like "the exit is closed".', 1804 desc => 'The exit path defines the map that the player is transferred to. You can enter an absolute path, beginning with \'/\' (for example "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning with \'/\' (On the map "/peterm/FireTemple/Fire2" for example I could use the relative path "Fire1"). Use relative paths whenever possible! Note that upper/lower case must always be set correctly. However, please use lower case only. It is well possible to have an exit pointing to the same map that the exit is on. If slaying is not set in an exit, the player will see a message like "the exit is closed".',
1321 name => 'exit path', 1805 name => 'exit path',
1322 type => 'string' 1806 type => 'string'
1807 }
1323 }, 1808 ],
1324 sp => { 1809 [
1810 'hp',
1811 {
1325 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map- properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.', 1812 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map- properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
1813 name => 'destination X',
1814 type => 'int'
1815 }
1816 ],
1817 [
1818 'sp',
1819 {
1820 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map- properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
1326 name => 'destination Y', 1821 name => 'destination Y',
1327 type => 'int' 1822 type => 'int'
1823 }
1328 }, 1824 ],
1329 unique => { 1825 [
1826 'walk_on',
1827 {
1828 desc => 'If set, the player will apply the exit by just walking into it. This must be set for the invisible exits for example. If unset, the player has to step onto the exit and press \'a\' to get transferred.',
1829 name => 'apply by walking',
1830 type => 'bool'
1831 }
1832 ],
1833 [
1834 'fly_on',
1835 {
1836 desc => 'If set, the player will apply the exit by "flying into it". Flying means the player is levitating. E.g. wearing levitation boots.',
1837 name => 'apply by flying',
1838 type => 'bool'
1839 }
1840 ],
1841 [
1842 'msg',
1843 {
1844 desc => 'If set, this message will be displayed to the player when he applies the exit. This is quite useful to throw in some "role-play feeling": "As you enter the dark cave you hear the sound of rustling dragonscales...". Well, my english is poor, but you get the point. =)',
1845 end => 'endmsg',
1846 name => 'exit message',
1847 type => 'text'
1848 }
1849 ],
1850 [
1851 'unique',
1852 {
1330 desc => 'This flag defines the destined map as "personal unique map". If set, there will be a seperate version of that map for every player out there. This feature is used for the permanent apartments (in Scorn/Nuernberg/Caterham...). It should not be used for anything else than apartments, since Crossfire is a *multi*player game. In such a permanent apartment don\'t forget to set the unique-flag for all floor tiles too (see floors). An exit pointing outside of a personal unique map must have the "unique destination"-flag unset.', 1853 desc => 'This flag defines the destined map as "personal unique map". If set, there will be a seperate version of that map for every player out there. This feature is used for the permanent apartments (in Scorn/Nuernberg/Caterham...). It should not be used for anything else than apartments, since Crossfire is a *multi*player game. In such a permanent apartment don\'t forget to set the unique-flag for all floor tiles too (see floors). An exit pointing outside of a personal unique map must have the "unique destination"-flag unset.',
1331 name => 'unique destination', 1854 name => 'unique destination',
1332 type => 'bool' 1855 type => 'bool'
1333 }, 1856 }
1334 walk_on => {
1335 desc => 'If set, the player will apply the exit by just walking into it. This must be set for the invisible exits for example. If unset, the player has to step onto the exit and press \'a\' to get transferred.',
1336 name => 'apply by walking',
1337 type => 'bool'
1338 } 1857 ]
1339 }, 1858 ],
1340 desc => 'When the player applies an exit, he is transferred to a different location. (Monsters cannot use exits.) Depending on how it is set, the player applies the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on the exit.', 1859 desc => 'When the player applies an exit, he is transferred to a different location. (Monsters cannot use exits.) Depending on how it is set, the player applies the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on the exit.',
1341 ignore => [ 1860 ignore => [
1342 $IGNORE_LIST{non_pickable} 1861 $IGNORE_LIST{non_pickable}
1343 ], 1862 ],
1344 name => 'Exit', 1863 name => 'Exit',
1345 use => 'If you want to have an invisible exit, set &lt;invisible&gt; (, of course &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be detected with the show_invisible spell. <br><br> You can be quite creative with the outlook of secret exits (their "face"). Don\'t forget to give the player relyable hints about them though.' 1864 use => 'If you want to have an invisible exit, set &lt;invisible&gt; (, of course &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be detected with the show_invisible spell. <br><br> You can be quite creative with the outlook of secret exits (their "face"). Don\'t forget to give the player relyable hints about them though.'
1346 }, 1865 },
1347 Flesh => { 1866 Flesh => {
1348 attr => { 1867 attr => [
1349 food => { 1868 [
1869 'food',
1870 {
1350 desc => 'The player\'s stomache will get filled with this amount of foodpoints. The player\'s health will increase by <foodpoints>/50 hp.', 1871 desc => 'The player\'s stomache will get filled with this amount of foodpoints. The player\'s health will increase by <foodpoints>/50 hp.',
1351 name => 'foodpoints', 1872 name => 'foodpoints',
1352 type => 'int' 1873 type => 'int'
1874 }
1353 }, 1875 ],
1354 level => { 1876 [
1877 'level',
1878 {
1355 desc => 'The <flesh level> is not visible to the players and it affects only dragon players. Normally this value reflects the level of the monster from which the flesh item originates. Dragon players always search for flesh of highest level possible, because it bears the best chance to gain high resistances.', 1879 desc => 'The <flesh level> is not visible to the players and it affects only dragon players. Normally this value reflects the level of the monster from which the flesh item originates. Dragon players always search for flesh of highest level possible, because it bears the best chance to gain high resistances.',
1356 name => 'flesh level', 1880 name => 'flesh level',
1357 type => 'int' 1881 type => 'int'
1882 }
1358 }, 1883 ],
1359 msg => {
1360 desc => 'This text may describe the item.',
1361 end => 'endmsg',
1362 name => 'description',
1363 type => 'text'
1364 }, 1884 [
1365 startequip => { 1885 'startequip',
1886 {
1366 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 1887 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
1367 name => 'godgiven item', 1888 name => 'godgiven item',
1368 type => 'bool' 1889 type => 'bool'
1890 }
1891 ],
1369 } 1892 [
1893 'msg',
1894 {
1895 desc => 'This text may describe the item.',
1896 end => 'endmsg',
1897 name => 'description',
1898 type => 'text'
1899 }
1900 ]
1370 }, 1901 ],
1371 desc => 'Just like with food, the player can fill his stomache and gain a little health by eating flesh-objects. <br> For dragon players, flesh plays a very special role though: If the flesh has resistances set, a dragon player has a chance to gain resistance in those cathegories. The only constraint to this process is the &lt;flesh level&gt;. Don\'t forget that flesh items with resistances have to be balanced according to map/monster difficulty.', 1902 desc => 'Just like with food, the player can fill his stomache and gain a little health by eating flesh-objects. <br> For dragon players, flesh plays a very special role though: If the flesh has resistances set, a dragon player has a chance to gain resistance in those cathegories. The only constraint to this process is the &lt;flesh level&gt;. Don\'t forget that flesh items with resistances have to be balanced according to map/monster difficulty.',
1372 name => 'Flesh', 1903 name => 'Flesh',
1373 section => [ 1904 section => [
1374 [ 1905 [
1375 'resistance', 1906 'resistance',
1376 { 1907 [
1377 resist_acid => { 1908 [
1909 'resist_physical',
1910 {
1378 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 1911 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1379 name => 'resist acid %', 1912 name => 'resist physical %',
1380 type => 'int' 1913 type => 'int'
1914 }
1381 }, 1915 ],
1382 resist_blind => { 1916 [
1917 'resist_magic',
1918 {
1383 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 1919 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1384 name => 'resist blinding %', 1920 name => 'resist magic %',
1385 type => 'int' 1921 type => 'int'
1922 }
1386 }, 1923 ],
1387 resist_chaos => { 1924 [
1925 'resist_fire',
1926 {
1388 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 1927 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1389 name => 'resist chaos %', 1928 name => 'resist fire %',
1390 type => 'int' 1929 type => 'int'
1930 }
1391 }, 1931 ],
1392 resist_cold => { 1932 [
1933 'resist_electricity',
1934 {
1393 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 1935 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1394 name => 'resist cold %', 1936 name => 'resist electricity %',
1395 type => 'int' 1937 type => 'int'
1938 }
1396 }, 1939 ],
1397 resist_confusion => { 1940 [
1941 'resist_cold',
1942 {
1398 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 1943 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1944 name => 'resist cold %',
1945 type => 'int'
1946 }
1947 ],
1948 [
1949 'resist_confusion',
1950 {
1951 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1399 name => 'resist confusion %', 1952 name => 'resist confusion %',
1400 type => 'int' 1953 type => 'int'
1954 }
1401 }, 1955 ],
1956 [
1957 'resist_acid',
1958 {
1959 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1960 name => 'resist acid %',
1961 type => 'int'
1962 }
1963 ],
1964 [
1965 'resist_drain',
1966 {
1967 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1968 name => 'resist draining %',
1969 type => 'int'
1970 }
1971 ],
1972 [
1973 'resist_weaponmagic',
1974 {
1975 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1976 name => 'resist weaponmagic %',
1977 type => 'int'
1978 }
1979 ],
1980 [
1981 'resist_ghosthit',
1982 {
1983 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1984 name => 'resist ghosthit %',
1985 type => 'int'
1986 }
1987 ],
1988 [
1989 'resist_poison',
1990 {
1991 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1992 name => 'resist poison %',
1993 type => 'int'
1994 }
1995 ],
1996 [
1997 'resist_slow',
1998 {
1999 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
2000 name => 'resist slow %',
2001 type => 'int'
2002 }
2003 ],
2004 [
2005 'resist_paralyze',
2006 {
2007 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
2008 name => 'resist paralyze %',
2009 type => 'int'
2010 }
2011 ],
2012 [
2013 'resist_fear',
2014 {
2015 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
2016 name => 'resist fear %',
2017 type => 'int'
2018 }
2019 ],
2020 [
2021 'resist_deplete',
2022 {
2023 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
2024 name => 'resist depletion %',
2025 type => 'int'
2026 }
2027 ],
2028 [
1402 resist_death => { 2029 'resist_death',
2030 {
1403 desc => 'RResistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 2031 desc => 'RResistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1404 name => 'resist death-attack %', 2032 name => 'resist death-attack %',
1405 type => 'int' 2033 type => 'int'
2034 }
1406 }, 2035 ],
1407 resist_deplete => { 2036 [
2037 'resist_chaos',
2038 {
1408 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 2039 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1409 name => 'resist depletion %', 2040 name => 'resist chaos %',
1410 type => 'int' 2041 type => 'int'
2042 }
1411 }, 2043 ],
1412 resist_drain => { 2044 [
2045 'resist_blind',
2046 {
1413 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.', 2047 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1414 name => 'resist draining %', 2048 name => 'resist blinding %',
1415 type => 'int' 2049 type => 'int'
1416 },
1417 resist_electricity => {
1418 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1419 name => 'resist electricity %',
1420 type => 'int'
1421 },
1422 resist_fear => {
1423 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1424 name => 'resist fear %',
1425 type => 'int'
1426 },
1427 resist_fire => {
1428 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1429 name => 'resist fire %',
1430 type => 'int'
1431 },
1432 resist_ghosthit => {
1433 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1434 name => 'resist ghosthit %',
1435 type => 'int'
1436 },
1437 resist_magic => {
1438 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1439 name => 'resist magic %',
1440 type => 'int'
1441 },
1442 resist_paralyze => {
1443 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1444 name => 'resist paralyze %',
1445 type => 'int'
1446 },
1447 resist_physical => {
1448 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1449 name => 'resist physical %',
1450 type => 'int'
1451 },
1452 resist_poison => {
1453 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1454 name => 'resist poison %',
1455 type => 'int'
1456 },
1457 resist_slow => {
1458 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1459 name => 'resist slow %',
1460 type => 'int'
1461 },
1462 resist_weaponmagic => {
1463 desc => 'Resistances on flesh items make them more durable against spellcraft of the appropriate kind. It also allows dragon players to eventually gain resistance by eating it. Usually resistance should only be set for flesh items in a monster\'s inventory.',
1464 name => 'resist weaponmagic %',
1465 type => 'int'
1466 } 2050 }
1467 } 2051 ]
2052 ]
1468 ] 2053 ]
1469 ], 2054 ],
1470 use => 'For dragon players, flesh items can be highly valuable. Note that many standard monsters carry flesh items from their &lt;treasurelist&gt;. These flesh items "inherit" resistances and level from the monster they belong to. When you add special flesh items to the inventory of a monster, this is not the case - so you have to set it manually. <br><br> Generally adding special flesh-treaties for dragon players is a great thing to do. Always consider that dragon players might really not be interested in that special piece of weapon or armour, so don\'t let the dragon-fellows miss out on the reward completely.' 2055 use => 'For dragon players, flesh items can be highly valuable. Note that many standard monsters carry flesh items from their &lt;treasurelist&gt;. These flesh items "inherit" resistances and level from the monster they belong to. When you add special flesh items to the inventory of a monster, this is not the case - so you have to set it manually. <br><br> Generally adding special flesh-treaties for dragon players is a great thing to do. Always consider that dragon players might really not be interested in that special piece of weapon or armour, so don\'t let the dragon-fellows miss out on the reward completely.'
1471 }, 2056 },
1472 Floor => { 2057 Floor => {
1473 attr => { 2058 attr => [
1474 damned => { 2059 [
2060 'is_floor',
2061 {
2062 type => 'fixed',
2063 value => 1
2064 }
2065 ],
2066 [
2067 'no_pick',
2068 {
2069 type => 'fixed',
2070 value => 1
2071 }
2072 ],
2073 [
2074 'no_pass',
2075 {
2076 desc => 'If set, the object cannot be passed by players nor monsters.',
2077 name => 'blocking passage',
2078 type => 'bool'
2079 }
2080 ],
2081 [
2082 'no_magic',
2083 {
2084 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
2085 name => 'no spells',
2086 type => 'bool'
2087 }
2088 ],
2089 [
2090 'damned',
2091 {
1475 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.', 2092 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
1476 name => 'no prayers', 2093 name => 'no prayers',
1477 type => 'bool' 2094 type => 'bool'
2095 }
1478 }, 2096 ],
1479 is_floor => {
1480 type => 'fixed',
1481 value => 1
1482 }, 2097 [
1483 msg => { 2098 'unique',
1484 desc => 'This text may describe the object.', 2099 {
1485 end => 'endmsg',
1486 name => 'description',
1487 type => 'text'
1488 },
1489 no_magic => {
1490 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
1491 name => 'no spells',
1492 type => 'bool'
1493 },
1494 no_pass => {
1495 desc => 'If set, the object cannot be passed by players nor monsters.',
1496 name => 'blocking passage',
1497 type => 'bool'
1498 },
1499 no_pick => {
1500 type => 'fixed',
1501 value => 1
1502 },
1503 unique => {
1504 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.', 2100 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.',
1505 name => 'unique map', 2101 name => 'unique map',
1506 type => 'bool' 2102 type => 'bool'
2103 }
2104 ],
1507 } 2105 [
2106 'msg',
2107 {
2108 desc => 'This text may describe the object.',
2109 end => 'endmsg',
2110 name => 'description',
2111 type => 'text'
2112 }
2113 ]
1508 }, 2114 ],
1509 desc => 'Floor is a very basic thing whithout too much functionality. It\'s a floor - you stand on it.', 2115 desc => 'Floor is a very basic thing whithout too much functionality. It\'s a floor - you stand on it.',
1510 ignore => [ 2116 ignore => [
1511 $IGNORE_LIST{non_pickable} 2117 $IGNORE_LIST{non_pickable}
1512 ], 2118 ],
1513 name => 'Floor', 2119 name => 'Floor',
1516 is_floor => 1 2122 is_floor => 1
1517 }, 2123 },
1518 section => [ 2124 section => [
1519 [ 2125 [
1520 'terrain', 2126 'terrain',
1521 { 2127 [
1522 is_hilly => { 2128 [
1523 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.', 2129 'slow_move',
1524 name => 'hilly terrain', 2130 {
1525 type => 'bool'
1526 },
1527 is_wooded => {
1528 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
1529 name => 'wooded terrain',
1530 type => 'bool'
1531 },
1532 slow_move => {
1533 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)', 2131 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)',
1534 name => 'slow movement', 2132 name => 'slow movement',
1535 type => 'int' 2133 type => 'int'
1536 } 2134 }
1537 } 2135 ],
2136 [
2137 'is_wooded',
2138 {
2139 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
2140 name => 'wooded terrain',
2141 type => 'bool'
2142 }
2143 ],
2144 [
2145 'is_hilly',
2146 {
2147 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.',
2148 name => 'hilly terrain',
2149 type => 'bool'
2150 }
2151 ]
2152 ]
1538 ] 2153 ]
1539 ] 2154 ]
1540 }, 2155 },
1541 'Floor (Encounter)' => { 2156 'Floor (Encounter)' => {
1542 attr => { 2157 attr => [
1543 damned => { 2158 [
2159 'is_floor',
2160 {
2161 type => 'fixed',
2162 value => 1
2163 }
2164 ],
2165 [
2166 'no_pick',
2167 {
2168 type => 'fixed',
2169 value => 1
2170 }
2171 ],
2172 [
2173 'no_pass',
2174 {
2175 desc => 'If set, the object cannot be passed by players nor monsters.',
2176 name => 'blocking passage',
2177 type => 'bool'
2178 }
2179 ],
2180 [
2181 'no_magic',
2182 {
2183 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
2184 name => 'no spells',
2185 type => 'bool'
2186 }
2187 ],
2188 [
2189 'damned',
2190 {
1544 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.', 2191 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
1545 name => 'no prayers', 2192 name => 'no prayers',
1546 type => 'bool' 2193 type => 'bool'
2194 }
1547 }, 2195 ],
1548 is_floor => {
1549 type => 'fixed',
1550 value => 1
1551 }, 2196 [
1552 msg => { 2197 'unique',
1553 desc => 'This text may describe the object.', 2198 {
1554 end => 'endmsg',
1555 name => 'description',
1556 type => 'text'
1557 },
1558 no_magic => {
1559 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
1560 name => 'no spells',
1561 type => 'bool'
1562 },
1563 no_pass => {
1564 desc => 'If set, the object cannot be passed by players nor monsters.',
1565 name => 'blocking passage',
1566 type => 'bool'
1567 },
1568 no_pick => {
1569 type => 'fixed',
1570 value => 1
1571 },
1572 unique => {
1573 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.', 2199 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.',
1574 name => 'unique map', 2200 name => 'unique map',
1575 type => 'bool' 2201 type => 'bool'
2202 }
2203 ],
1576 } 2204 [
2205 'msg',
2206 {
2207 desc => 'This text may describe the object.',
2208 end => 'endmsg',
2209 name => 'description',
2210 type => 'text'
2211 }
2212 ]
1577 }, 2213 ],
1578 desc => 'Encounter-Floor is pretty much the same as normal floor. Most outdoor floor/ground-arches are set to be "encounters". That is kind of a relict from former code: When walking over encounter-floor, players sometimes got beamed to little maps with monsters on them. Nowadays this feature is disabled - Hence encounter floor is not different from normal floor.', 2214 desc => 'Encounter-Floor is pretty much the same as normal floor. Most outdoor floor/ground-arches are set to be "encounters". That is kind of a relict from former code: When walking over encounter-floor, players sometimes got beamed to little maps with monsters on them. Nowadays this feature is disabled - Hence encounter floor is not different from normal floor.',
1579 ignore => [ 2215 ignore => [
1580 $IGNORE_LIST{non_pickable} 2216 $IGNORE_LIST{non_pickable}
1581 ], 2217 ],
1582 name => 'Floor (Encounter)', 2218 name => 'Floor (Encounter)',
1583 section => [ 2219 section => [
1584 [ 2220 [
1585 'terrain', 2221 'terrain',
1586 { 2222 [
1587 is_hilly => { 2223 [
1588 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.', 2224 'slow_move',
1589 name => 'hilly terrain', 2225 {
1590 type => 'bool'
1591 },
1592 is_wooded => {
1593 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
1594 name => 'wooded terrain',
1595 type => 'bool'
1596 },
1597 slow_move => {
1598 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)', 2226 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)',
1599 name => 'slow movement', 2227 name => 'slow movement',
1600 type => 'int' 2228 type => 'int'
1601 } 2229 }
1602 } 2230 ],
2231 [
2232 'is_wooded',
2233 {
2234 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
2235 name => 'wooded terrain',
2236 type => 'bool'
2237 }
2238 ],
2239 [
2240 'is_hilly',
2241 {
2242 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.',
2243 name => 'hilly terrain',
2244 type => 'bool'
2245 }
2246 ]
2247 ]
1603 ] 2248 ]
1604 ] 2249 ]
1605 }, 2250 },
1606 Food => { 2251 Food => {
1607 attr => { 2252 attr => [
1608 food => { 2253 [
2254 'food',
2255 {
1609 desc => 'The player\'s stomache will get filled with this amount of foodpoints. The player\'s health will increase by <foodpoints>/50 hp.', 2256 desc => 'The player\'s stomache will get filled with this amount of foodpoints. The player\'s health will increase by <foodpoints>/50 hp.',
1610 name => 'foodpoints', 2257 name => 'foodpoints',
1611 type => 'int' 2258 type => 'int'
2259 }
1612 }, 2260 ],
1613 startequip => { 2261 [
2262 'startequip',
2263 {
1614 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 2264 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
1615 name => 'godgiven item', 2265 name => 'godgiven item',
1616 type => 'bool' 2266 type => 'bool'
2267 }
1617 } 2268 ]
1618 }, 2269 ],
1619 desc => 'By eating/drinking food-objects, the player can fill his stomache and gain a little health.', 2270 desc => 'By eating/drinking food-objects, the player can fill his stomache and gain a little health.',
1620 name => 'Food' 2271 name => 'Food'
1621 }, 2272 },
1622 Gate => { 2273 Gate => {
1623 attr => { 2274 attr => [
1624 connected => { 2275 [
2276 'no_pick',
2277 {
2278 type => 'fixed',
2279 value => 1
2280 }
2281 ],
2282 [
2283 'connected',
2284 {
1625 desc => 'Whenever the inventory checker is triggered, all objects with identical <connection> value get activated. This only makes sense together with <blocking passage> disabled.', 2285 desc => 'Whenever the inventory checker is triggered, all objects with identical <connection> value get activated. This only makes sense together with <blocking passage> disabled.',
1626 name => 'connection', 2286 name => 'connection',
1627 type => 'int' 2287 type => 'int'
2288 }
1628 }, 2289 ],
1629 damned => { 2290 [
2291 'wc',
2292 {
2293 desc => 'The <position state> defines the position of the gate: Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state. I suggest you don\'t mess with this value - Leave the default in place.',
2294 name => 'position state',
2295 type => 'int'
2296 }
2297 ],
2298 [
2299 'no_pass',
2300 {
2301 desc => 'For open gates, <blocking passage> should be unset. For closed gates it must be set.',
2302 name => 'blocking passage',
2303 type => 'bool'
2304 }
2305 ],
2306 [
2307 'no_magic',
2308 {
2309 desc => 'Restricting the use of spells to pass this gate. This has an effect only if <block view> is disabled.',
2310 name => 'restrict spells',
2311 type => 'bool'
2312 }
2313 ],
2314 [
2315 'damned',
2316 {
1630 desc => 'Restricting the use of prayers to pass this door. This has an effect only if <block view> is disabled.', 2317 desc => 'Restricting the use of prayers to pass this door. This has an effect only if <block view> is disabled.',
1631 name => 'restrict prayers', 2318 name => 'restrict prayers',
1632 type => 'bool' 2319 type => 'bool'
1633 }, 2320 }
1634 no_magic => {
1635 desc => 'Restricting the use of spells to pass this gate. This has an effect only if <block view> is disabled.',
1636 name => 'restrict spells',
1637 type => 'bool'
1638 },
1639 no_pass => {
1640 desc => 'For open gates, <blocking passage> should be unset. For closed gates it must be set.',
1641 name => 'blocking passage',
1642 type => 'bool'
1643 },
1644 no_pick => {
1645 type => 'fixed',
1646 value => 1
1647 },
1648 wc => {
1649 desc => 'The <position state> defines the position of the gate: Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state. I suggest you don\'t mess with this value - Leave the default in place.',
1650 name => 'position state',
1651 type => 'int'
1652 } 2321 ]
1653 }, 2322 ],
1654 desc => 'Gates play an important role in Crossfire. Gates can be opened by activating a button/trigger, by speaking passwords (-> magic_ear) or carrying special key-objects (-> inventory checker). Unlike locked doors, gates can get shut again after a player has passed, which makes them more practical in many cases.', 2323 desc => 'Gates play an important role in Crossfire. Gates can be opened by activating a button/trigger, by speaking passwords (-> magic_ear) or carrying special key-objects (-> inventory checker). Unlike locked doors, gates can get shut again after a player has passed, which makes them more practical in many cases.',
1655 ignore => [ 2324 ignore => [
1656 $IGNORE_LIST{non_pickable} 2325 $IGNORE_LIST{non_pickable}
1657 ], 2326 ],
1658 name => 'Gate', 2327 name => 'Gate',
1659 use => 'Use gates to divide your maps into seperated areas. After solving area A, the player gains access to area B, and so on. Make your maps more complex than "one-way".' 2328 use => 'Use gates to divide your maps into seperated areas. After solving area A, the player gains access to area B, and so on. Make your maps more complex than "one-way".'
1660 }, 2329 },
1661 Girdle => { 2330 Girdle => {
1662 attr => { 2331 attr => [
1663 magic => { 2332 [
2333 'magic',
2334 {
1664 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the helmet. Important: <magic bonus> on girdles has no effect if there is no <armour class> set. Girdles shouldn\'t have <armour class>, thus <magic bonus> is pointless here.', 2335 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the helmet. Important: <magic bonus> on girdles has no effect if there is no <armour class> set. Girdles shouldn\'t have <armour class>, thus <magic bonus> is pointless here.',
1665 name => 'magic bonus', 2336 name => 'magic bonus',
1666 type => 'int' 2337 type => 'int'
2338 }
1667 } 2339 ]
1668 }, 2340 ],
1669 desc => 'Wearing a girdle, the object\'s stats will directly be inherited to the player. Girdles usually provide stats- or damage bonuses and no defense.', 2341 desc => 'Wearing a girdle, the object\'s stats will directly be inherited to the player. Girdles usually provide stats- or damage bonuses and no defense.',
1670 import => [ 2342 import => [
1671 $TYPE{Amulet} 2343 $TYPE{Amulet}
1672 ], 2344 ],
1673 name => 'Girdle', 2345 name => 'Girdle',
1674 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 2346 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
1675 }, 2347 },
1676 Gloves => { 2348 Gloves => {
1677 attr => { 2349 attr => [
1678 magic => { 2350 [
2351 'magic',
2352 {
1679 desc => 'If the gloves provide <armour class>, <magic bonus> will increase it. If the gloves have <weapon class> instead, then <magic bonus> will increase that.', 2353 desc => 'If the gloves provide <armour class>, <magic bonus> will increase it. If the gloves have <weapon class> instead, then <magic bonus> will increase that.',
1680 name => 'magic bonus', 2354 name => 'magic bonus',
1681 type => 'int' 2355 type => 'int'
2356 }
1682 } 2357 ]
1683 }, 2358 ],
1684 desc => 'Wearing gloves, the object\'s stats will directly be inherited to the player. Gloves can add defense or damage bonuses.', 2359 desc => 'Wearing gloves, the object\'s stats will directly be inherited to the player. Gloves can add defense or damage bonuses.',
1685 import => [ 2360 import => [
1686 $TYPE{Amulet} 2361 $TYPE{Amulet}
1687 ], 2362 ],
1688 name => 'Gloves', 2363 name => 'Gloves',
1689 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 2364 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
1690 }, 2365 },
1691 Handle => { 2366 Handle => {
1692 attr => { 2367 attr => [
1693 connected => { 2368 [
2369 'no_pick',
2370 {
2371 type => 'fixed',
2372 value => 1
2373 }
2374 ],
2375 [
2376 'connected',
2377 {
1694 desc => 'Every time the handle is applied, all objects with the same <connection> value are activated.', 2378 desc => 'Every time the handle is applied, all objects with the same <connection> value are activated.',
1695 name => 'connection', 2379 name => 'connection',
1696 type => 'int' 2380 type => 'int'
2381 }
1697 }, 2382 ],
1698 msg => { 2383 [
2384 'msg',
2385 {
1699 desc => 'This text may describe the item. You can use this message to explain the handle\'s purpose to the player.', 2386 desc => 'This text may describe the item. You can use this message to explain the handle\'s purpose to the player.',
1700 end => 'endmsg', 2387 end => 'endmsg',
1701 name => 'description', 2388 name => 'description',
1702 type => 'text' 2389 type => 'text'
1703 }, 2390 }
1704 no_pick => {
1705 type => 'fixed',
1706 value => 1
1707 } 2391 ]
1708 }, 2392 ],
1709 desc => 'A handle can be applied by players and (certain) monsters. Every time it is applied, the &lt;connection&gt; value is triggered.', 2393 desc => 'A handle can be applied by players and (certain) monsters. Every time it is applied, the &lt;connection&gt; value is triggered.',
1710 ignore => [ 2394 ignore => [
1711 $IGNORE_LIST{non_pickable} 2395 $IGNORE_LIST{non_pickable}
1712 ], 2396 ],
1713 name => 'Handle', 2397 name => 'Handle',
1723 ], 2407 ],
1724 name => 'Handle Trigger', 2408 name => 'Handle Trigger',
1725 use => 'When you connect an ordinary handle to a gate, the gate normally remains opened after the first player passed. If you want to keep the gate shut, connecting it to a handle trigger is an easy solution.' 2409 use => 'When you connect an ordinary handle to a gate, the gate normally remains opened after the first player passed. If you want to keep the gate shut, connecting it to a handle trigger is an easy solution.'
1726 }, 2410 },
1727 'Hazard Floor' => { 2411 'Hazard Floor' => {
1728 attr => { 2412 attr => [
1729 attacktype => { 2413 [
2414 'is_floor',
2415 {
2416 type => 'fixed',
2417 value => 1
2418 }
2419 ],
2420 [
2421 'lifesave',
2422 {
2423 type => 'fixed',
2424 value => 1
2425 }
2426 ],
2427 [
2428 'walk_on',
2429 {
2430 type => 'fixed',
2431 value => 1
2432 }
2433 ],
2434 [
2435 'no_pick',
2436 {
2437 type => 'fixed',
2438 value => 1
2439 }
2440 ],
2441 [
2442 'attacktype',
2443 {
1730 desc => 'This attribute specifys the attacktypes that this floor uses to damage it\'s victims. Attacktypes are: physical, fire, cold.. etc. If you want a real tough hazard floor, add more than just one attacktype.', 2444 desc => 'This attribute specifys the attacktypes that this floor uses to damage it\'s victims. Attacktypes are: physical, fire, cold.. etc. If you want a real tough hazard floor, add more than just one attacktype.',
1731 name => 'attacktype', 2445 name => 'attacktype',
1732 type => 'bitmask', 2446 type => 'bitmask',
1733 value => $BITMASK{attacktype} 2447 value => $BITMASK{attacktype}
2448 }
1734 }, 2449 ],
1735 dam => { 2450 [
2451 'dam',
2452 {
1736 desc => 'The <base damage> defines how much damage is inflicted to the victim per hit. The final damage is influenced by several other factors like the victim\'s resistance and level.', 2453 desc => 'The <base damage> defines how much damage is inflicted to the victim per hit. The final damage is influenced by several other factors like the victim\'s resistance and level.',
1737 name => 'base damage', 2454 name => 'base damage',
1738 type => 'int' 2455 type => 'int'
2456 }
1739 }, 2457 ],
1740 damned => { 2458 [
1741 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.', 2459 'wc',
1742 name => 'no prayers', 2460 {
1743 type => 'bool' 2461 desc => '<weapon class> improves the chance of hitting the victim. Lower values are better. Usually, hazard floors like lava are supposed to hit the victim all the time. Therefore, <weaponclass> should be set to something like -30.',
2462 name => 'weaponclass',
2463 type => 'int'
2464 }
1744 }, 2465 ],
1745 is_floor => {
1746 type => 'fixed',
1747 value => 1
1748 }, 2466 [
1749 level => { 2467 'level',
2468 {
1750 desc => 'I guess this value is supposed to work similar to monster levels. But in fact, it does not seem to have an effect. Set any non-zero value to be on the safe side.', 2469 desc => 'I guess this value is supposed to work similar to monster levels. But in fact, it does not seem to have an effect. Set any non-zero value to be on the safe side.',
1751 name => 'attack level', 2470 name => 'attack level',
1752 type => 'int' 2471 type => 'int'
2472 }
1753 }, 2473 ],
1754 lifesave => {
1755 type => 'fixed',
1756 value => 1
1757 }, 2474 [
1758 no_magic => { 2475 'no_magic',
2476 {
1759 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.', 2477 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
1760 name => 'no spells', 2478 name => 'no spells',
1761 type => 'bool' 2479 type => 'bool'
2480 }
1762 }, 2481 ],
1763 no_pick => { 2482 [
1764 type => 'fixed', 2483 'damned',
1765 value => 1 2484 {
2485 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
2486 name => 'no prayers',
2487 type => 'bool'
2488 }
1766 }, 2489 ],
1767 unique => { 2490 [
2491 'unique',
2492 {
1768 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.', 2493 desc => 'Unique floor means that any items dropped on that spot will be saved byond map reset. For permanent apartments, all floor tiles must be set <unique map>.',
1769 name => 'unique map', 2494 name => 'unique map',
1770 type => 'bool' 2495 type => 'bool'
1771 }, 2496 }
1772 walk_on => {
1773 type => 'fixed',
1774 value => 1
1775 },
1776 wc => {
1777 desc => '<weapon class> improves the chance of hitting the victim. Lower values are better. Usually, hazard floors like lava are supposed to hit the victim all the time. Therefore, <weaponclass> should be set to something like -30.',
1778 name => 'weaponclass',
1779 type => 'int'
1780 } 2497 ]
1781 }, 2498 ],
1782 desc => 'The best example for Hazard Floor is lava. It works like standard floor, but damages all creatures standing on it. Damage is taken in regular time intervals.', 2499 desc => 'The best example for Hazard Floor is lava. It works like standard floor, but damages all creatures standing on it. Damage is taken in regular time intervals.',
1783 ignore => [ 2500 ignore => [
1784 $IGNORE_LIST{non_pickable} 2501 $IGNORE_LIST{non_pickable}
1785 ], 2502 ],
1786 name => 'Hazard Floor', 2503 name => 'Hazard Floor',
1788 is_floor => 1 2505 is_floor => 1
1789 }, 2506 },
1790 section => [ 2507 section => [
1791 [ 2508 [
1792 'terrain', 2509 'terrain',
1793 { 2510 [
1794 is_hilly => { 2511 [
1795 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.', 2512 'slow_move',
1796 name => 'hilly terrain', 2513 {
1797 type => 'bool'
1798 },
1799 is_wooded => {
1800 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
1801 name => 'wooded terrain',
1802 type => 'bool'
1803 },
1804 slow_move => {
1805 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)', 2514 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 7 - spider web (sticky as hell)',
1806 name => 'slow movement', 2515 name => 'slow movement',
1807 type => 'int' 2516 type => 'int'
1808 } 2517 }
1809 } 2518 ],
2519 [
2520 'is_wooded',
2521 {
2522 desc => 'This flag indicates this spot contains wood or high grass. Players with activated woodsman skill can move faster here.',
2523 name => 'wooded terrain',
2524 type => 'bool'
2525 }
2526 ],
2527 [
2528 'is_hilly',
2529 {
2530 desc => 'This flag indicates this spot contains hills or large rocks. Players with activated mountaineer skill can move faster here.',
2531 name => 'hilly terrain',
2532 type => 'bool'
2533 }
2534 ]
2535 ]
1810 ] 2536 ]
1811 ], 2537 ],
1812 use => 'The default lava for example does minor damage. But you can turn it up so that your hazard floor poses a real threat.<br> Like magic walls, such floors add a permanent thrill to your map. You can use that to safely chase off too-weak players, or just to have something different.' 2538 use => 'The default lava for example does minor damage. But you can turn it up so that your hazard floor poses a real threat.<br> Like magic walls, such floors add a permanent thrill to your map. You can use that to safely chase off too-weak players, or just to have something different.'
1813 }, 2539 },
1814 Helmet => { 2540 Helmet => {
1815 attr => { 2541 attr => [
1816 magic => { 2542 [
2543 'magic',
2544 {
1817 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the helmet. Important: <magic bonus> on helmets has no effect if there is no <armour class> set. It only works in combination with <armour class>. Crowns for instance typically provide no <amour class>.', 2545 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the helmet. Important: <magic bonus> on helmets has no effect if there is no <armour class> set. It only works in combination with <armour class>. Crowns for instance typically provide no <amour class>.',
1818 name => 'magic bonus', 2546 name => 'magic bonus',
1819 type => 'int' 2547 type => 'int'
2548 }
1820 } 2549 ]
1821 }, 2550 ],
1822 desc => 'Wearing a helmet, the object\'s stats will directly be inherited to the player. Normal helmets usually increase defense, while crowns add more special bonuses like stats/resistances paired with low defense.', 2551 desc => 'Wearing a helmet, the object\'s stats will directly be inherited to the player. Normal helmets usually increase defense, while crowns add more special bonuses like stats/resistances paired with low defense.',
1823 import => [ 2552 import => [
1824 $TYPE{Amulet} 2553 $TYPE{Amulet}
1825 ], 2554 ],
1826 name => 'Helmet', 2555 name => 'Helmet',
1827 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 2556 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
1828 }, 2557 },
1829 'Holy Altar' => { 2558 'Holy Altar' => {
1830 attr => { 2559 attr => [
1831 level => { 2560 [
2561 'no_pick',
2562 {
2563 type => 'fixed',
2564 value => 1
2565 }
2566 ],
2567 [
2568 'other_arch',
2569 {
2570 desc => 'The altar belongs to the god of the given name. Possible options for <god name> are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg, Gorokh, Valriel and Sorig. If you want to have an unconsecrated altar, set <god name> 0 and eventually <reconsecrate level> 0.',
2571 name => 'god name',
2572 type => 'string'
2573 }
2574 ],
2575 [
2576 'level',
2577 {
1832 desc => 'To re-consecrate an altar, the player\'s wisdom level must be as high or higher than this value. In that way, some altars can not be re-consecrated, while other altars, like those in dungeons, could be. Altars located in temples should have at least <reconsecrate level> 100. Some characters might need those altars, they would be very unhappy to see them re-consecrated to another cult.', 2578 desc => 'To re-consecrate an altar, the player\'s wisdom level must be as high or higher than this value. In that way, some altars can not be re-consecrated, while other altars, like those in dungeons, could be. Altars located in temples should have at least <reconsecrate level> 100. Some characters might need those altars, they would be very unhappy to see them re-consecrated to another cult.',
1833 name => 'reconsecrate level', 2579 name => 'reconsecrate level',
1834 type => 'int' 2580 type => 'int'
1835 }, 2581 }
1836 no_pick => {
1837 type => 'fixed',
1838 value => 1
1839 },
1840 other_arch => {
1841 desc => 'The altar belongs to the god of the given name. Possible options for <god name> are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg, Gorokh, Valriel and Sorig. If you want to have an unconsecrated altar, set <god name> 0 and eventually <reconsecrate level> 0.',
1842 name => 'god name',
1843 type => 'string'
1844 } 2582 ]
1845 }, 2583 ],
1846 desc => 'Holy_altars are altars for the various religions. Praying at a Holy_altar will make you a follower of that god, and if you already follow that god, you may get some extra bonus.', 2584 desc => 'Holy_altars are altars for the various religions. Praying at a Holy_altar will make you a follower of that god, and if you already follow that god, you may get some extra bonus.',
1847 ignore => [ 2585 ignore => [
1848 $IGNORE_LIST{non_pickable} 2586 $IGNORE_LIST{non_pickable}
1849 ], 2587 ],
1850 name => 'Holy Altar' 2588 name => 'Holy Altar'
1851 }, 2589 },
1852 Horn => { 2590 Horn => {
1853 attr => { 2591 attr => [
1854 hp => { 2592 [
1855 desc => 'This value represents the initial amount of spellpoints in the horn. Naturally, this is quite unimportant.', 2593 'sp',
1856 name => 'initial spellpoints', 2594 {
1857 type => 'int' 2595 desc => 'Sets the <spell> of the horn. Consider twice before handing out any horns to players, since they can be used endlessly without any mana cost! Horns with heal/ restoration/ protection spells, IF available, MUST be very very VERY hard to get!',
2596 name => 'spell',
2597 type => 'spell'
2598 }
1858 }, 2599 ],
1859 level => { 2600 [
2601 'level',
2602 {
1860 desc => 'The casting level of the <spell> determines it\'s power. For attack spells, level should not be set too high.', 2603 desc => 'The casting level of the <spell> determines it\'s power. For attack spells, level should not be set too high.',
1861 name => 'casting level', 2604 name => 'casting level',
1862 type => 'int' 2605 type => 'int'
2606 }
1863 }, 2607 ],
1864 maxhp => { 2608 [
2609 'hp',
2610 {
2611 desc => 'This value represents the initial amount of spellpoints in the horn. Naturally, this is quite unimportant.',
2612 name => 'initial spellpoints',
2613 type => 'int'
2614 }
2615 ],
2616 [
2617 'maxhp',
2618 {
1865 desc => 'When the horn is fully charged up, it will hold this maximum amount of spellpoints. Make sure it is enough to cast the contained spell at least once. But don\'t set the value too high, as that might make the horn way too effective.', 2619 desc => 'When the horn is fully charged up, it will hold this maximum amount of spellpoints. Make sure it is enough to cast the contained spell at least once. But don\'t set the value too high, as that might make the horn way too effective.',
1866 name => 'max. spellpoints', 2620 name => 'max. spellpoints',
1867 type => 'int' 2621 type => 'int'
2622 }
1868 }, 2623 ],
1869 msg => {
1870 desc => 'This text may contain a description of the horn.',
1871 end => 'endmsg',
1872 name => 'description',
1873 type => 'text'
1874 }, 2624 [
1875 sp => { 2625 'startequip',
1876 desc => 'Sets the <spell> of the horn. Consider twice before handing out any horns to players, since they can be used endlessly without any mana cost! Horns with heal/ restoration/ protection spells, IF available, MUST be very very VERY hard to get!', 2626 {
1877 name => 'spell',
1878 type => 'spell'
1879 },
1880 startequip => {
1881 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 2627 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
1882 name => 'godgiven item', 2628 name => 'godgiven item',
1883 type => 'bool' 2629 type => 'bool'
2630 }
2631 ],
1884 } 2632 [
2633 'msg',
2634 {
2635 desc => 'This text may contain a description of the horn.',
2636 end => 'endmsg',
2637 name => 'description',
2638 type => 'text'
2639 }
2640 ]
1885 }, 2641 ],
1886 desc => 'Horns are very similar to rods. The difference is that horns regenerate spellpoints faster and thus are more valuable than rods. <br><br> A horn contains a spell. The player can use this spell by applying and "fireing" (blowing) the horn. Unlike wands/scrolls, horns can be used endlessly.', 2642 desc => 'Horns are very similar to rods. The difference is that horns regenerate spellpoints faster and thus are more valuable than rods. <br><br> A horn contains a spell. The player can use this spell by applying and "fireing" (blowing) the horn. Unlike wands/scrolls, horns can be used endlessly.',
1887 ignore => [ 2643 ignore => [
1888 'title' 2644 'title'
1889 ], 2645 ],
1890 name => 'Horn', 2646 name => 'Horn',
1891 use => 'Horns are powerful due to their fast recharge rate. They should never contain high level attacking spells. Even curing/healing spells are almost too good on a horn.' 2647 use => 'Horns are powerful due to their fast recharge rate. They should never contain high level attacking spells. Even curing/healing spells are almost too good on a horn.'
1892 }, 2648 },
1893 Inorganic => { 2649 Inorganic => {
1894 attr => { 2650 attr => [
1895 is_dust => { 2651 [
2652 'is_dust',
2653 {
1896 name => 'is dust', 2654 name => 'is dust',
1897 type => 'bool' 2655 type => 'bool'
2656 }
1898 } 2657 ]
1899 }, 2658 ],
1900 desc => 'Inorganic materials are generally used as ingredients for alchemical receipes. By themselves, they have no special functionalities.', 2659 desc => 'Inorganic materials are generally used as ingredients for alchemical receipes. By themselves, they have no special functionalities.',
1901 name => 'Inorganic', 2660 name => 'Inorganic',
1902 section => [ 2661 section => [
1903 [ 2662 [
1904 'resistance', 2663 'resistance',
1905 { 2664 [
1906 resist_acid => { 2665 [
2666 'resist_physical',
2667 {
1907 name => 'resist acid %', 2668 name => 'resist physical %',
1908 type => 'int' 2669 type => 'int'
2670 }
1909 }, 2671 ],
1910 resist_chaos => { 2672 [
2673 'resist_magic',
2674 {
1911 name => 'resist chaos %', 2675 name => 'resist magic %',
1912 type => 'int' 2676 type => 'int'
2677 }
1913 }, 2678 ],
1914 resist_cold => { 2679 [
2680 'resist_fire',
2681 {
2682 name => 'resist fire %',
2683 type => 'int'
2684 }
2685 ],
2686 [
2687 'resist_electricity',
2688 {
2689 name => 'resist electricity %',
2690 type => 'int'
2691 }
2692 ],
2693 [
2694 'resist_cold',
2695 {
1915 name => 'resist cold %', 2696 name => 'resist cold %',
1916 type => 'int' 2697 type => 'int'
2698 }
1917 }, 2699 ],
2700 [
2701 'resist_acid',
2702 {
2703 name => 'resist acid %',
2704 type => 'int'
2705 }
2706 ],
2707 [
2708 'resist_weaponmagic',
2709 {
2710 name => 'resist weaponmagic %',
2711 type => 'int'
2712 }
2713 ],
2714 [
2715 'resist_ghosthit',
2716 {
2717 name => 'resist ghosthit %',
2718 type => 'int'
2719 }
2720 ],
2721 [
2722 'resist_poison',
2723 {
2724 name => 'resist poison %',
2725 type => 'int'
2726 }
2727 ],
2728 [
1918 resist_death => { 2729 'resist_death',
2730 {
1919 name => 'resist death-attack %', 2731 name => 'resist death-attack %',
1920 type => 'int' 2732 type => 'int'
2733 }
1921 }, 2734 ],
1922 resist_electricity => { 2735 [
2736 'resist_chaos',
2737 {
1923 name => 'resist electricity %', 2738 name => 'resist chaos %',
1924 type => 'int' 2739 type => 'int'
2740 }
1925 }, 2741 ],
1926 resist_fire => { 2742 [
1927 name => 'resist fire %',
1928 type => 'int'
1929 },
1930 resist_ghosthit => {
1931 name => 'resist ghosthit %',
1932 type => 'int'
1933 },
1934 resist_holyword => { 2743 'resist_holyword',
2744 {
1935 name => 'resist holy power %', 2745 name => 'resist holy power %',
1936 type => 'int' 2746 type => 'int'
1937 },
1938 resist_magic => {
1939 name => 'resist magic %',
1940 type => 'int'
1941 },
1942 resist_physical => {
1943 name => 'resist physical %',
1944 type => 'int'
1945 },
1946 resist_poison => {
1947 name => 'resist poison %',
1948 type => 'int'
1949 },
1950 resist_weaponmagic => {
1951 name => 'resist weaponmagic %',
1952 type => 'int'
1953 } 2747 }
1954 } 2748 ]
2749 ]
1955 ] 2750 ]
1956 ] 2751 ]
1957 }, 2752 },
1958 'Inventory Checker' => { 2753 'Inventory Checker' => {
1959 attr => { 2754 attr => [
1960 connected => { 2755 [
2756 'no_pick',
2757 {
2758 type => 'fixed',
2759 value => 1
2760 }
2761 ],
2762 [
2763 'slaying',
2764 {
2765 desc => 'This string specifies the object we are looking for: We have a match if the player does/don\'t carry a key object or a mark with identical <key string>. Note that key objects usually appear as "passports" in this context. A typical example is the city gate mechanism of scorn.',
2766 name => 'match key string',
2767 type => 'string'
2768 }
2769 ],
2770 [
2771 'race',
2772 {
2773 desc => 'This string specifies the object we are looking for: We have a match if the player does/don\'t carry an object of archtype <match arch name>.',
2774 name => 'match arch name',
2775 type => 'string'
2776 }
2777 ],
2778 [
2779 'hp',
2780 {
2781 desc => 'This value specifies the object we are looking for: We have a match if the player does/don\'t carry an object that is of type <match type>. Example: Set <match type> 15 (type 15 => weapon) and <blocking passage> enabled. Now you have an inv. checker blocking all players that carry any kind of melee weapon. To pass, a player is forced to leave behind all his weaponry... bad news for a warrior. ;)',
2782 name => 'match type',
2783 type => 'int'
2784 }
2785 ],
2786 [
2787 'last_sp',
2788 {
2789 desc => 'Enabled means having that object is a match. Disabled means not having that object is a match.',
2790 name => 'match = having',
2791 type => 'bool'
2792 }
2793 ],
2794 [
2795 'connected',
2796 {
1961 desc => 'Whenever the inventory checker is triggered, all objects with identical <connection> value get activated. This only makes sense together with <blocking passage> disabled.', 2797 desc => 'Whenever the inventory checker is triggered, all objects with identical <connection> value get activated. This only makes sense together with <blocking passage> disabled.',
1962 name => 'connection', 2798 name => 'connection',
1963 type => 'int' 2799 type => 'int'
2800 }
1964 }, 2801 ],
1965 hp => {
1966 desc => 'This value specifies the object we are looking for: We have a match if the player does/don\'t carry an object that is of type <match type>. Example: Set <match type> 15 (type 15 => weapon) and <blocking passage> enabled. Now you have an inv. checker blocking all players that carry any kind of melee weapon. To pass, a player is forced to leave behind all his weaponry... bad news for a warrior. ;)',
1967 name => 'match type',
1968 type => 'int'
1969 }, 2802 [
1970 last_heal => { 2803 'no_pass',
1971 desc => '<remove match> means remove object if found. Setting this is usually not recommended because inv. checkers are in general invisible. So, unlike for altars/ locked doors, the player won\'t expect to lose an object when walking over that square. And he doesn\'t even get a message either. So, *if* you enable <remove match>, make sure to inform the player what\'s going on!', 2804 {
1972 name => 'remove match',
1973 type => 'bool'
1974 },
1975 last_sp => {
1976 desc => 'Enabled means having that object is a match. Disabled means not having that object is a match.',
1977 name => 'match = having',
1978 type => 'bool'
1979 },
1980 no_pass => {
1981 desc => 'If set, only players meeting the match criteria can pass through that space. If unset (default), the inventory checker acts like a trigger/button.', 2805 desc => 'If set, only players meeting the match criteria can pass through that space. If unset (default), the inventory checker acts like a trigger/button.',
1982 name => 'blocking passage', 2806 name => 'blocking passage',
1983 type => 'bool' 2807 type => 'bool'
2808 }
1984 }, 2809 ],
1985 no_pick => {
1986 type => 'fixed',
1987 value => 1
1988 },
1989 race => {
1990 desc => 'This string specifies the object we are looking for: We have a match if the player does/don\'t carry an object of archtype <match arch name>.',
1991 name => 'match arch name',
1992 type => 'string'
1993 },
1994 slaying => {
1995 desc => 'This string specifies the object we are looking for: We have a match if the player does/don\'t carry a key object or a mark with identical <key string>. Note that key objects usually appear as "passports" in this context. A typical example is the city gate mechanism of scorn.',
1996 name => 'match key string',
1997 type => 'string'
1998 } 2810 [
2811 'last_heal',
2812 {
2813 desc => '<remove match> means remove object if found. Setting this is usually not recommended because inv. checkers are in general invisible. So, unlike for altars/ locked doors, the player won\'t expect to lose an object when walking over that square. And he doesn\'t even get a message either. So, *if* you enable <remove match>, make sure to inform the player what\'s going on!',
2814 name => 'remove match',
2815 type => 'bool'
2816 }
2817 ]
1999 }, 2818 ],
2000 desc => 'Inventory checkers passively check the players inventory for a specific object. You can set a connected value that is triggered either if that object is present or missing (-&gt; "last_sp") when a player walks over the inv. checker. A valid option is to remove the matching object (usually not recommended, see "last_heal"). <br><br> Alternatively, you can set your inv. checker to block all players that do/don\'t carry the matching object (-&gt; "no_pass"). <br><br> As you can see, inv. checkers are quite powerful, holding a great variety of possibilities.', 2819 desc => 'Inventory checkers passively check the players inventory for a specific object. You can set a connected value that is triggered either if that object is present or missing (-&gt; "last_sp") when a player walks over the inv. checker. A valid option is to remove the matching object (usually not recommended, see "last_heal"). <br><br> Alternatively, you can set your inv. checker to block all players that do/don\'t carry the matching object (-&gt; "no_pass"). <br><br> As you can see, inv. checkers are quite powerful, holding a great variety of possibilities.',
2001 ignore => [ 2820 ignore => [
2002 $IGNORE_LIST{system_object} 2821 $IGNORE_LIST{system_object}
2003 ], 2822 ],
2004 name => 'Inventory Checker', 2823 name => 'Inventory Checker',
2005 use => 'Putting a check_inventory space in front of a gate (one below) and one on the opposite side works reasonably well as a control mechanism. Unlike the key/door-combo, this one works infinite since it is independant from map reset. Use it to put a "structure" into your maps: Player must solve area A to gain access to area B. This concept can be found in nearly every RPG - simple but effective.' 2824 use => 'Putting a check_inventory space in front of a gate (one below) and one on the opposite side works reasonably well as a control mechanism. Unlike the key/door-combo, this one works infinite since it is independant from map reset. Use it to put a "structure" into your maps: Player must solve area A to gain access to area B. This concept can be found in nearly every RPG - simple but effective.'
2006 }, 2825 },
2007 Jewel => { 2826 Jewel => {
2008 attr => { 2827 attr => [
2009 msg => { 2828 [
2829 'race',
2830 {
2831 type => 'fixed',
2832 value => 'gold and jewels'
2833 }
2834 ],
2835 [
2836 'msg',
2837 {
2010 desc => 'This text may describe the object.', 2838 desc => 'This text may describe the object.',
2011 end => 'endmsg', 2839 end => 'endmsg',
2012 name => 'description', 2840 name => 'description',
2013 type => 'text' 2841 type => 'text'
2014 }, 2842 }
2015 race => {
2016 type => 'fixed',
2017 value => 'gold and jewels'
2018 } 2843 ]
2019 }, 2844 ],
2020 desc => 'Items of the type Gold &amp; Jewels are handled like a currency. Unlike for any other type of item, in shops, the buy- and selling prices differ only marginally.', 2845 desc => 'Items of the type Gold &amp; Jewels are handled like a currency. Unlike for any other type of item, in shops, the buy- and selling prices differ only marginally.',
2021 name => 'Jewel' 2846 name => 'Jewel'
2022 }, 2847 },
2023 'Locked Door' => { 2848 'Locked Door' => {
2024 attr => { 2849 attr => [
2025 damned => { 2850 [
2026 desc => 'Restricting the use of prayers to pass this door. This should be set in most cases.', 2851 'no_pass',
2027 name => 'restrict prayers', 2852 {
2028 type => 'bool' 2853 type => 'fixed',
2854 value => 1
2855 }
2029 }, 2856 ],
2030 msg => { 2857 [
2031 desc => 'When a player is trying to open the door without carrying the appropriate key, this text is displayed to the player. This is a good opportunity to place hints about the special key needed to unlock the door.', 2858 'no_pick',
2032 end => 'endmsg', 2859 {
2033 name => 'lock message', 2860 type => 'fixed',
2034 type => 'text' 2861 value => 1
2862 }
2035 }, 2863 ],
2036 no_magic => { 2864 [
2865 'slaying',
2866 {
2867 desc => 'The <key string> in the door must be identical with the <key string> in the special key, then the door is unlocked. It is VERY important to set the <key string> to something that is unique among the CF mapset. DONT EVER USE the default string "set_individual_value".',
2868 name => 'key string',
2869 type => 'string'
2870 }
2871 ],
2872 [
2873 'no_magic',
2874 {
2037 desc => 'Restricting the use of spells to pass this door. This should be set in most cases. (Don\'t forget that the spell "dimension door" is easily available at about wisdom level 10).', 2875 desc => 'Restricting the use of spells to pass this door. This should be set in most cases. (Don\'t forget that the spell "dimension door" is easily available at about wisdom level 10).',
2038 name => 'restrict spells', 2876 name => 'restrict spells',
2039 type => 'bool' 2877 type => 'bool'
2878 }
2040 }, 2879 ],
2041 no_pass => { 2880 [
2042 type => 'fixed', 2881 'damned',
2043 value => 1 2882 {
2883 desc => 'Restricting the use of prayers to pass this door. This should be set in most cases.',
2884 name => 'restrict prayers',
2885 type => 'bool'
2886 }
2044 }, 2887 ],
2045 no_pick => {
2046 type => 'fixed',
2047 value => 1
2048 },
2049 slaying => {
2050 desc => 'The <key string> in the door must be identical with the <key string> in the special key, then the door is unlocked. It is VERY important to set the <key string> to something that is unique among the CF mapset. DONT EVER USE the default string "set_individual_value".',
2051 name => 'key string',
2052 type => 'string'
2053 } 2888 [
2889 'msg',
2890 {
2891 desc => 'When a player is trying to open the door without carrying the appropriate key, this text is displayed to the player. This is a good opportunity to place hints about the special key needed to unlock the door.',
2892 end => 'endmsg',
2893 name => 'lock message',
2894 type => 'text'
2895 }
2896 ]
2054 }, 2897 ],
2055 desc => 'A locked door can be opened only when carrying the appropriate special key.', 2898 desc => 'A locked door can be opened only when carrying the appropriate special key.',
2056 ignore => [ 2899 ignore => [
2057 $IGNORE_LIST{non_pickable} 2900 $IGNORE_LIST{non_pickable}
2058 ], 2901 ],
2059 name => 'Locked Door', 2902 name => 'Locked Door',
2060 use => 'If you want to create a locked door that cannot be opened (no key), set a &lt;key string&gt; like "no_key_available". This will clearify things and only a fool would create a key matching that string. Door-objects can not only be used for "doors". In many maps these are used with all kinds of faces/names, especially often as "magic force". A good example is the map "Lake_Country/ebony/masterlev". There you have magic forces (door objects) put under certain artifact items. To get your hands on the artifacts, you need to bring up the appropriate quest items (key objects).' 2903 use => 'If you want to create a locked door that cannot be opened (no key), set a &lt;key string&gt; like "no_key_available". This will clearify things and only a fool would create a key matching that string. Door-objects can not only be used for "doors". In many maps these are used with all kinds of faces/names, especially often as "magic force". A good example is the map "Lake_Country/ebony/masterlev". There you have magic forces (door objects) put under certain artifact items. To get your hands on the artifacts, you need to bring up the appropriate quest items (key objects).'
2061 }, 2904 },
2062 'Magic Ear' => { 2905 'Magic Ear' => {
2063 attr => { 2906 attr => [
2064 connected => { 2907 [
2908 'no_pick',
2909 {
2910 type => 'fixed',
2911 value => 1
2912 }
2913 ],
2914 [
2915 'connected',
2916 {
2065 desc => 'The Magic_ear will trigger all objects with the same connection value, every time it is activated.', 2917 desc => 'The Magic_ear will trigger all objects with the same connection value, every time it is activated.',
2066 name => 'connection', 2918 name => 'connection',
2067 type => 'int' 2919 type => 'int'
2920 }
2068 }, 2921 ],
2069 msg => { 2922 [
2923 'msg',
2924 {
2070 desc => 'This textfield contains the keyword-matching-syntax. The text should have the following format: "@match <keyword1>|<keyword2>|... ". Any number of keywords from one to infinite is allowed. Make sure they are seperated by a \'|\'. Examples: "@match yes", "@match gold|treasure". The connected value will be triggerd when the player speaks any of the given keywords within a two-square radius. IMPORTANT: Upper/lower case does not make a difference!', 2925 desc => 'This textfield contains the keyword-matching-syntax. The text should have the following format: "@match <keyword1>|<keyword2>|... ". Any number of keywords from one to infinite is allowed. Make sure they are seperated by a \'|\'. Examples: "@match yes", "@match gold|treasure". The connected value will be triggerd when the player speaks any of the given keywords within a two-square radius. IMPORTANT: Upper/lower case does not make a difference!',
2071 end => 'endmsg', 2926 end => 'endmsg',
2072 name => 'keyword-matching', 2927 name => 'keyword-matching',
2073 type => 'text' 2928 type => 'text'
2074 }, 2929 }
2075 no_pick => {
2076 type => 'fixed',
2077 value => 1
2078 } 2930 ]
2079 }, 2931 ],
2080 desc => 'Magic_ears trigger a connected value when the player speaks a specific keyword.', 2932 desc => 'Magic_ears trigger a connected value when the player speaks a specific keyword.',
2081 ignore => [ 2933 ignore => [
2082 $IGNORE_LIST{system_object} 2934 $IGNORE_LIST{system_object}
2083 ], 2935 ],
2084 name => 'Magic Ear', 2936 name => 'Magic Ear',
2085 use => 'Whenever you put magic_ears on your maps, make sure there are CLEAR and RELYABLE hints about the keywords somewhere. Don\'t make something like a gate that is opened by speaking "open" or "sesame", expecting the player to figure this out all by himself. <br><br> Magic_ears are typically used for interaction with NPCs. You can create the impression that the NPC actually *does* something according to his conversation with a player. Mostly this means opening a gate or handing out some item, but you could be quite creative here.' 2937 use => 'Whenever you put magic_ears on your maps, make sure there are CLEAR and RELYABLE hints about the keywords somewhere. Don\'t make something like a gate that is opened by speaking "open" or "sesame", expecting the player to figure this out all by himself. <br><br> Magic_ears are typically used for interaction with NPCs. You can create the impression that the NPC actually *does* something according to his conversation with a player. Mostly this means opening a gate or handing out some item, but you could be quite creative here.'
2086 }, 2938 },
2087 'Magic Wall' => { 2939 'Magic Wall' => {
2088 attr => { 2940 attr => [
2089 connected => { 2941 [
2942 'dam',
2943 {
2944 desc => 'The magic wall will cast this <spell>.',
2945 name => 'spell',
2946 type => 'spell'
2947 }
2948 ],
2949 [
2950 'level',
2951 {
2952 desc => 'The wall will cast it\'s spells at level <spell level>. "level 1" walls cast spells at minimal strength. "level 100" walls cast deadly spells. Arch default is level 1 - you should always set this value to meet the overall difficulty of your map.',
2953 name => 'spell level',
2954 type => 'int'
2955 }
2956 ],
2957 [
2958 'connected',
2959 {
2090 desc => 'Every time the <connection> value is triggered, the wall will cast it\'s spell. You should set <casting speed> to zero, or this won\'t have much visible effect.', 2960 desc => 'Every time the <connection> value is triggered, the wall will cast it\'s spell. You should set <casting speed> to zero, or this won\'t have much visible effect.',
2091 name => 'connection', 2961 name => 'connection',
2092 type => 'int' 2962 type => 'int'
2963 }
2093 }, 2964 ],
2094 dam => { 2965 [
2095 desc => 'The magic wall will cast this <spell>.', 2966 'speed',
2096 name => 'spell', 2967 {
2097 type => 'spell' 2968 desc => 'The <casting speed> defines the spellcasting speed of the wall. You can fine-tune how long the duration between two casts shall be. If you want to create a wall that can be activated (cast per trigger) via connected lever/button/etc, you must set "speed 0".',
2969 name => 'casting speed',
2970 type => 'float'
2971 }
2098 }, 2972 ],
2099 level => {
2100 desc => 'The wall will cast it\'s spells at level <spell level>. "level 1" walls cast spells at minimal strength. "level 100" walls cast deadly spells. Arch default is level 1 - you should always set this value to meet the overall difficulty of your map.',
2101 name => 'spell level',
2102 type => 'int'
2103 }, 2973 [
2104 no_pass => { 2974 'sp',
2105 desc => 'If set, the object cannot be passed by players nor monsters.', 2975 {
2106 name => 'blocking passage',
2107 type => 'bool'
2108 },
2109 sp => {
2110 desc => 'The magic wall will cast it\'s spells always in the specified <direction>. A magic wall with direction set to <none> will always fire in a random direction.', 2976 desc => 'The magic wall will cast it\'s spells always in the specified <direction>. A magic wall with direction set to <none> will always fire in a random direction.',
2111 name => 'direction', 2977 name => 'direction',
2112 type => 'list', 2978 type => 'list',
2113 value => $LIST{direction} 2979 value => $LIST{direction}
2980 }
2114 }, 2981 ],
2115 speed => {
2116 desc => 'The <casting speed> defines the spellcasting speed of the wall. You can fine-tune how long the duration between two casts shall be. If you want to create a wall that can be activated (cast per trigger) via connected lever/button/etc, you must set "speed 0".',
2117 name => 'casting speed',
2118 type => 'float'
2119 } 2982 [
2983 'no_pass',
2984 {
2985 desc => 'If set, the object cannot be passed by players nor monsters.',
2986 name => 'blocking passage',
2987 type => 'bool'
2988 }
2989 ]
2120 }, 2990 ],
2121 desc => 'Magic walls fire spells in a given direction, in regular intervals. Magic walls can contain any spell. However, some spells do not operate very successfully in them. The only way to know is to test the spell you want to use with a wall. <br><br> Several types of magical walls are predefined for you in the archetypes, and can be found on the "connected" Pickmap.', 2991 desc => 'Magic walls fire spells in a given direction, in regular intervals. Magic walls can contain any spell. However, some spells do not operate very successfully in them. The only way to know is to test the spell you want to use with a wall. <br><br> Several types of magical walls are predefined for you in the archetypes, and can be found on the "connected" Pickmap.',
2122 ignore => [ 2992 ignore => [
2123 $IGNORE_LIST{non_pickable} 2993 $IGNORE_LIST{non_pickable}
2124 ], 2994 ],
2125 name => 'Magic Wall', 2995 name => 'Magic Wall',
2126 section => [ 2996 section => [
2127 [ 2997 [
2128 'destroyable', 2998 'destroyable',
2129 { 2999 [
2130 ac => { 3000 [
2131 desc => 'A magic wall of high <armour class> is less likely to get hit from an opponent. <armour class> can be considered the "counterpiece" to <weapon class>.', 3001 'alive',
2132 name => 'armour class', 3002 {
2133 type => 'int'
2134 },
2135 alive => {
2136 desc => 'Walls with <is destroyable> enabled can be attacked and (eventually) destroyed by the player. If disabled, all other attributes on this tab, as well as resistances, are meaningless.', 3003 desc => 'Walls with <is destroyable> enabled can be attacked and (eventually) destroyed by the player. If disabled, all other attributes on this tab, as well as resistances, are meaningless.',
2137 name => 'is destroyable', 3004 name => 'is destroyable',
2138 type => 'bool' 3005 type => 'bool'
3006 }
2139 }, 3007 ],
2140 hp => { 3008 [
3009 'hp',
3010 {
2141 desc => 'The more <hitpoints> the wall has, the longer it takes to be destroyed.', 3011 desc => 'The more <hitpoints> the wall has, the longer it takes to be destroyed.',
2142 name => 'hitpoints', 3012 name => 'hitpoints',
2143 type => 'int' 3013 type => 'int'
3014 }
2144 }, 3015 ],
2145 maxhp => { 3016 [
3017 'maxhp',
3018 {
2146 desc => '<max hitpoints> are the maximum amount of hitpoints the wall can have. This only makes sense if the wall can regain health.', 3019 desc => '<max hitpoints> are the maximum amount of hitpoints the wall can have. This only makes sense if the wall can regain health.',
2147 name => 'max hitpoints', 3020 name => 'max hitpoints',
2148 type => 'int' 3021 type => 'int'
2149 } 3022 }
2150 } 3023 ],
3024 [
3025 'ac',
3026 {
3027 desc => 'A magic wall of high <armour class> is less likely to get hit from an opponent. <armour class> can be considered the "counterpiece" to <weapon class>.',
3028 name => 'armour class',
3029 type => 'int'
3030 }
3031 ]
3032 ]
2151 ], 3033 ],
2152 [ 3034 [
2153 'resistance', 3035 'resistance',
2154 { 3036 [
2155 resist_acid => { 3037 [
3038 'resist_physical',
3039 {
2156 name => 'resist acid %', 3040 name => 'resist physical %',
2157 type => 'int' 3041 type => 'int'
3042 }
2158 }, 3043 ],
2159 resist_blind => { 3044 [
3045 'resist_magic',
3046 {
2160 name => 'resist blinding %', 3047 name => 'resist magic %',
2161 type => 'int' 3048 type => 'int'
3049 }
2162 }, 3050 ],
2163 resist_chaos => { 3051 [
3052 'resist_fire',
3053 {
2164 name => 'resist chaos %', 3054 name => 'resist fire %',
2165 type => 'int' 3055 type => 'int'
3056 }
2166 }, 3057 ],
2167 resist_cold => { 3058 [
3059 'resist_electricity',
3060 {
3061 name => 'resist electricity %',
3062 type => 'int'
3063 }
3064 ],
3065 [
3066 'resist_cold',
3067 {
2168 name => 'resist cold %', 3068 name => 'resist cold %',
2169 type => 'int' 3069 type => 'int'
3070 }
2170 }, 3071 ],
3072 [
2171 resist_confusion => { 3073 'resist_confusion',
3074 {
2172 name => 'resist confusion %', 3075 name => 'resist confusion %',
2173 type => 'int' 3076 type => 'int'
3077 }
2174 }, 3078 ],
3079 [
3080 'resist_acid',
3081 {
3082 name => 'resist acid %',
3083 type => 'int'
3084 }
3085 ],
3086 [
3087 'resist_drain',
3088 {
3089 name => 'resist draining %',
3090 type => 'int'
3091 }
3092 ],
3093 [
3094 'resist_weaponmagic',
3095 {
3096 name => 'resist weaponmagic %',
3097 type => 'int'
3098 }
3099 ],
3100 [
3101 'resist_ghosthit',
3102 {
3103 name => 'resist ghosthit %',
3104 type => 'int'
3105 }
3106 ],
3107 [
3108 'resist_poison',
3109 {
3110 name => 'resist poison %',
3111 type => 'int'
3112 }
3113 ],
3114 [
3115 'resist_slow',
3116 {
3117 name => 'resist slow %',
3118 type => 'int'
3119 }
3120 ],
3121 [
3122 'resist_paralyze',
3123 {
3124 name => 'resist paralyze %',
3125 type => 'int'
3126 }
3127 ],
3128 [
3129 'resist_fear',
3130 {
3131 name => 'resist fear %',
3132 type => 'int'
3133 }
3134 ],
3135 [
3136 'resist_deplete',
3137 {
3138 name => 'resist depletion %',
3139 type => 'int'
3140 }
3141 ],
3142 [
3143 'resist_turn_undead',
3144 {
3145 name => 'resist turn undead %',
3146 type => 'int'
3147 }
3148 ],
3149 [
2175 resist_death => { 3150 'resist_death',
3151 {
2176 name => 'resist death-attack %', 3152 name => 'resist death-attack %',
2177 type => 'int' 3153 type => 'int'
3154 }
2178 }, 3155 ],
2179 resist_deplete => { 3156 [
3157 'resist_chaos',
3158 {
2180 name => 'resist depletion %', 3159 name => 'resist chaos %',
2181 type => 'int' 3160 type => 'int'
3161 }
2182 }, 3162 ],
2183 resist_drain => { 3163 [
3164 'resist_blind',
3165 {
2184 name => 'resist draining %', 3166 name => 'resist blinding %',
2185 type => 'int' 3167 type => 'int'
3168 }
2186 }, 3169 ],
2187 resist_electricity => { 3170 [
2188 name => 'resist electricity %',
2189 type => 'int'
2190 },
2191 resist_fear => {
2192 name => 'resist fear %',
2193 type => 'int'
2194 },
2195 resist_fire => {
2196 name => 'resist fire %',
2197 type => 'int'
2198 },
2199 resist_ghosthit => {
2200 name => 'resist ghosthit %',
2201 type => 'int'
2202 },
2203 resist_godpower => {
2204 name => 'resist godpower %',
2205 type => 'int'
2206 },
2207 resist_holyword => { 3171 'resist_holyword',
3172 {
2208 name => 'resist holy power %', 3173 name => 'resist holy power %',
2209 type => 'int' 3174 type => 'int'
3175 }
2210 }, 3176 ],
2211 resist_magic => { 3177 [
3178 'resist_godpower',
3179 {
2212 name => 'resist magic %', 3180 name => 'resist godpower %',
2213 type => 'int' 3181 type => 'int'
2214 },
2215 resist_paralyze => {
2216 name => 'resist paralyze %',
2217 type => 'int'
2218 },
2219 resist_physical => {
2220 name => 'resist physical %',
2221 type => 'int'
2222 },
2223 resist_poison => {
2224 name => 'resist poison %',
2225 type => 'int'
2226 },
2227 resist_slow => {
2228 name => 'resist slow %',
2229 type => 'int'
2230 },
2231 resist_turn_undead => {
2232 name => 'resist turn undead %',
2233 type => 'int'
2234 },
2235 resist_weaponmagic => {
2236 name => 'resist weaponmagic %',
2237 type => 'int'
2238 } 3182 }
2239 } 3183 ]
3184 ]
2240 ] 3185 ]
2241 ], 3186 ],
2242 use => 'Spellcasting walls pose an interesting alternative to monsters. Usually they are set to be undestroyable. Thus, while monsters in a map can be cleared out, the magic walls remain. Low level characters for example will not be able to pass through their spell-area, hence they cannot loot a map that a high level character might have cleared out. <br><br> Another point of magic walls is that if the player dies, he has to face them all again. Magic walls can add a kind of "permanent thrill" to your maps. <br><br> Be careful that your magic walls don\'t kill the monsters on a map. If placing monsters, eventually take ones that are immune to the walls\' spell(s). <br><br> It is possible to make walls rotate when triggered. But that is so confusing (and useless IMHO) that I did not mention it above. You can find a working example on the map "/pup_land/castle_eureca/castle_eureca8".' 3187 use => 'Spellcasting walls pose an interesting alternative to monsters. Usually they are set to be undestroyable. Thus, while monsters in a map can be cleared out, the magic walls remain. Low level characters for example will not be able to pass through their spell-area, hence they cannot loot a map that a high level character might have cleared out. <br><br> Another point of magic walls is that if the player dies, he has to face them all again. Magic walls can add a kind of "permanent thrill" to your maps. <br><br> Be careful that your magic walls don\'t kill the monsters on a map. If placing monsters, eventually take ones that are immune to the walls\' spell(s). <br><br> It is possible to make walls rotate when triggered. But that is so confusing (and useless IMHO) that I did not mention it above. You can find a working example on the map "/pup_land/castle_eureca/castle_eureca8".'
2243 }, 3188 },
2244 Marker => { 3189 Marker => {
2245 attr => { 3190 attr => [
2246 connected => { 3191 [
3192 'no_pick',
3193 {
3194 type => 'fixed',
3195 value => 1
3196 }
3197 ],
3198 [
3199 'slaying',
3200 {
3201 desc => 'The <key string> can be detected by inv. checkers/detectors. If the player already has a force with that <key string>, there won\'t be inserted a second one.',
3202 name => 'key string',
3203 type => 'string'
3204 }
3205 ],
3206 [
3207 'connected',
3208 {
2247 desc => 'When the detector is triggered, all objects with the same connection value get activated.', 3209 desc => 'When the detector is triggered, all objects with the same connection value get activated.',
2248 name => 'connection', 3210 name => 'connection',
2249 type => 'int' 3211 type => 'int'
3212 }
2250 }, 3213 ],
2251 food => { 3214 [
3215 'speed',
3216 {
3217 desc => 'The <marking speed> defines how quickly it will mark something standing on the marker. Set this value rather high to make sure the player really gets his mark. I think <marking speed> 1.0 should do fine.',
3218 name => 'marking speed',
3219 type => 'float'
3220 }
3221 ],
3222 [
3223 'food',
3224 {
2252 desc => 'This value defines the duration of the force it inserts. If nonzero, the duration of the player\'s mark is finite: about 1 food per 10 seconds. <mark duration> zero/unset means the mark will stay on the player forever.', 3225 desc => 'This value defines the duration of the force it inserts. If nonzero, the duration of the player\'s mark is finite: about 1 food per 10 seconds. <mark duration> zero/unset means the mark will stay on the player forever.',
2253 name => 'mark duration', 3226 name => 'mark duration',
2254 type => 'int' 3227 type => 'int'
3228 }
2255 }, 3229 ],
2256 msg => {
2257 desc => 'In the moment when the player gets marked, this text is displayed to him. You should really set a message in any marker you create, because it\'s the only way for the player to notice what\'s going on.',
2258 end => 'endmsg',
2259 name => 'marking message',
2260 type => 'text'
2261 }, 3230 [
2262 name => { 3231 'name',
3232 {
2263 desc => 'When the player steps onto the marker, all existing forces in the players inventory with a <key string> matching <delete mark> will be removed. If you don\'t want to remove any marks, leave this textfield empty. Note that the string <delete mark> is set as the name of this marker. So don\'t be confused, and remember changing the name will take effect on the marker\'s functionality.', 3233 desc => 'When the player steps onto the marker, all existing forces in the players inventory with a <key string> matching <delete mark> will be removed. If you don\'t want to remove any marks, leave this textfield empty. Note that the string <delete mark> is set as the name of this marker. So don\'t be confused, and remember changing the name will take effect on the marker\'s functionality.',
2264 name => 'delete mark', 3234 name => 'delete mark',
2265 type => 'string' 3235 type => 'string'
3236 }
2266 }, 3237 ],
2267 no_pick => {
2268 type => 'fixed',
2269 value => 1
2270 },
2271 slaying => {
2272 desc => 'The <key string> can be detected by inv. checkers/detectors. If the player already has a force with that <key string>, there won\'t be inserted a second one.',
2273 name => 'key string',
2274 type => 'string'
2275 },
2276 speed => {
2277 desc => 'The <marking speed> defines how quickly it will mark something standing on the marker. Set this value rather high to make sure the player really gets his mark. I think <marking speed> 1.0 should do fine.',
2278 name => 'marking speed',
2279 type => 'float'
2280 } 3238 [
3239 'msg',
3240 {
3241 desc => 'In the moment when the player gets marked, this text is displayed to him. You should really set a message in any marker you create, because it\'s the only way for the player to notice what\'s going on.',
3242 end => 'endmsg',
3243 name => 'marking message',
3244 type => 'text'
3245 }
3246 ]
2281 }, 3247 ],
2282 desc => 'A marker is an object that inserts an invisible force (a mark) into a player stepping on it. This force does nothing except containing a &lt;key string&gt; which can be discovered by detectors or inventory checkers. It is also possible to use markers for removing marks again. <br><br> Note that the player has no possibility to "see" his own marks, except by the effect that they cause on the maps.', 3248 desc => 'A marker is an object that inserts an invisible force (a mark) into a player stepping on it. This force does nothing except containing a &lt;key string&gt; which can be discovered by detectors or inventory checkers. It is also possible to use markers for removing marks again. <br><br> Note that the player has no possibility to "see" his own marks, except by the effect that they cause on the maps.',
2283 ignore => [ 3249 ignore => [
2284 $IGNORE_LIST{system_object} 3250 $IGNORE_LIST{system_object}
2285 ], 3251 ],
2286 name => 'Marker', 3252 name => 'Marker',
2287 use => 'Markers hold real cool possibilities for map-making. I encourage you to use them frequently. However there is one negative point about markers: Players don\'t "see" what\'s going on with them. It is your task, as map-creator, to make sure the player is always well informed and never confused. <br><br> Please avoid infinite markers when they aren\'t needed. They\'re using a little space in the player file after all, so if there is no real purpose, set an expire time.' 3253 use => 'Markers hold real cool possibilities for map-making. I encourage you to use them frequently. However there is one negative point about markers: Players don\'t "see" what\'s going on with them. It is your task, as map-creator, to make sure the player is always well informed and never confused. <br><br> Please avoid infinite markers when they aren\'t needed. They\'re using a little space in the player file after all, so if there is no real purpose, set an expire time.'
2288 }, 3254 },
2289 Misc => { 3255 Misc => {
2290 attr => { 3256 attr => [
2291 cursed => { 3257 [
3258 'no_pass',
3259 {
3260 desc => 'If set, the object cannot be passed by players nor monsters.',
3261 name => 'blocking passage',
3262 type => 'bool'
3263 }
3264 ],
3265 [
3266 'cursed',
3267 {
2292 desc => 'Curses can have various effects: On equipment and food, they generally harm the player in some way.', 3268 desc => 'Curses can have various effects: On equipment and food, they generally harm the player in some way.',
2293 name => 'cursed', 3269 name => 'cursed',
2294 type => 'bool' 3270 type => 'bool'
3271 }
2295 }, 3272 ],
2296 damned => { 3273 [
3274 'damned',
3275 {
2297 desc => 'A damned item/floor on the ground makes it impossible for players to use prayers on that spot. It also prevents players from saving. Damnation on equipment works similar to a curse.', 3276 desc => 'A damned item/floor on the ground makes it impossible for players to use prayers on that spot. It also prevents players from saving. Damnation on equipment works similar to a curse.',
2298 name => 'damned', 3277 name => 'damned',
2299 type => 'bool' 3278 type => 'bool'
3279 }
2300 }, 3280 ],
2301 msg => {
2302 desc => 'This text may describe the object.',
2303 end => 'endmsg',
2304 name => 'description',
2305 type => 'text'
2306 }, 3281 [
2307 no_pass => { 3282 'unique',
2308 desc => 'If set, the object cannot be passed by players nor monsters.', 3283 {
2309 name => 'blocking passage',
2310 type => 'bool'
2311 },
2312 startequip => {
2313 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
2314 name => 'godgiven item',
2315 type => 'bool'
2316 },
2317 unique => {
2318 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.', 3284 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
2319 name => 'unique item', 3285 name => 'unique item',
2320 type => 'bool' 3286 type => 'bool'
3287 }
3288 ],
2321 } 3289 [
3290 'startequip',
3291 {
3292 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
3293 name => 'godgiven item',
3294 type => 'bool'
3295 }
3296 ],
3297 [
3298 'msg',
3299 {
3300 desc => 'This text may describe the object.',
3301 end => 'endmsg',
3302 name => 'description',
3303 type => 'text'
3304 }
3305 ]
2322 }, 3306 ],
2323 name => 'Misc' 3307 name => 'Misc'
2324 }, 3308 },
2325 Money => { 3309 Money => {
2326 attr => { 3310 attr => [
2327 race => { 3311 [
3312 'race',
3313 {
2328 type => 'fixed', 3314 type => 'fixed',
2329 value => 'gold and jewels' 3315 value => 'gold and jewels'
3316 }
2330 } 3317 ]
2331 }, 3318 ],
2332 desc => 'Items of the type Money are handled as currency. Money cannot be sold/bought in shops. When money is dropped in a shop, it stays the same.<br> When a player picks an item from a shop and attempts to walk over the shop mat, the item\'s selling-price is automatically subtracted from the player\'s money. <br><br> For money, always use the default arches. Don\'t modify them.', 3319 desc => 'Items of the type Money are handled as currency. Money cannot be sold/bought in shops. When money is dropped in a shop, it stays the same.<br> When a player picks an item from a shop and attempts to walk over the shop mat, the item\'s selling-price is automatically subtracted from the player\'s money. <br><br> For money, always use the default arches. Don\'t modify them.',
2333 ignore => [ 3320 ignore => [
2334 'unpaid' 3321 'unpaid'
2335 ], 3322 ],
2336 name => 'Money' 3323 name => 'Money'
2337 }, 3324 },
2338 'Monster & NPC' => { 3325 'Monster & NPC' => {
2339 attr => { 3326 attr => [
2340 alive => { 3327 [
3328 'alive',
3329 {
2341 type => 'fixed', 3330 type => 'fixed',
2342 value => 1 3331 value => 1
3332 }
2343 }, 3333 ],
2344 carrying => { 3334 [
2345 desc => 'If a monster has something in the inventory, this value can be set to reflect the slowdown due to the carried weight.', 3335 'randomitems',
2346 name => 'carries weight', 3336 {
3337 desc => 'When the monster is killed, items from the treasurelist will drop to the ground. This is a common way to reward players for killing (masses of) monsters. Note that you can always put items into the monster\'s inventory. Those will drop-at-kill just like the stuff from the <treasurelist>.',
3338 name => 'treasurelist',
3339 type => 'treasurelist'
3340 }
3341 ],
3342 [
3343 'level',
3344 {
3345 desc => 'A monster\'s <level> is the most important attribute. <level> affects the power of a monster in various ways.',
3346 name => 'level',
2347 type => 'int' 3347 type => 'int'
3348 }
2348 }, 3349 ],
2349 exp => { 3350 [
3351 'race',
3352 {
3353 desc => 'Every monster should have a race set to cathegorize it. The monster\'s <race> can have different effects: Slaying weapons inflict tripple damage against enemy races and holy word kills only enemy races of the god.',
3354 name => 'race',
3355 type => 'string'
3356 }
3357 ],
3358 [
3359 'exp',
3360 {
2350 desc => 'When a player kills this monster, he will get exactly this amount of <experience>. The experience will flow into the skill-cathegory the player used for the kill. If you create special monsters of tweaked strenght/abilities, always make sure that the <experience> is set to a reasonable value. Compare with existing arches to get a feeling what reasonable means. Keep in mind that spellcasting monsters are a lot harder to kill than non-spellcasters!', 3361 desc => 'When a player kills this monster, he will get exactly this amount of <experience>. The experience will flow into the skill-cathegory the player used for the kill. If you create special monsters of tweaked strenght/abilities, always make sure that the <experience> is set to a reasonable value. Compare with existing arches to get a feeling what reasonable means. Keep in mind that spellcasting monsters are a lot harder to kill than non-spellcasters!',
2351 name => 'experience', 3362 name => 'experience',
2352 type => 'int' 3363 type => 'int'
3364 }
2353 }, 3365 ],
2354 flying => {
2355 desc => 'Flying monsters won\'t get slowed down in rough terrain and they won\'t be affected by movers.',
2356 name => 'flying',
2357 type => 'bool'
2358 }, 3366 [
2359 generator => { 3367 'speed',
2360 desc => 'Monsters with <generator> enabled will create a <breed monster> every once in a while. Mice are a good example for this effect. If enabled, you must also set <breed monster> or check <template generation> and put other monsters in the inventory.', 3368 {
2361 name => 'multiply',
2362 type => 'bool'
2363 },
2364 level => {
2365 desc => 'A monster\'s <level> is the most important attribute. <level> affects the power of a monster in various ways.',
2366 name => 'level',
2367 type => 'int'
2368 },
2369 msg => {
2370 end => 'endmsg',
2371 name => 'npc message',
2372 type => 'text'
2373 },
2374 other_arch => {
2375 desc => 'This only takes effect if <multiply> is enabled. The monster will create a <breed monster> every once in a while. <breed monster> can be set to any valid arch-name of a monster. Multipart monster should not be used.',
2376 name => 'breed monster',
2377 type => 'string'
2378 },
2379 race => {
2380 desc => 'Every monster should have a race set to cathegorize it. The monster\'s <race> can have different effects: Slaying weapons inflict tripple damage against enemy races and holy word kills only enemy races of the god.',
2381 name => 'race',
2382 type => 'string'
2383 },
2384 randomitems => {
2385 desc => 'When the monster is killed, items from the treasurelist will drop to the ground. This is a common way to reward players for killing (masses of) monsters. Note that you can always put items into the monster\'s inventory. Those will drop-at-kill just like the stuff from the <treasurelist>.',
2386 name => 'treasurelist',
2387 type => 'treasurelist'
2388 },
2389 speed => {
2390 desc => 'The <speed> determines how fast a monster will both move and fight. High <speed> makes a monster considerably stronger.', 3369 desc => 'The <speed> determines how fast a monster will both move and fight. High <speed> makes a monster considerably stronger.',
2391 name => 'speed', 3370 name => 'speed',
2392 type => 'float' 3371 type => 'float'
3372 }
2393 }, 3373 ],
2394 undead => { 3374 [
3375 'other_arch',
3376 {
3377 desc => 'This only takes effect if <multiply> is enabled. The monster will create a <breed monster> every once in a while. <breed monster> can be set to any valid arch-name of a monster. Multipart monster should not be used.',
3378 name => 'breed monster',
3379 type => 'string'
3380 }
3381 ],
3382 [
3383 'generator',
3384 {
3385 desc => 'Monsters with <generator> enabled will create a <breed monster> every once in a while. Mice are a good example for this effect. If enabled, you must also set <breed monster> or check <template generation> and put other monsters in the inventory.',
3386 name => 'multiply',
3387 type => 'bool'
3388 }
3389 ],
3390 [
3391 'use_content_on_gen',
3392 {
3393 desc => 'This only takes effect if <multiply> is enabled. The monster will create a new monster every once in a while by duplicating it\'s inventory. In this case, the <breed monster> value is never used and can be forgotten. Each time the monster need to generate an object, it will be a randomly chosen item from the inventory. When generator is destroyed, inventory is destroyed.',
3394 name => 'template generation',
3395 type => 'bool'
3396 }
3397 ],
3398 [
3399 'flying',
3400 {
3401 desc => 'Flying monsters won\'t get slowed down in rough terrain and they won\'t be affected by movers.',
3402 name => 'flying',
3403 type => 'bool'
3404 }
3405 ],
3406 [
3407 'undead',
3408 {
2395 desc => 'Several spells only affect undead monsters: turn undead, banish undead, holy word, etc.', 3409 desc => 'Several spells only affect undead monsters: turn undead, banish undead, holy word, etc.',
2396 name => 'undead', 3410 name => 'undead',
2397 type => 'bool' 3411 type => 'bool'
3412 }
2398 }, 3413 ],
2399 use_content_on_gen => {
2400 desc => 'This only takes effect if <multiply> is enabled. The monster will create a new monster every once in a while by duplicating it\'s inventory. In this case, the <breed monster> value is never used and can be forgotten. Each time the monster need to generate an object, it will be a randomly chosen item from the inventory. When generator is destroyed, inventory is destroyed.',
2401 name => 'template generation',
2402 type => 'bool'
2403 } 3414 [
3415 'carrying',
3416 {
3417 desc => 'If a monster has something in the inventory, this value can be set to reflect the slowdown due to the carried weight.',
3418 name => 'carries weight',
3419 type => 'int'
3420 }
3421 ],
3422 [
3423 'msg',
3424 {
3425 end => 'endmsg',
3426 name => 'npc message',
3427 type => 'text'
3428 }
3429 ]
2404 }, 3430 ],
2405 desc => 'Monsters can behave in various kinds of ways. They can be aggressive, attacking the player. Or peaceful, helping the player - maybe joining him as pet. The unagressive creatures who communicate with players are usually called "NPCs" (Non Player Character), a well-known term in role-play environments.', 3431 desc => 'Monsters can behave in various kinds of ways. They can be aggressive, attacking the player. Or peaceful, helping the player - maybe joining him as pet. The unagressive creatures who communicate with players are usually called "NPCs" (Non Player Character), a well-known term in role-play environments.',
2406 ignore => [ 3432 ignore => [
2407 'material', 3433 'material',
2408 'name_pl', 3434 'name_pl',
2409 'nrof', 3435 'nrof',
2417 tear_down => 0 3443 tear_down => 0
2418 }, 3444 },
2419 section => [ 3445 section => [
2420 [ 3446 [
2421 'melee', 3447 'melee',
2422 { 3448 [
2423 Con => { 3449 [
3450 'attacktype',
3451 {
3452 desc => 'This number is a bitmask, specifying the monster\'s attacktypes for melee damage. Attacktypes are: physical, magical, fire, cold.. etc. Strong monsters often have more than just physical attacktype. When a monster with multiple attacktypes hits aan oponent, it will do as much damage as the "best" of it\'s attacktypes does. So, the more attacktypes, the more dangerous. Attacktypes "magic" and "chaos" are somehow exceptions.',
3453 name => 'attacktype',
3454 type => 'bitmask',
3455 value => $BITMASK{attacktype}
3456 }
3457 ],
3458 [
3459 'dam',
3460 {
3461 desc => 'Among other parameters, <damage> affects how much melee damage a monster inflicts. <damage> is used as base value for damage per hit. <level>, <speed>, <weapon class> and resistances also take effect on the melee damage of a monster.',
3462 name => 'damage',
3463 type => 'int'
3464 }
3465 ],
3466 [
3467 'wc',
3468 {
3469 desc => 'Monsters of high <weapon class> are more likely to really hit their opponent. <weapon class> can be considered the "counterpiece" to <armour class>.',
3470 name => 'weapon class',
3471 type => 'int'
3472 }
3473 ],
3474 [
3475 'hp',
3476 {
3477 desc => 'The <health points> of a monster define how long it takes to kill it. With every successful hit from an opponent, <health points> get drained - The monster dies by zero <health points>.',
3478 name => 'health points',
3479 type => 'int'
3480 }
3481 ],
3482 [
3483 'maxhp',
3484 {
3485 desc => '<max health> is the maximum amount of <health points> this monster can have.',
3486 name => 'max health',
3487 type => 'int'
3488 }
3489 ],
3490 [
3491 'ac',
3492 {
3493 desc => 'Monsters of low <armour class> are less likely to get hit from their opponent. <armour class> can be considered the "counterpiece" to <weapon class>. Values typically range between +20 (very bad) to -20 (quite good).',
3494 name => 'armour class',
3495 type => 'int'
3496 }
3497 ],
3498 [
3499 'Con',
3500 {
2424 desc => 'Monsters regenerate this many hit points each move. Each time the monster has a move, it gets <healing rate> health points back. Hence, <movement speed> has great effect on the monster\'s healing rate as well.', 3501 desc => 'Monsters regenerate this many hit points each move. Each time the monster has a move, it gets <healing rate> health points back. Hence, <movement speed> has great effect on the monster\'s healing rate as well.',
2425 name => 'healing rate', 3502 name => 'healing rate',
2426 type => 'int' 3503 type => 'int'
3504 }
2427 }, 3505 ],
2428 ac => { 3506 [
2429 desc => 'Monsters of low <armour class> are less likely to get hit from their opponent. <armour class> can be considered the "counterpiece" to <weapon class>. Values typically range between +20 (very bad) to -20 (quite good).',
2430 name => 'armour class',
2431 type => 'int'
2432 },
2433 attacktype => {
2434 desc => 'This number is a bitmask, specifying the monster\'s attacktypes for melee damage. Attacktypes are: physical, magical, fire, cold.. etc. Strong monsters often have more than just physical attacktype. When a monster with multiple attacktypes hits aan oponent, it will do as much damage as the "best" of it\'s attacktypes does. So, the more attacktypes, the more dangerous. Attacktypes "magic" and "chaos" are somehow exceptions.',
2435 name => 'attacktype',
2436 type => 'bitmask',
2437 value => $BITMASK{attacktype}
2438 },
2439 dam => {
2440 desc => 'Among other parameters, <damage> affects how much melee damage a monster inflicts. <damage> is used as base value for damage per hit. <level>, <speed>, <weapon class> and resistances also take effect on the melee damage of a monster.',
2441 name => 'damage',
2442 type => 'int'
2443 },
2444 hitback => {
2445 desc => 'Monsters with <hitback> enabled hurt the attacker in proportion to the amount of damage the *attacker* inflicted. This damage is additional to the regular melee damage of the monster. As far as I know, hitback uses acid attacktype, and it only takes effect if the monster actually has acid attacktype at it\'s disposal. Acid spheres for example use this feature.',
2446 name => 'hitback',
2447 type => 'bool'
2448 },
2449 hp => {
2450 desc => 'The <health points> of a monster define how long it takes to kill it. With every successful hit from an opponent, <health points> get drained - The monster dies by zero <health points>.',
2451 name => 'health points',
2452 type => 'int'
2453 },
2454 maxhp => {
2455 desc => '<max health> is the maximum amount of <health points> this monster can have.',
2456 name => 'max health',
2457 type => 'int'
2458 },
2459 one_hit => {
2460 desc => 'Monsters with <one hit only> dissapear after one successful hit to a player.',
2461 name => 'one hit only',
2462 type => 'bool'
2463 },
2464 reflect_missile => { 3507 'reflect_missile',
3508 {
2465 desc => 'A monster with this flag has the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off.', 3509 desc => 'A monster with this flag has the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off.',
2466 name => 'reflect missiles', 3510 name => 'reflect missiles',
2467 type => 'bool' 3511 type => 'bool'
2468 },
2469 wc => {
2470 desc => 'Monsters of high <weapon class> are more likely to really hit their opponent. <weapon class> can be considered the "counterpiece" to <armour class>.',
2471 name => 'weapon class',
2472 type => 'int'
2473 } 3512 }
2474 } 3513 ],
3514 [
3515 'hitback',
3516 {
3517 desc => 'Monsters with <hitback> enabled hurt the attacker in proportion to the amount of damage the *attacker* inflicted. This damage is additional to the regular melee damage of the monster. As far as I know, hitback uses acid attacktype, and it only takes effect if the monster actually has acid attacktype at it\'s disposal. Acid spheres for example use this feature.',
3518 name => 'hitback',
3519 type => 'bool'
3520 }
3521 ],
3522 [
3523 'one_hit',
3524 {
3525 desc => 'Monsters with <one hit only> dissapear after one successful hit to a player.',
3526 name => 'one hit only',
3527 type => 'bool'
3528 }
3529 ]
3530 ]
2475 ], 3531 ],
2476 [ 3532 [
2477 'spellcraft', 3533 'spellcraft',
2478 { 3534 [
2479 Pow => { 3535 [
3536 'can_cast_spell',
3537 {
3538 desc => 'If <can cast spell> is disabled, the monster cannot cast any spell. Only wands/rods/etc can be used, given the appropriate abilities.',
3539 name => 'can cast spell',
3540 type => 'bool'
3541 }
3542 ],
3543 [
3544 'reflect_spell',
3545 {
3546 desc => 'A monster with this flag has the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off. Generally this flag should not be set because it puts wizard-type players at an unfair disadvantage.',
3547 name => 'reflect spells',
3548 type => 'bool'
3549 }
3550 ],
3551 [
3552 'sp',
3553 {
3554 desc => 'Like players, monsters need <spellpoints> to do magic. Monsters use them for both wizard- and prayer-spells. However, this value defines only the amount of *initial* spellpoints the monster starts with. When creating a spellcasting monster, remember that <max spellpoints> and <spellpoint regen.> are more important than just initial <spellpoints>.',
3555 name => 'spellpoints',
3556 type => 'int'
3557 }
3558 ],
3559 [
3560 'maxsp',
3561 {
3562 desc => '<max spellpoints> is the maximum number of spellpoints a monster can hold. Setting this to high values has little effect unless the monster has a decent <spellpoint regen.>, or the spell "regenerate mana" at it\'s disposal.',
3563 name => 'max spellpoints',
3564 type => 'int'
3565 }
3566 ],
3567 [
3568 'Pow',
3569 {
2480 desc => 'Monsters regenerate this many spellpoints each move. Each time the monster has a move, it gets <spellpoint regen.> spellpoints back. Hence, <movement speed> has great effect on the monster\'s spellpoint regeneration as well. To make a real tough spellcasting monster, the rate of spellpoint regeneration is most important. If your monster is still not casting fast enough, give it the spell-ability of "regenerate mana". That, paired with high <max spellpoints>, is the ultimate thing.', 3570 desc => 'Monsters regenerate this many spellpoints each move. Each time the monster has a move, it gets <spellpoint regen.> spellpoints back. Hence, <movement speed> has great effect on the monster\'s spellpoint regeneration as well. To make a real tough spellcasting monster, the rate of spellpoint regeneration is most important. If your monster is still not casting fast enough, give it the spell-ability of "regenerate mana". That, paired with high <max spellpoints>, is the ultimate thing.',
2481 name => 'spellpoint regen.', 3571 name => 'spellpoint regen.',
2482 type => 'int' 3572 type => 'int'
3573 }
2483 }, 3574 ],
2484 can_cast_spell => { 3575 [
2485 desc => 'If <can cast spell> is disabled, the monster cannot cast any spell. Only wands/rods/etc can be used, given the appropriate abilities.',
2486 name => 'can cast spell',
2487 type => 'bool'
2488 },
2489 maxsp => {
2490 desc => '<max spellpoints> is the maximum number of spellpoints a monster can hold. Setting this to high values has little effect unless the monster has a decent <spellpoint regen.>, or the spell "regenerate mana" at it\'s disposal.',
2491 name => 'max spellpoints',
2492 type => 'int'
2493 },
2494 path_attuned => { 3576 'path_attuned',
3577 {
2495 desc => 'Click on the <attuned paths> button to select spellpaths. The creature will get attuned to the specified spellpaths.', 3578 desc => 'Click on the <attuned paths> button to select spellpaths. The creature will get attuned to the specified spellpaths.',
2496 name => 'attuned paths', 3579 name => 'attuned paths',
2497 type => 'bitmask', 3580 type => 'bitmask',
2498 value => $BITMASK{spellpath} 3581 value => $BITMASK{spellpath}
3582 }
2499 }, 3583 ],
2500 path_denied => { 3584 [
3585 'path_repelled',
3586 {
3587 desc => 'Click on the <repelled paths> button to select spellpaths. The creature will get repelled to the specified spellpaths.',
3588 name => 'repelled paths',
3589 type => 'bitmask',
3590 value => $BITMASK{spellpath}
3591 }
3592 ],
3593 [
3594 'path_denied',
3595 {
2501 desc => 'Click on the <denied paths> button to select spellpaths. The creature won\'t be able to cast spells of the specified paths.', 3596 desc => 'Click on the <denied paths> button to select spellpaths. The creature won\'t be able to cast spells of the specified paths.',
2502 name => 'denied paths', 3597 name => 'denied paths',
2503 type => 'bitmask', 3598 type => 'bitmask',
2504 value => $BITMASK{spellpath} 3599 value => $BITMASK{spellpath}
2505 },
2506 path_repelled => {
2507 desc => 'Click on the <repelled paths> button to select spellpaths. The creature will get repelled to the specified spellpaths.',
2508 name => 'repelled paths',
2509 type => 'bitmask',
2510 value => $BITMASK{spellpath}
2511 },
2512 reflect_spell => {
2513 desc => 'A monster with this flag has the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off. Generally this flag should not be set because it puts wizard-type players at an unfair disadvantage.',
2514 name => 'reflect spells',
2515 type => 'bool'
2516 },
2517 sp => {
2518 desc => 'Like players, monsters need <spellpoints> to do magic. Monsters use them for both wizard- and prayer-spells. However, this value defines only the amount of *initial* spellpoints the monster starts with. When creating a spellcasting monster, remember that <max spellpoints> and <spellpoint regen.> are more important than just initial <spellpoints>.',
2519 name => 'spellpoints',
2520 type => 'int'
2521 } 3600 }
2522 } 3601 ]
3602 ]
2523 ], 3603 ],
2524 [ 3604 [
2525 'ability', 3605 'ability',
2526 { 3606 [
2527 Int => { 3607 [
3608 'Int',
3609 {
2528 desc => 'The <detect hidden> value gives monsters the ablitity to find hidden/invisible creatures. Higher values make for better detection-skills. Enabling <see invisible> makes this value obsolete.', 3610 desc => 'The <detect hidden> value gives monsters the ablitity to find hidden/invisible creatures. Higher values make for better detection-skills. Enabling <see invisible> makes this value obsolete.',
2529 name => 'detect hidden', 3611 name => 'detect hidden',
2530 type => 'int' 3612 type => 'int'
3613 }
2531 }, 3614 ],
3615 [
3616 'see_invisible',
3617 {
3618 desc => 'A monster with the ability to <see invisible> cannot be fooled with by invisible or hiding players. This flag is a must-have for high-level monsters. When a monster is unable to detect invisible players, it can be killed without fighting back.',
3619 name => 'see invisible',
3620 type => 'bool'
3621 }
3622 ],
3623 [
2532 can_see_in_dark => { 3624 'can_see_in_dark',
3625 {
2533 desc => 'A monster with the ability to <see in darkness> cannot be fooled by spells of darkness or dark maps. This flag is a "should-have" for high-level monsters. When a monster is unable to see in darkness, players can cast darkness and sneak around it safely.', 3626 desc => 'A monster with the ability to <see in darkness> cannot be fooled by spells of darkness or dark maps. This flag is a "should-have" for high-level monsters. When a monster is unable to see in darkness, players can cast darkness and sneak around it safely.',
2534 name => 'see in darkness', 3627 name => 'see in darkness',
2535 type => 'bool' 3628 type => 'bool'
3629 }
2536 }, 3630 ],
3631 [
3632 'can_use_weapon',
3633 {
3634 desc => 'Monster is able to wield weapon type objects.',
3635 name => 'can use weapons',
3636 type => 'bool'
3637 }
3638 ],
3639 [
3640 'can_use_bow',
3641 {
3642 desc => 'Monster is able to use missile-weapon type objects.',
3643 name => 'can use bows',
3644 type => 'bool'
3645 }
3646 ],
3647 [
2537 can_use_armour => { 3648 'can_use_armour',
3649 {
2538 desc => 'Monster is able to wear protective equipment like brestplate armour, shields, helmets etc.', 3650 desc => 'Monster is able to wear protective equipment like brestplate armour, shields, helmets etc.',
2539 name => 'can use armour', 3651 name => 'can use armour',
2540 type => 'bool' 3652 type => 'bool'
3653 }
2541 }, 3654 ],
2542 can_use_bow => { 3655 [
2543 desc => 'Monster is able to use missile-weapon type objects.',
2544 name => 'can use bows',
2545 type => 'bool'
2546 },
2547 can_use_ring => { 3656 'can_use_ring',
3657 {
2548 desc => 'Monster is able to wear rings.', 3658 desc => 'Monster is able to wear rings.',
2549 name => 'can use rings', 3659 name => 'can use rings',
2550 type => 'bool' 3660 type => 'bool'
3661 }
2551 }, 3662 ],
2552 can_use_rod => { 3663 [
3664 'can_use_wand',
3665 {
3666 desc => 'Monster is able to use wands and staves.',
3667 name => 'can use wands',
3668 type => 'bool'
3669 }
3670 ],
3671 [
3672 'can_use_rod',
3673 {
2553 desc => 'Monster is able to use rods.', 3674 desc => 'Monster is able to use rods.',
2554 name => 'can use rods', 3675 name => 'can use rods',
2555 type => 'bool' 3676 type => 'bool'
3677 }
2556 }, 3678 ],
3679 [
2557 can_use_scroll => { 3680 'can_use_scroll',
3681 {
2558 desc => 'Monster is able to read scrolls.', 3682 desc => 'Monster is able to read scrolls.',
2559 name => 'can use scrolls', 3683 name => 'can use scrolls',
2560 type => 'bool' 3684 type => 'bool'
3685 }
2561 }, 3686 ],
3687 [
2562 can_use_skill => { 3688 'can_use_skill',
3689 {
2563 desc => 'Monster is able to use skills from it\'s inventory. For example, you can put a throwing skill object and some boulders into the monster\'s object and set <can use skills>.', 3690 desc => 'Monster is able to use skills from it\'s inventory. For example, you can put a throwing skill object and some boulders into the monster\'s object and set <can use skills>.',
2564 name => 'can use skills', 3691 name => 'can use skills',
2565 type => 'bool' 3692 type => 'bool'
2566 },
2567 can_use_wand => {
2568 desc => 'Monster is able to use wands and staves.',
2569 name => 'can use wands',
2570 type => 'bool'
2571 },
2572 can_use_weapon => {
2573 desc => 'Monster is able to wield weapon type objects.',
2574 name => 'can use weapons',
2575 type => 'bool'
2576 },
2577 see_invisible => {
2578 desc => 'A monster with the ability to <see invisible> cannot be fooled with by invisible or hiding players. This flag is a must-have for high-level monsters. When a monster is unable to detect invisible players, it can be killed without fighting back.',
2579 name => 'see invisible',
2580 type => 'bool'
2581 } 3693 }
2582 } 3694 ]
3695 ]
2583 ], 3696 ],
2584 [ 3697 [
2585 'behave', 3698 'behave',
2586 { 3699 [
2587 Wis => { 3700 [
3701 'monster',
3702 {
3703 desc => 'When <monster behaviour> is enabled, this object will behave like a monster: It can move and attack enemies (which are typically players). This flag should be set for all monsters as-such. Monsters which don\'t move, like guards, should also have <monster behaviour>, but in combination with <stand still>. It should *not* be set for things like immobile generators.',
3704 name => 'monster behaviour',
3705 type => 'bool'
3706 }
3707 ],
3708 [
3709 'unaggressive',
3710 {
3711 desc => '<unaggressive> monsters do not attack players unless attacked first.',
3712 name => 'unaggressive',
3713 type => 'bool'
3714 }
3715 ],
3716 [
3717 'friendly',
3718 {
3719 desc => '<friendly> monsters help the player, attacking any non-friendly monsters in range.',
3720 name => 'friendly',
3721 type => 'bool'
3722 }
3723 ],
3724 [
3725 'stand_still',
3726 {
3727 desc => 'Monsters which <stand still> won\'t move to leave their position. When agressive, they will attack all enemies who get close to them. This behaviour is commonly known from castle guards. In older versions of Crossfire it was possible to eventually push a <stand still>-monster out of position by force. I believe this is no longer possible. Neverthless, you should still be cautious when lining up <stand still>-monster in order to "defend" something: Such monsters are rather easy to kill. It\'s good for low level maps, but not much more.',
3728 name => 'stand still',
3729 type => 'bool'
3730 }
3731 ],
3732 [
3733 'sleep',
3734 {
3735 desc => 'Being <asleep>, a monster won\'t move unless a player enters the <sensing range> of the monster. Usually the sensing range is larger than the players line of sight. Due to that, in most cases the player won\'t ever notice weither a monster was asleep or not.',
3736 name => 'asleep',
3737 type => 'bool'
3738 }
3739 ],
3740 [
3741 'will_apply',
3742 {
3743 desc => 'This entry defines which kinds of environment actions the creature is able to perform.',
3744 name => 'misc. actions',
3745 type => 'bitmask',
3746 value => $BITMASK{will_apply}
3747 }
3748 ],
3749 [
3750 'pick_up',
3751 {
3752 desc => 'Click on the <pick up> button and select which types of objects the creature should try to pick up. Note also that if <can use armor>, <can use weapon>, <can use ring>... etc are set, then the creature will pick up the matching items even if this is not set here.',
3753 name => 'pick up',
3754 type => 'bitmask',
3755 value => $BITMASK{pick_up}
3756 }
3757 ],
3758 [
3759 'Wis',
3760 {
2588 desc => '<sensing range> determines how close a player needs to be before the creature wakes up. This is done as a square, for reasons of speed. Thus, if the <sensing range> is 11, any player that moves within the 11x11 square of the monster will wake the monster up. If the player has stealth, the size of this square is reduced in half plus 1.', 3761 desc => '<sensing range> determines how close a player needs to be before the creature wakes up. This is done as a square, for reasons of speed. Thus, if the <sensing range> is 11, any player that moves within the 11x11 square of the monster will wake the monster up. If the player has stealth, the size of this square is reduced in half plus 1.',
2589 name => 'sensing range', 3762 name => 'sensing range',
2590 type => 'int' 3763 type => 'int'
3764 }
2591 }, 3765 ],
3766 [
2592 attack_movement => { 3767 'attack_movement',
3768 {
2593 name => 'attack movement', 3769 name => 'attack movement',
2594 type => 'int' 3770 type => 'int'
3771 }
2595 }, 3772 ],
2596 friendly => { 3773 [
2597 desc => '<friendly> monsters help the player, attacking any non-friendly monsters in range.', 3774 'run_away',
2598 name => 'friendly', 3775 {
2599 type => 'bool'
2600 },
2601 monster => {
2602 desc => 'When <monster behaviour> is enabled, this object will behave like a monster: It can move and attack enemies (which are typically players). This flag should be set for all monsters as-such. Monsters which don\'t move, like guards, should also have <monster behaviour>, but in combination with <stand still>. It should *not* be set for things like immobile generators.',
2603 name => 'monster behaviour',
2604 type => 'bool'
2605 },
2606 pick_up => {
2607 desc => 'Click on the <pick up> button and select which types of objects the creature should try to pick up. Note also that if <can use armor>, <can use weapon>, <can use ring>... etc are set, then the creature will pick up the matching items even if this is not set here.',
2608 name => 'pick up',
2609 type => 'bitmask',
2610 value => $BITMASK{pick_up}
2611 },
2612 run_away => {
2613 desc => 'This is a percentage value in the range 0-100. When the monster\'s health points drop below this percentage (relative to max health), it attempts to run away from the attacker.', 3776 desc => 'This is a percentage value in the range 0-100. When the monster\'s health points drop below this percentage (relative to max health), it attempts to run away from the attacker.',
2614 name => 'run at % health', 3777 name => 'run at % health',
2615 type => 'int' 3778 type => 'int'
2616 },
2617 sleep => {
2618 desc => 'Being <asleep>, a monster won\'t move unless a player enters the <sensing range> of the monster. Usually the sensing range is larger than the players line of sight. Due to that, in most cases the player won\'t ever notice weither a monster was asleep or not.',
2619 name => 'asleep',
2620 type => 'bool'
2621 },
2622 stand_still => {
2623 desc => 'Monsters which <stand still> won\'t move to leave their position. When agressive, they will attack all enemies who get close to them. This behaviour is commonly known from castle guards. In older versions of Crossfire it was possible to eventually push a <stand still>-monster out of position by force. I believe this is no longer possible. Neverthless, you should still be cautious when lining up <stand still>-monster in order to "defend" something: Such monsters are rather easy to kill. It\'s good for low level maps, but not much more.',
2624 name => 'stand still',
2625 type => 'bool'
2626 },
2627 unaggressive => {
2628 desc => '<unaggressive> monsters do not attack players unless attacked first.',
2629 name => 'unaggressive',
2630 type => 'bool'
2631 },
2632 will_apply => {
2633 desc => 'This entry defines which kinds of environment actions the creature is able to perform.',
2634 name => 'misc. actions',
2635 type => 'bitmask',
2636 value => $BITMASK{will_apply}
2637 } 3779 }
2638 } 3780 ]
3781 ]
2639 ], 3782 ],
2640 [ 3783 [
2641 'resistance', 3784 'resistance',
2642 { 3785 [
2643 resist_acid => { 3786 [
3787 'resist_physical',
3788 {
2644 name => 'resist acid %', 3789 name => 'resist physical %',
2645 type => 'int' 3790 type => 'int'
3791 }
2646 }, 3792 ],
2647 resist_blind => { 3793 [
3794 'resist_magic',
3795 {
2648 name => 'resist blinding %', 3796 name => 'resist magic %',
2649 type => 'int' 3797 type => 'int'
3798 }
2650 }, 3799 ],
2651 resist_chaos => { 3800 [
3801 'resist_fire',
3802 {
2652 name => 'resist chaos %', 3803 name => 'resist fire %',
2653 type => 'int' 3804 type => 'int'
3805 }
2654 }, 3806 ],
2655 resist_cold => { 3807 [
3808 'resist_electricity',
3809 {
3810 name => 'resist electricity %',
3811 type => 'int'
3812 }
3813 ],
3814 [
3815 'resist_cold',
3816 {
2656 name => 'resist cold %', 3817 name => 'resist cold %',
2657 type => 'int' 3818 type => 'int'
3819 }
2658 }, 3820 ],
3821 [
2659 resist_confusion => { 3822 'resist_confusion',
3823 {
2660 name => 'resist confusion %', 3824 name => 'resist confusion %',
2661 type => 'int' 3825 type => 'int'
3826 }
2662 }, 3827 ],
3828 [
3829 'resist_acid',
3830 {
3831 name => 'resist acid %',
3832 type => 'int'
3833 }
3834 ],
3835 [
3836 'resist_drain',
3837 {
3838 name => 'resist draining %',
3839 type => 'int'
3840 }
3841 ],
3842 [
3843 'resist_weaponmagic',
3844 {
3845 name => 'resist weaponmagic %',
3846 type => 'int'
3847 }
3848 ],
3849 [
3850 'resist_ghosthit',
3851 {
3852 name => 'resist ghosthit %',
3853 type => 'int'
3854 }
3855 ],
3856 [
3857 'resist_poison',
3858 {
3859 name => 'resist poison %',
3860 type => 'int'
3861 }
3862 ],
3863 [
3864 'resist_slow',
3865 {
3866 name => 'resist slow %',
3867 type => 'int'
3868 }
3869 ],
3870 [
3871 'resist_paralyze',
3872 {
3873 name => 'resist paralyze %',
3874 type => 'int'
3875 }
3876 ],
3877 [
3878 'resist_fear',
3879 {
3880 name => 'resist fear %',
3881 type => 'int'
3882 }
3883 ],
3884 [
3885 'resist_deplete',
3886 {
3887 name => 'resist depletion %',
3888 type => 'int'
3889 }
3890 ],
3891 [
3892 'resist_turn_undead',
3893 {
3894 name => 'resist turn undead %',
3895 type => 'int'
3896 }
3897 ],
3898 [
2663 resist_death => { 3899 'resist_death',
3900 {
2664 name => 'resist death-attack %', 3901 name => 'resist death-attack %',
2665 type => 'int' 3902 type => 'int'
3903 }
2666 }, 3904 ],
2667 resist_deplete => { 3905 [
3906 'resist_chaos',
3907 {
2668 name => 'resist depletion %', 3908 name => 'resist chaos %',
2669 type => 'int' 3909 type => 'int'
3910 }
2670 }, 3911 ],
2671 resist_drain => { 3912 [
3913 'resist_blind',
3914 {
2672 name => 'resist draining %', 3915 name => 'resist blinding %',
2673 type => 'int' 3916 type => 'int'
3917 }
2674 }, 3918 ],
2675 resist_electricity => { 3919 [
2676 name => 'resist electricity %',
2677 type => 'int'
2678 },
2679 resist_fear => {
2680 name => 'resist fear %',
2681 type => 'int'
2682 },
2683 resist_fire => {
2684 name => 'resist fire %',
2685 type => 'int'
2686 },
2687 resist_ghosthit => {
2688 name => 'resist ghosthit %',
2689 type => 'int'
2690 },
2691 resist_godpower => {
2692 name => 'resist godpower %',
2693 type => 'int'
2694 },
2695 resist_holyword => { 3920 'resist_holyword',
3921 {
2696 name => 'resist holy power %', 3922 name => 'resist holy power %',
2697 type => 'int' 3923 type => 'int'
3924 }
2698 }, 3925 ],
2699 resist_magic => { 3926 [
3927 'resist_godpower',
3928 {
2700 name => 'resist magic %', 3929 name => 'resist godpower %',
2701 type => 'int' 3930 type => 'int'
2702 },
2703 resist_paralyze => {
2704 name => 'resist paralyze %',
2705 type => 'int'
2706 },
2707 resist_physical => {
2708 name => 'resist physical %',
2709 type => 'int'
2710 },
2711 resist_poison => {
2712 name => 'resist poison %',
2713 type => 'int'
2714 },
2715 resist_slow => {
2716 name => 'resist slow %',
2717 type => 'int'
2718 },
2719 resist_turn_undead => {
2720 name => 'resist turn undead %',
2721 type => 'int'
2722 },
2723 resist_weaponmagic => {
2724 name => 'resist weaponmagic %',
2725 type => 'int'
2726 } 3931 }
2727 } 3932 ]
3933 ]
2728 ] 3934 ]
2729 ], 3935 ],
2730 use => 'Monsters play a central role in most maps. Choosing the right combination of monsters for your map is vital: <UL> <LI> Place only monsters of slightly varying (increasing) strength. It\'s no fun to play for two hours just to find out the last monster is unbeatable. Similar, it\'s not exciting to fight orcs after passing a room of dragons.<br> This rule applies only for linear maps (one room after the other), with treasure at the end. You can sprinkle the treasure around, or make non-linear maps - That is often more entertaining. <LI> Places with high level monsters must not be easy to reach. Balrogs, Dragonmen and the likes should be at the end of a quest, not at the beginning. <LI> Don\'t stick monsters together that tend to kill each other. Fire- and cold dragons in one room for example is a bad idea. By weakening and killing each other they are easy prey for players, not worth the experience they hold. <LI> Create your own monsters, especially for "boss"-type monsters. Having stage-bosses guarding treasure is a lot of fun when done right. Avoid to create monsters with completely non-intuitive abilities: Don\'t give ice-spells to firedragons or vice versa. Don\'t add draining attack to trolls, etc. Additionally, you should inform the player before he bumps right into some very special/unusual monster. <LI> Last but not least: Always keep an eye on the experience your monsters hold. Design your maps in a way that high experience is always well-defended. Don\'t make large rooms full with only one kind of monster. Keep in mind the different abilities/techniques players can use. </UL> I know it\'s impossible to make the perfectly balanced map. There\'s always some part which is found too easy or too hard for a certain kind of player. Just give it your best shot. And listen to feedback from players if you receive some. :-)' 3936 use => 'Monsters play a central role in most maps. Choosing the right combination of monsters for your map is vital: <UL> <LI> Place only monsters of slightly varying (increasing) strength. It\'s no fun to play for two hours just to find out the last monster is unbeatable. Similar, it\'s not exciting to fight orcs after passing a room of dragons.<br> This rule applies only for linear maps (one room after the other), with treasure at the end. You can sprinkle the treasure around, or make non-linear maps - That is often more entertaining. <LI> Places with high level monsters must not be easy to reach. Balrogs, Dragonmen and the likes should be at the end of a quest, not at the beginning. <LI> Don\'t stick monsters together that tend to kill each other. Fire- and cold dragons in one room for example is a bad idea. By weakening and killing each other they are easy prey for players, not worth the experience they hold. <LI> Create your own monsters, especially for "boss"-type monsters. Having stage-bosses guarding treasure is a lot of fun when done right. Avoid to create monsters with completely non-intuitive abilities: Don\'t give ice-spells to firedragons or vice versa. Don\'t add draining attack to trolls, etc. Additionally, you should inform the player before he bumps right into some very special/unusual monster. <LI> Last but not least: Always keep an eye on the experience your monsters hold. Design your maps in a way that high experience is always well-defended. Don\'t make large rooms full with only one kind of monster. Keep in mind the different abilities/techniques players can use. </UL> I know it\'s impossible to make the perfectly balanced map. There\'s always some part which is found too easy or too hard for a certain kind of player. Just give it your best shot. And listen to feedback from players if you receive some. :-)'
2731 }, 3937 },
2732 'Mood Floor' => { 3938 'Mood Floor' => {
2733 attr => { 3939 attr => [
2734 connected => { 3940 [
3941 'no_pick',
3942 {
3943 type => 'fixed',
3944 value => 1
3945 }
3946 ],
3947 [
3948 'last_sp',
3949 {
3950 desc => '<mood> is used to determine what will happen to the monster when affected by the mood floor: <mood> \'furious\': Makes all monsters aggressive <mood> \'angry\': As above but pets are unaffected <mood> \'calm\': Makes all monsters unaggressive <mood> \'sleep\': Puts all monsters to sleep <mood> \'charm\': Turns monster into a pet of person who triggers the square. This setting is not enabled for continous operation, you need to insert a <connection> value!',
3951 name => 'mood',
3952 type => 'list',
3953 value => $LIST{mood}
3954 }
3955 ],
3956 [
3957 'connected',
3958 {
2735 desc => 'This should only be set in combination with <mood number> 4. Normally, monsters are affected by the mood floor as soon as they step on it. But charming (monster -> pet) is too powerful, so it needs to be activated. Typically it is connected to an altar, for buying a "hireling". But a powerful pet could as well be the reward for solving a quest. Or even better: It could be *part* of a quest!', 3959 desc => 'This should only be set in combination with <mood number> 4. Normally, monsters are affected by the mood floor as soon as they step on it. But charming (monster -> pet) is too powerful, so it needs to be activated. Typically it is connected to an altar, for buying a "hireling". But a powerful pet could as well be the reward for solving a quest. Or even better: It could be *part* of a quest!',
2736 name => 'connection', 3960 name => 'connection',
2737 type => 'int' 3961 type => 'int'
3962 }
2738 }, 3963 ],
2739 damned => { 3964 [
3965 'no_magic',
3966 {
3967 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
3968 name => 'no spells',
3969 type => 'bool'
3970 }
3971 ],
3972 [
3973 'damned',
3974 {
2740 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.', 3975 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
2741 name => 'no prayers', 3976 name => 'no prayers',
2742 type => 'bool' 3977 type => 'bool'
2743 }, 3978 }
2744 last_sp => {
2745 desc => '<mood> is used to determine what will happen to the monster when affected by the mood floor: <mood> \'furious\': Makes all monsters aggressive <mood> \'angry\': As above but pets are unaffected <mood> \'calm\': Makes all monsters unaggressive <mood> \'sleep\': Puts all monsters to sleep <mood> \'charm\': Turns monster into a pet of person who triggers the square. This setting is not enabled for continous operation, you need to insert a <connection> value!',
2746 name => 'mood',
2747 type => 'list',
2748 value => $LIST{mood}
2749 },
2750 no_magic => {
2751 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
2752 name => 'no spells',
2753 type => 'bool'
2754 },
2755 no_pick => {
2756 type => 'fixed',
2757 value => 1
2758 } 3979 ]
2759 }, 3980 ],
2760 desc => 'As the name implies, mood floors can change the "mood" of a monsters/NPC. For example, an unagressive monster could be turned mad to start attacking. Similar, an agressive monster could be calmed.', 3981 desc => 'As the name implies, mood floors can change the "mood" of a monsters/NPC. For example, an unagressive monster could be turned mad to start attacking. Similar, an agressive monster could be calmed.',
2761 ignore => [ 3982 ignore => [
2762 $IGNORE_LIST{system_object} 3983 $IGNORE_LIST{system_object}
2763 ], 3984 ],
2764 name => 'Mood Floor', 3985 name => 'Mood Floor',
2765 use => 'Mood floors are absolutely cool for NPC interaction. To make an unaggressive monster/NPC attack, put a creator with "other_arch furious_floor" under it. Connect the creator to a magic_ear, so the player speaks a keyword like "stupid sucker" - and the monster attacks. <br><br> To turn an NPC into a pet, put a charm_floor under it and connect it directly to a magic_ear. Then the player speaks a keyword like "help me" - and the NPC joins him as pet. <br><br> (Of course you must always give clear hints about keywords! And there is no reason why you couldn\'t use a button/lever/pedestal etc. instead of a magic_ear.)' 3986 use => 'Mood floors are absolutely cool for NPC interaction. To make an unaggressive monster/NPC attack, put a creator with "other_arch furious_floor" under it. Connect the creator to a magic_ear, so the player speaks a keyword like "stupid sucker" - and the monster attacks. <br><br> To turn an NPC into a pet, put a charm_floor under it and connect it directly to a magic_ear. Then the player speaks a keyword like "help me" - and the NPC joins him as pet. <br><br> (Of course you must always give clear hints about keywords! And there is no reason why you couldn\'t use a button/lever/pedestal etc. instead of a magic_ear.)'
2766 }, 3987 },
2767 Mover => { 3988 Mover => {
2768 attr => { 3989 attr => [
2769 attacktype => { 3990 [
3991 'attacktype',
3992 {
2770 desc => 'If forced movement is enabled, the mover "freezes" anyone it moves (so they are forced to move along a chain). For players there is no way to escape this forced movement, except being pushed by a second player.', 3993 desc => 'If forced movement is enabled, the mover "freezes" anyone it moves (so they are forced to move along a chain). For players there is no way to escape this forced movement, except being pushed by a second player.',
2771 name => 'forced movement', 3994 name => 'forced movement',
2772 type => 'bool' 3995 type => 'bool'
3996 }
2773 }, 3997 ],
2774 hp => { 3998 [
3999 'maxsp',
4000 {
4001 desc => 'The player will be "frozen" for that many moves. If <freeze duration> is zero, with <forced movement> enabled, then <freeze duration> gets assigned the "default value" 2 automatically.',
4002 name => 'freeze duration',
4003 type => 'int'
4004 }
4005 ],
4006 [
4007 'speed',
4008 {
4009 desc => 'The movement speed value determines how fast a chain of these movers will push a player along (default is -0.2).',
4010 name => 'movement speed',
4011 type => 'float'
4012 }
4013 ],
4014 [
4015 'sp',
4016 {
4017 desc => 'The mover will push creatures in the specified <direction>. A mover with direction set to <none> will spin clockwise, thus pushing creatures in unpredictable directions.',
4018 name => 'direction',
4019 type => 'list',
4020 value => $LIST{direction}
4021 }
4022 ],
4023 [
4024 'lifesave',
4025 {
4026 desc => 'If enabled, the mover gets "used up" after a certain number of moves (specified by <number of uses>). If disabled, the mover works infinitly.',
4027 name => 'gets used up',
4028 type => 'bool'
4029 }
4030 ],
4031 [
4032 'hp',
4033 {
2775 desc => 'This value has only a meaning if <gets used up> is set: <number of uses> is the number of times minus one, that it will move a creature before disappearing. (It will move someone <number of uses>+1 times, then vanish).', 4034 desc => 'This value has only a meaning if <gets used up> is set: <number of uses> is the number of times minus one, that it will move a creature before disappearing. (It will move someone <number of uses>+1 times, then vanish).',
2776 name => 'number of uses', 4035 name => 'number of uses',
2777 type => 'int' 4036 type => 'int'
2778 }, 4037 }
2779 lifesave => {
2780 desc => 'If enabled, the mover gets "used up" after a certain number of moves (specified by <number of uses>). If disabled, the mover works infinitly.',
2781 name => 'gets used up',
2782 type => 'bool'
2783 },
2784 maxsp => {
2785 desc => 'The player will be "frozen" for that many moves. If <freeze duration> is zero, with <forced movement> enabled, then <freeze duration> gets assigned the "default value" 2 automatically.',
2786 name => 'freeze duration',
2787 type => 'int'
2788 },
2789 sp => {
2790 desc => 'The mover will push creatures in the specified <direction>. A mover with direction set to <none> will spin clockwise, thus pushing creatures in unpredictable directions.',
2791 name => 'direction',
2792 type => 'list',
2793 value => $LIST{direction}
2794 },
2795 speed => {
2796 desc => 'The movement speed value determines how fast a chain of these movers will push a player along (default is -0.2).',
2797 name => 'movement speed',
2798 type => 'float'
2799 } 4038 ]
2800 }, 4039 ],
2801 desc => 'Movers move the objects above them. However, only living objects are affected (monsters/NPCs always, players optional). Movers have a direction, so players can be made to move in a pattern, and so can monsters. Motion is involuntary. Additionally, players or monsters can be "frozen" while ontop of movers so that they MUST move along a chain of them. <br><br> Multisquare monsters can be moved as well, given enough space. Movers are usually invisible.', 4040 desc => 'Movers move the objects above them. However, only living objects are affected (monsters/NPCs always, players optional). Movers have a direction, so players can be made to move in a pattern, and so can monsters. Motion is involuntary. Additionally, players or monsters can be "frozen" while ontop of movers so that they MUST move along a chain of them. <br><br> Multisquare monsters can be moved as well, given enough space. Movers are usually invisible.',
2802 ignore => [ 4041 ignore => [
2803 $IGNORE_LIST{non_pickable} 4042 $IGNORE_LIST{non_pickable}
2804 ], 4043 ],
2805 name => 'Mover', 4044 name => 'Mover',
2806 section => [ 4045 section => [
2807 [ 4046 [
2808 'targets', 4047 'targets',
2809 { 4048 [
2810 fly_on => { 4049 [
4050 'level',
4051 {
4052 desc => 'If <move players> is enabled, both players and monsters will be moved. In the arches\' default it is disabled - thus ONLY monsters get moved. Remember that "monsters" includes NPCs! This feature provides you with the possibility to make NPCs literally "come to life". Example: The player is talking with an NPC, speaking a certain keyword. This triggers a magic_ear and activates creators, creating (per default: monster-only) movers under the NPC\'s feet. The NPC starts "walking" on a predefined route! Note that it\'s useful to set this NPC immune to everything, preventing the player to push the NPC off his trace.',
4053 name => 'move players',
4054 type => 'bool'
4055 }
4056 ],
4057 [
4058 'walk_on',
4059 {
4060 desc => 'This should always be set.',
4061 name => 'move walking creatures',
4062 type => 'bool'
4063 }
4064 ],
4065 [
4066 'fly_on',
4067 {
2811 desc => 'Move flying creatures enabled means all flying (living) objects will get moved too. If disabled, only walking (non-flying) creatures will get moved.', 4068 desc => 'Move flying creatures enabled means all flying (living) objects will get moved too. If disabled, only walking (non-flying) creatures will get moved.',
2812 name => 'move flying creatures', 4069 name => 'move flying creatures',
2813 type => 'bool' 4070 type => 'bool'
2814 },
2815 level => {
2816 desc => 'If <move players> is enabled, both players and monsters will be moved. In the arches\' default it is disabled - thus ONLY monsters get moved. Remember that "monsters" includes NPCs! This feature provides you with the possibility to make NPCs literally "come to life". Example: The player is talking with an NPC, speaking a certain keyword. This triggers a magic_ear and activates creators, creating (per default: monster-only) movers under the NPC\'s feet. The NPC starts "walking" on a predefined route! Note that it\'s useful to set this NPC immune to everything, preventing the player to push the NPC off his trace.',
2817 name => 'move players',
2818 type => 'bool'
2819 },
2820 walk_on => {
2821 desc => 'This should always be set.',
2822 name => 'move walking creatures',
2823 type => 'bool'
2824 } 4071 }
2825 } 4072 ]
4073 ]
2826 ] 4074 ]
2827 ], 4075 ],
2828 use => 'NEVER EVER consider a mover being unpassable in the backwards direction. Setting "forced movement" makes it seemingly impossible but there is still a trick: One player can push a second player past the mover, in opposite to the mover\'s direction! The more movers, the more players needed. Hence, don\'t make a treasure room that is surrounded by movers instead of solid walls/gates. <br><br> Btw, it does not make a difference putting movers above or below the floor. Moreover, movers that are set to be invisible cannot be discovered with the show_invisible spell. <br><br> Note that Movers and Directors are seperate objects, even though they look and act similar. Directors only do spells/missiles, while movers only do living creatures (depending on how it is set: monsters and players).' 4076 use => 'NEVER EVER consider a mover being unpassable in the backwards direction. Setting "forced movement" makes it seemingly impossible but there is still a trick: One player can push a second player past the mover, in opposite to the mover\'s direction! The more movers, the more players needed. Hence, don\'t make a treasure room that is surrounded by movers instead of solid walls/gates. <br><br> Btw, it does not make a difference putting movers above or below the floor. Moreover, movers that are set to be invisible cannot be discovered with the show_invisible spell. <br><br> Note that Movers and Directors are seperate objects, even though they look and act similar. Directors only do spells/missiles, while movers only do living creatures (depending on how it is set: monsters and players).'
2829 }, 4077 },
2830 Pedestal => { 4078 Pedestal => {
2831 attr => { 4079 attr => [
2832 connected => { 4080 [
4081 'no_pick',
4082 {
4083 type => 'fixed',
4084 value => 1
4085 }
4086 ],
4087 [
4088 'slaying',
4089 {
4090 desc => 'the <match race> defines the object we\'re looking for. If <match race> matches the monster\'s or the player\'s race, we have a match. Yes, pedestals can detect a player\'s race! E.g. you could create a place where only fireborns can enter, by setting "slaying unnatural". If it is set to "player", any player stepping on the pedestal is a match. Very useful if you want to open a gate for players but not for monsters.',
4091 name => 'match race',
4092 type => 'string'
4093 }
4094 ],
4095 [
4096 'connected',
4097 {
2833 desc => 'When the pedestal is triggered, all objects with the same connection value get activated.', 4098 desc => 'When the pedestal is triggered, all objects with the same connection value get activated.',
2834 name => 'connection', 4099 name => 'connection',
2835 type => 'int' 4100 type => 'int'
4101 }
2836 }, 4102 ],
2837 no_pick => { 4103 [
4104 'walk_on',
4105 {
2838 type => 'fixed', 4106 type => 'fixed',
2839 value => 1 4107 value => 1
4108 }
2840 }, 4109 ],
2841 slaying => {
2842 desc => 'the <match race> defines the object we\'re looking for. If <match race> matches the monster\'s or the player\'s race, we have a match. Yes, pedestals can detect a player\'s race! E.g. you could create a place where only fireborns can enter, by setting "slaying unnatural". If it is set to "player", any player stepping on the pedestal is a match. Very useful if you want to open a gate for players but not for monsters.',
2843 name => 'match race',
2844 type => 'string'
2845 }, 4110 [
2846 walk_off => { 4111 'walk_off',
4112 {
2847 type => 'fixed', 4113 type => 'fixed',
2848 value => 1 4114 value => 1
2849 }, 4115 }
2850 walk_on => {
2851 type => 'fixed',
2852 value => 1
2853 } 4116 ]
2854 }, 4117 ],
2855 desc => 'Pedestals are designed to detect certain types of living objects. When a predefined type of living creature steps on the pedestal, the connected value is triggered.', 4118 desc => 'Pedestals are designed to detect certain types of living objects. When a predefined type of living creature steps on the pedestal, the connected value is triggered.',
2856 ignore => [ 4119 ignore => [
2857 $IGNORE_LIST{non_pickable} 4120 $IGNORE_LIST{non_pickable}
2858 ], 4121 ],
2859 name => 'Pedestal', 4122 name => 'Pedestal',
2860 use => 'If you want to create a place where only players of a certain race can enter, put a teleporter over your pedestal. So the teleporter is only activated for players of the matching race. Do not use gates, because many other players could sneak in. If you put powerful artifacts into such places, generally set "startequip 1", so that they are preserved for that one race and can\'t be traded to others.' 4123 use => 'If you want to create a place where only players of a certain race can enter, put a teleporter over your pedestal. So the teleporter is only activated for players of the matching race. Do not use gates, because many other players could sneak in. If you put powerful artifacts into such places, generally set "startequip 1", so that they are preserved for that one race and can\'t be traded to others.'
2861 }, 4124 },
2862 Pit => { 4125 Pit => {
2863 attr => { 4126 attr => [
2864 connected => { 4127 [
4128 'no_pick',
4129 {
4130 type => 'fixed',
4131 value => 1
4132 }
4133 ],
4134 [
4135 'connected',
4136 {
2865 desc => 'When a <connection> value is set, the pit can be opened/closed by activating the connection.', 4137 desc => 'When a <connection> value is set, the pit can be opened/closed by activating the connection.',
2866 name => 'connection', 4138 name => 'connection',
2867 type => 'int' 4139 type => 'int'
4140 }
2868 }, 4141 ],
2869 fly_on => {
2870 desc => 'If set, all flying creatures will fall into the pit as well. This is not the behaviour expected from a pit, and it should only be used for map-mechanisms (e.g. for transporting flying monsters). An interesting side-effect: If this flag is enabled, spell effects like fire/snow also make their way through the pit.',
2871 name => 'swallow flying',
2872 type => 'bool'
2873 }, 4142 [
2874 hp => { 4143 'hp',
4144 {
2875 desc => 'The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the pit will act like being filled up and not work anymore!', 4145 desc => 'The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the pit will act like being filled up and not work anymore!',
2876 name => 'destination X', 4146 name => 'destination X',
2877 type => 'int' 4147 type => 'int'
4148 }
2878 }, 4149 ],
2879 no_pick => {
2880 type => 'fixed',
2881 value => 1
2882 }, 4150 [
2883 sp => { 4151 'sp',
4152 {
2884 desc => 'The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the pit will act like being filled up and not work anymore!', 4153 desc => 'The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the pit will act like being filled up and not work anymore!',
2885 name => 'destination Y', 4154 name => 'destination Y',
2886 type => 'int' 4155 type => 'int'
4156 }
2887 }, 4157 ],
2888 walk_on => { 4158 [
4159 'wc',
4160 {
4161 desc => 'The <position state> defines the position of the gate: Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state. I suggest you don\'t mess with this value - Leave the default in place.',
4162 name => 'position state',
4163 type => 'int'
4164 }
4165 ],
4166 [
4167 'walk_on',
4168 {
2889 desc => 'If set, all walking creatures will fall into the pit. This does NOT need to be set for closed pits!', 4169 desc => 'If set, all walking creatures will fall into the pit. This does NOT need to be set for closed pits!',
2890 name => 'swallow walking', 4170 name => 'swallow walking',
2891 type => 'bool' 4171 type => 'bool'
4172 }
2892 }, 4173 ],
2893 wc => {
2894 desc => 'The <position state> defines the position of the gate: Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state. I suggest you don\'t mess with this value - Leave the default in place.',
2895 name => 'position state',
2896 type => 'int'
2897 } 4174 [
4175 'fly_on',
4176 {
4177 desc => 'If set, all flying creatures will fall into the pit as well. This is not the behaviour expected from a pit, and it should only be used for map-mechanisms (e.g. for transporting flying monsters). An interesting side-effect: If this flag is enabled, spell effects like fire/snow also make their way through the pit.',
4178 name => 'swallow flying',
4179 type => 'bool'
4180 }
4181 ]
2898 }, 4182 ],
2899 desc => 'Pits are holes, transporting the player when he walks (and falls) into them. A speciality about pits is that they don\'t transport the player to the exact destination, but within a two-square radius of the destination (never on blocked squares).<br> Optionally, pits can get closed and opened, similar to gates.<br><br> Monsters and items are affected by pits just as well as players. Even multipart monsters can fall through them, given enough space.', 4183 desc => 'Pits are holes, transporting the player when he walks (and falls) into them. A speciality about pits is that they don\'t transport the player to the exact destination, but within a two-square radius of the destination (never on blocked squares).<br> Optionally, pits can get closed and opened, similar to gates.<br><br> Monsters and items are affected by pits just as well as players. Even multipart monsters can fall through them, given enough space.',
2900 ignore => [ 4184 ignore => [
2901 $IGNORE_LIST{non_pickable} 4185 $IGNORE_LIST{non_pickable}
2902 ], 4186 ],
2903 name => 'Pit', 4187 name => 'Pit',
2906 'Poison Food' => { 4190 'Poison Food' => {
2907 desc => 'When eating, the player\'s stomache is drained by 1/4 of food. If his food drops to zero, the player might even die.', 4191 desc => 'When eating, the player\'s stomache is drained by 1/4 of food. If his food drops to zero, the player might even die.',
2908 name => 'Poison Food' 4192 name => 'Poison Food'
2909 }, 4193 },
2910 Potion => { 4194 Potion => {
2911 attr => { 4195 attr => [
2912 attacktype => { 4196 [
4197 'level',
4198 {
4199 desc => 'If the potion contains a spell, the spell is cast at this level. For other potions it should be set at least to 1.',
4200 name => 'potion level',
4201 type => 'int'
4202 }
4203 ],
4204 [
4205 'sp',
4206 {
4207 desc => 'When a player drinks this potion, the selected spell will be casted (once). This should work for any given spell. E.g. heal is "sp 35", magic power is "sp 67".',
4208 name => 'spell',
4209 type => 'spell'
4210 }
4211 ],
4212 [
4213 'attacktype',
4214 {
2913 desc => 'There are two types of special effects for potions: \'life restoration\' - restore the player\'s stats lost by death or draining (this has nothing in common with the restoration spell!) \'improvement\' - increase the player\'s maximum health/mana/grace by a very small amount.', 4215 desc => 'There are two types of special effects for potions: \'life restoration\' - restore the player\'s stats lost by death or draining (this has nothing in common with the restoration spell!) \'improvement\' - increase the player\'s maximum health/mana/grace by a very small amount.',
2914 name => 'special effect', 4216 name => 'special effect',
2915 type => 'list', 4217 type => 'list',
2916 value => $LIST{potion_effect} 4218 value => $LIST{potion_effect}
4219 }
2917 }, 4220 ],
2918 cursed => { 4221 [
4222 'cursed',
4223 {
2919 desc => 'If a potion is cursed, benefits generally turn into penalties. Note that potions can be "uncursed" by praying over an altar, with relative ease. *But* the potion must be identified to notice that it is cursed >:)', 4224 desc => 'If a potion is cursed, benefits generally turn into penalties. Note that potions can be "uncursed" by praying over an altar, with relative ease. *But* the potion must be identified to notice that it is cursed >:)',
2920 name => 'cursed', 4225 name => 'cursed',
2921 type => 'bool' 4226 type => 'bool'
4227 }
2922 }, 4228 ],
2923 level => {
2924 desc => 'If the potion contains a spell, the spell is cast at this level. For other potions it should be set at least to 1.',
2925 name => 'potion level',
2926 type => 'int'
2927 }, 4229 [
2928 sp => { 4230 'startequip',
2929 desc => 'When a player drinks this potion, the selected spell will be casted (once). This should work for any given spell. E.g. heal is "sp 35", magic power is "sp 67".', 4231 {
2930 name => 'spell',
2931 type => 'spell'
2932 },
2933 startequip => {
2934 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 4232 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
2935 name => 'godgiven item', 4233 name => 'godgiven item',
2936 type => 'bool' 4234 type => 'bool'
4235 }
2937 } 4236 ]
2938 }, 4237 ],
2939 desc => 'The player can drink these and gain various kinds of benefits (/penalties) by doing so.', 4238 desc => 'The player can drink these and gain various kinds of benefits (/penalties) by doing so.',
2940 name => 'Potion', 4239 name => 'Potion',
2941 section => [ 4240 section => [
2942 [ 4241 [
2943 'stats', 4242 'stats',
2944 { 4243 [
2945 Cha => { 4244 [
4245 'Str',
4246 {
2946 desc => 'The player\'s charisma will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4247 desc => 'The player\'s strentgh will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
2947 name => 'charisma', 4248 name => 'strength',
2948 type => 'int' 4249 type => 'int'
4250 }
2949 }, 4251 ],
2950 Con => { 4252 [
4253 'Dex',
4254 {
4255 desc => 'The player\'s dexterity will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
4256 name => 'dexterity',
4257 type => 'int'
4258 }
4259 ],
4260 [
4261 'Con',
4262 {
2951 desc => 'The player\'s constitution will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4263 desc => 'The player\'s constitution will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
2952 name => 'constitution', 4264 name => 'constitution',
2953 type => 'int' 4265 type => 'int'
4266 }
2954 }, 4267 ],
2955 Dex => { 4268 [
2956 desc => 'The player\'s dexterity will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4269 'Int',
2957 name => 'dexterity', 4270 {
2958 type => 'int'
2959 },
2960 Int => {
2961 desc => 'The player\'s intelligence will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4271 desc => 'The player\'s intelligence will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
2962 name => 'intelligence', 4272 name => 'intelligence',
2963 type => 'int' 4273 type => 'int'
4274 }
2964 }, 4275 ],
2965 Pow => { 4276 [
4277 'Pow',
4278 {
2966 desc => 'The player\'s power will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4279 desc => 'The player\'s power will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
2967 name => 'power', 4280 name => 'power',
2968 type => 'int' 4281 type => 'int'
4282 }
2969 }, 4283 ],
2970 Str => { 4284 [
2971 desc => 'The player\'s strentgh will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4285 'Wis',
2972 name => 'strength', 4286 {
2973 type => 'int'
2974 },
2975 Wis => {
2976 desc => 'The player\'s wisdom will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.', 4287 desc => 'The player\'s wisdom will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
2977 name => 'wisdom', 4288 name => 'wisdom',
2978 type => 'int' 4289 type => 'int'
2979 } 4290 }
2980 } 4291 ],
4292 [
4293 'Cha',
4294 {
4295 desc => 'The player\'s charisma will rise/fall by the given value for permanent (of course there is an upper limit). Generally there shouldn\'t be stat potions granting more than one stat. Cursed potions will subtract the stats if positive.',
4296 name => 'charisma',
4297 type => 'int'
4298 }
4299 ]
4300 ]
2981 ], 4301 ],
2982 [ 4302 [
2983 'resistance', 4303 'resistance',
2984 { 4304 [
2985 resist_acid => { 4305 [
4306 'resist_physical',
4307 {
4308 desc => 'The player\'s resistance to physical will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4309 name => 'resist physical %',
4310 type => 'int'
4311 }
4312 ],
4313 [
4314 'resist_magic',
4315 {
4316 desc => 'The player\'s resistance to magic will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4317 name => 'resist magic %',
4318 type => 'int'
4319 }
4320 ],
4321 [
4322 'resist_fire',
4323 {
2986 desc => 'The player\'s resistance to acid will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4324 desc => 'The player\'s resistance to fire will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
2987 name => 'resist acid %', 4325 name => 'resist fire %',
2988 type => 'int' 4326 type => 'int'
4327 }
2989 }, 4328 ],
2990 resist_cold => { 4329 [
2991 desc => 'The player\'s resistance to cold will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
2992 name => 'resist cold %',
2993 type => 'int'
2994 },
2995 resist_confusion => {
2996 desc => 'The player\'s resistance to confusion will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
2997 name => 'resist confusion %',
2998 type => 'int'
2999 },
3000 resist_deplete => {
3001 desc => 'The player\'s resistance to depletion will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3002 name => 'resist depletion %',
3003 type => 'int'
3004 },
3005 resist_drain => {
3006 desc => 'The player\'s resistance to draining will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3007 name => 'resist draining %',
3008 type => 'int'
3009 },
3010 resist_electricity => { 4330 'resist_electricity',
4331 {
3011 desc => 'The player\'s resistance to electricity will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4332 desc => 'The player\'s resistance to electricity will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3012 name => 'resist electricity %', 4333 name => 'resist electricity %',
3013 type => 'int' 4334 type => 'int'
4335 }
3014 }, 4336 ],
3015 resist_fire => { 4337 [
4338 'resist_cold',
4339 {
3016 desc => 'The player\'s resistance to fire will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4340 desc => 'The player\'s resistance to cold will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3017 name => 'resist fire %', 4341 name => 'resist cold %',
3018 type => 'int' 4342 type => 'int'
4343 }
3019 }, 4344 ],
3020 resist_magic => { 4345 [
3021 desc => 'The player\'s resistance to magic will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4346 'resist_acid',
3022 name => 'resist magic %', 4347 {
3023 type => 'int'
3024 },
3025 resist_paralyze => {
3026 desc => 'The player\'s resistance to paralyze will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3027 name => 'resist paralyze %',
3028 type => 'int'
3029 },
3030 resist_physical => {
3031 desc => 'The player\'s resistance to physical will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3032 name => 'resist physical %',
3033 type => 'int'
3034 },
3035 resist_poison => {
3036 desc => 'The player\'s resistance to poison will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4348 desc => 'The player\'s resistance to acid will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3037 name => 'resist poison %', 4349 name => 'resist acid %',
3038 type => 'int' 4350 type => 'int'
4351 }
3039 }, 4352 ],
4353 [
4354 'resist_confusion',
4355 {
4356 desc => 'The player\'s resistance to confusion will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4357 name => 'resist confusion %',
4358 type => 'int'
4359 }
4360 ],
4361 [
3040 resist_weaponmagic => { 4362 'resist_weaponmagic',
4363 {
3041 desc => 'The player\'s resistance to weaponmagic will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!', 4364 desc => 'The player\'s resistance to weaponmagic will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
3042 name => 'resist weaponmagic %', 4365 name => 'resist weaponmagic %',
3043 type => 'int' 4366 type => 'int'
3044 } 4367 }
3045 } 4368 ],
4369 [
4370 'resist_paralyze',
4371 {
4372 desc => 'The player\'s resistance to paralyze will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4373 name => 'resist paralyze %',
4374 type => 'int'
4375 }
4376 ],
4377 [
4378 'resist_drain',
4379 {
4380 desc => 'The player\'s resistance to draining will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4381 name => 'resist draining %',
4382 type => 'int'
4383 }
4384 ],
4385 [
4386 'resist_deplete',
4387 {
4388 desc => 'The player\'s resistance to depletion will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4389 name => 'resist depletion %',
4390 type => 'int'
4391 }
4392 ],
4393 [
4394 'resist_poison',
4395 {
4396 desc => 'The player\'s resistance to poison will rise by this value in percent (range -100 till +100). The effect is only temporare, and it does NOT add on the values from the player\'s equipment. Cursed potions will make negative resistance.. very nasty in combat!',
4397 name => 'resist poison %',
4398 type => 'int'
4399 }
4400 ]
4401 ]
3046 ] 4402 ]
3047 ], 4403 ],
3048 use => 'One potion should never give multiple benefits at once.' 4404 use => 'One potion should never give multiple benefits at once.'
3049 }, 4405 },
3050 'Power Crystal' => { 4406 'Power Crystal' => {
3051 attr => { 4407 attr => [
3052 maxsp => { 4408 [
4409 'sp',
4410 {
4411 desc => '<initial mana> is the amount of spellpoints that the crystal holds when the map is loaded.',
4412 name => 'initial mana',
4413 type => 'int'
4414 }
4415 ],
4416 [
4417 'maxsp',
4418 {
3053 desc => 'The <mana capacity> defines how much mana can be stored in the crystal. This is what makes the crystal interesting. Wizard-players will always seek for crystals with large capacities.', 4419 desc => 'The <mana capacity> defines how much mana can be stored in the crystal. This is what makes the crystal interesting. Wizard-players will always seek for crystals with large capacities.',
3054 name => 'mana capacity', 4420 name => 'mana capacity',
3055 type => 'int' 4421 type => 'int'
3056 }, 4422 }
3057 sp => {
3058 desc => '<initial mana> is the amount of spellpoints that the crystal holds when the map is loaded.',
3059 name => 'initial mana',
3060 type => 'int'
3061 } 4423 ]
3062 }, 4424 ],
3063 desc => 'Power crystals can store a player\'s mana: When the player applies the crystal with full mana, half of it flows into the crystal. When the player applies it with lacking mana, the crystal replenishes the player\'s mana.', 4425 desc => 'Power crystals can store a player\'s mana: When the player applies the crystal with full mana, half of it flows into the crystal. When the player applies it with lacking mana, the crystal replenishes the player\'s mana.',
3064 name => 'Power Crystal' 4426 name => 'Power Crystal'
3065 }, 4427 },
3066 Projectile => { 4428 Projectile => {
3067 attr => { 4429 attr => [
3068 attacktype => { 4430 [
4431 'attacktype',
4432 {
3069 desc => 'This number is a bitmask, specifying the projectile\'s attacktypes. Attacktypes are: physical, magical, fire, cold.. etc. This works identical to melee weapons. Note that shooting weapons cannot have attacktypes.', 4433 desc => 'This number is a bitmask, specifying the projectile\'s attacktypes. Attacktypes are: physical, magical, fire, cold.. etc. This works identical to melee weapons. Note that shooting weapons cannot have attacktypes.',
3070 name => 'attacktype', 4434 name => 'attacktype',
3071 type => 'bitmask', 4435 type => 'bitmask',
3072 value => $BITMASK{attacktype} 4436 value => $BITMASK{attacktype}
4437 }
3073 }, 4438 ],
3074 dam => {
3075 desc => 'The projectile <damage> significantly affects the damage done. Damage can be further increased by the shooting weapon\'s attributes.',
3076 name => 'damage',
3077 type => 'int'
3078 }, 4439 [
3079 food => { 4440 'race',
3080 desc => 'The <chance to break> defines the breaking probability when this projectile hits an obstacle, e.g. wall or monster. The value is the %-chance to break, ranging from 0 (never breaking) to 100 (breaking at first shot).', 4441 {
3081 name => 'chance to break',
3082 type => 'int'
3083 },
3084 magic => {
3085 desc => 'Magic bonus increases chance to hit and damage a little bit.',
3086 name => 'magic bonus',
3087 type => 'int'
3088 },
3089 msg => {
3090 desc => 'This text may describe the projectile. This could be nice for very special ones.',
3091 end => 'endmsg',
3092 name => 'description',
3093 type => 'text'
3094 },
3095 no_drop => {
3096 desc => 'When a monster carries a projectile with <don\'t drop>, this item will never drop to the ground but vanish instead. If this object is shot, it can still drop after hitting an obstacle. You can prevent this by setting <chance to break> 100.',
3097 name => 'don\'t drop',
3098 type => 'bool'
3099 },
3100 race => {
3101 desc => 'Only shooting weapons with matching <ammunition class> can fire these projectiles. For arrows set "arrows", for crossbow bolts set "crossbow bolts" (big surprise). In certain cases, the ammunition class is displayed in the game. Hence, when you create a new ammunition class, choose an intuitive name like "missiles", "spirit bolts" - whatever. You can also make special containers holding these projectiles by setting the <container class> to match your <ammunition class>.', 4442 desc => 'Only shooting weapons with matching <ammunition class> can fire these projectiles. For arrows set "arrows", for crossbow bolts set "crossbow bolts" (big surprise). In certain cases, the ammunition class is displayed in the game. Hence, when you create a new ammunition class, choose an intuitive name like "missiles", "spirit bolts" - whatever. You can also make special containers holding these projectiles by setting the <container class> to match your <ammunition class>.',
3102 name => 'ammunition class', 4443 name => 'ammunition class',
3103 type => 'string' 4444 type => 'string'
4445 }
3104 }, 4446 ],
3105 slaying => { 4447 [
4448 'slaying',
4449 {
3106 desc => 'Slaying means the weapon does tripple (3x) damage to monsters of the specified race. If <slaying race> matches an arch name, only monsters of that archtype receive tripple damage. Tripple damage is very effective.', 4450 desc => 'Slaying means the weapon does tripple (3x) damage to monsters of the specified race. If <slaying race> matches an arch name, only monsters of that archtype receive tripple damage. Tripple damage is very effective.',
3107 name => 'slaying race', 4451 name => 'slaying race',
3108 type => 'string' 4452 type => 'string'
4453 }
3109 }, 4454 ],
3110 startequip => { 4455 [
3111 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 4456 'dam',
3112 name => 'godgiven item', 4457 {
3113 type => 'bool' 4458 desc => 'The projectile <damage> significantly affects the damage done. Damage can be further increased by the shooting weapon\'s attributes.',
4459 name => 'damage',
4460 type => 'int'
4461 }
3114 }, 4462 ],
3115 unique => {
3116 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
3117 name => 'unique item',
3118 type => 'bool'
3119 }, 4463 [
3120 wc => { 4464 'wc',
4465 {
3121 desc => 'This value is supposed to be the base <weaponclass>, but it seems to have rather little effect. High values are good here, low values bad.', 4466 desc => 'This value is supposed to be the base <weaponclass>, but it seems to have rather little effect. High values are good here, low values bad.',
3122 name => 'weaponclass', 4467 name => 'weaponclass',
3123 type => 'int' 4468 type => 'int'
4469 }
4470 ],
3124 } 4471 [
4472 'food',
4473 {
4474 desc => 'The <chance to break> defines the breaking probability when this projectile hits an obstacle, e.g. wall or monster. The value is the %-chance to break, ranging from 0 (never breaking) to 100 (breaking at first shot).',
4475 name => 'chance to break',
4476 type => 'int'
4477 }
4478 ],
4479 [
4480 'magic',
4481 {
4482 desc => 'Magic bonus increases chance to hit and damage a little bit.',
4483 name => 'magic bonus',
4484 type => 'int'
4485 }
4486 ],
4487 [
4488 'unique',
4489 {
4490 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
4491 name => 'unique item',
4492 type => 'bool'
4493 }
4494 ],
4495 [
4496 'startequip',
4497 {
4498 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
4499 name => 'godgiven item',
4500 type => 'bool'
4501 }
4502 ],
4503 [
4504 'no_drop',
4505 {
4506 desc => 'When a monster carries a projectile with <don\'t drop>, this item will never drop to the ground but vanish instead. If this object is shot, it can still drop after hitting an obstacle. You can prevent this by setting <chance to break> 100.',
4507 name => 'don\'t drop',
4508 type => 'bool'
4509 }
4510 ],
4511 [
4512 'msg',
4513 {
4514 desc => 'This text may describe the projectile. This could be nice for very special ones.',
4515 end => 'endmsg',
4516 name => 'description',
4517 type => 'text'
4518 }
4519 ]
3125 }, 4520 ],
3126 desc => 'Projectiles like arrows/crossbow bolts are used as ammunition for shooting weapons. <br><br> It\'s very easy to add new pairs of weapons &amp; projectiles. Just set matching &lt;ammunition class&gt; both for shooting weapon and projectile.', 4521 desc => 'Projectiles like arrows/crossbow bolts are used as ammunition for shooting weapons. <br><br> It\'s very easy to add new pairs of weapons &amp; projectiles. Just set matching &lt;ammunition class&gt; both for shooting weapon and projectile.',
3127 name => 'Projectile', 4522 name => 'Projectile',
3128 use => 'If you want to create new kinds of projectiles, you could add an alchemical receipe to create these. Don\'t create new pairs of weapons &amp; projectiles unless they really fullfill a useful purpose. In fact, even bows and crossbows are rarely ever used.' 4523 use => 'If you want to create new kinds of projectiles, you could add an alchemical receipe to create these. Don\'t create new pairs of weapons &amp; projectiles unless they really fullfill a useful purpose. In fact, even bows and crossbows are rarely ever used.'
3129 }, 4524 },
3130 Ring => { 4525 Ring => {
3134 ], 4529 ],
3135 name => 'Ring', 4530 name => 'Ring',
3136 use => 'When you create an artifact ring, never forget that players can wear <B>two</B> rings! Due to that it is extremely important to keep rings in balance with the game. <br><br> Also keep in mind that rings are generally the wizard\'s tools. They should primarily grant bonuses to spellcasting abilities and non-physical resistances.' 4531 use => 'When you create an artifact ring, never forget that players can wear <B>two</B> rings! Due to that it is extremely important to keep rings in balance with the game. <br><br> Also keep in mind that rings are generally the wizard\'s tools. They should primarily grant bonuses to spellcasting abilities and non-physical resistances.'
3137 }, 4532 },
3138 Rod => { 4533 Rod => {
3139 attr => { 4534 attr => [
3140 hp => { 4535 [
3141 desc => 'This value represents the initial amount of spellpoints in the rod. Naturally, this is quite unimportant.', 4536 'sp',
3142 name => 'initial spellpoints', 4537 {
3143 type => 'int' 4538 desc => 'Sets the <spell> of the rod. Consider twice before handing out special rods to players, since they can be used endlessly without any mana cost! Rods with heal/ restoration/ protection spells, IF available, MUST be very very VERY hard to get!',
4539 name => 'spell',
4540 type => 'spell'
4541 }
3144 }, 4542 ],
3145 level => { 4543 [
4544 'level',
4545 {
3146 desc => 'The casting level of the <spell> determines it\'s power. For attack spells, level should be set to something reasonable.', 4546 desc => 'The casting level of the <spell> determines it\'s power. For attack spells, level should be set to something reasonable.',
3147 name => 'casting level', 4547 name => 'casting level',
3148 type => 'int' 4548 type => 'int'
4549 }
3149 }, 4550 ],
3150 maxhp => { 4551 [
4552 'hp',
4553 {
4554 desc => 'This value represents the initial amount of spellpoints in the rod. Naturally, this is quite unimportant.',
4555 name => 'initial spellpoints',
4556 type => 'int'
4557 }
4558 ],
4559 [
4560 'maxhp',
4561 {
3151 desc => 'When the rod is fully charged up, it will hold this maximum amount of spellpoints. Make sure it is enough to cast the contained spell at least once. But don\'t set the value too high, as that might make the rod too effective.', 4562 desc => 'When the rod is fully charged up, it will hold this maximum amount of spellpoints. Make sure it is enough to cast the contained spell at least once. But don\'t set the value too high, as that might make the rod too effective.',
3152 name => 'max. spellpoints', 4563 name => 'max. spellpoints',
3153 type => 'int' 4564 type => 'int'
4565 }
3154 }, 4566 ],
3155 msg => {
3156 desc => 'This text may contain a description of the rod.',
3157 end => 'endmsg',
3158 name => 'description',
3159 type => 'text'
3160 }, 4567 [
3161 sp => { 4568 'startequip',
3162 desc => 'Sets the <spell> of the rod. Consider twice before handing out special rods to players, since they can be used endlessly without any mana cost! Rods with heal/ restoration/ protection spells, IF available, MUST be very very VERY hard to get!', 4569 {
3163 name => 'spell',
3164 type => 'spell'
3165 },
3166 startequip => {
3167 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 4570 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
3168 name => 'godgiven item', 4571 name => 'godgiven item',
3169 type => 'bool' 4572 type => 'bool'
4573 }
4574 ],
3170 } 4575 [
4576 'msg',
4577 {
4578 desc => 'This text may contain a description of the rod.',
4579 end => 'endmsg',
4580 name => 'description',
4581 type => 'text'
4582 }
4583 ]
3171 }, 4584 ],
3172 desc => 'A rod contains a spell. The player can use this spell by applying and fireing the rod. Rods need time to regenerate their "internal" spellpoints, lowering the effectiveness in combat. But unlike wands/scrolls, rods can be used endlessly.', 4585 desc => 'A rod contains a spell. The player can use this spell by applying and fireing the rod. Rods need time to regenerate their "internal" spellpoints, lowering the effectiveness in combat. But unlike wands/scrolls, rods can be used endlessly.',
3173 ignore => [ 4586 ignore => [
3174 'title' 4587 'title'
3175 ], 4588 ],
3176 name => 'Rod', 4589 name => 'Rod',
3177 use => 'Rods with healing/curing spells are extremely powerful. Usually, potions have to be used for that purpose. Though, potions are expensive and only good for one-time-use.<br>' 4590 use => 'Rods with healing/curing spells are extremely powerful. Usually, potions have to be used for that purpose. Though, potions are expensive and only good for one-time-use.<br>'
3178 }, 4591 },
3179 Rune => { 4592 Rune => {
3180 attr => { 4593 attr => [
3181 Cha => { 4594 [
4595 'no_pick',
4596 {
4597 type => 'fixed',
4598 value => 1
4599 }
4600 ],
4601 [
4602 'walk_on',
4603 {
4604 type => 'fixed',
4605 value => 1
4606 }
4607 ],
4608 [
4609 'level',
4610 {
4611 desc => 'This value sets the level the rune will cast the spell it contains at, if applicable. A level 99 rune casts a very, very mean spell of whatever. (<rune level> 0 runes won\'t detonate at all!) Level Also effects how easily a rune may be found and disarmed, and how much experience the player gets for doing so. Beware: High level runes can be quite a cheap source of experience! So either make them tough, or keep the level low.',
4612 name => 'rune level',
4613 type => 'int'
4614 }
4615 ],
4616 [
4617 'Cha',
4618 {
3182 desc => 'This value determines what fraction of the time the rune is visible: It\'ll be randomly visible 1/<visibility> of the time. Also effects how easily the rune may be found.', 4619 desc => 'This value determines what fraction of the time the rune is visible: It\'ll be randomly visible 1/<visibility> of the time. Also effects how easily the rune may be found.',
3183 name => 'visibility', 4620 name => 'visibility',
3184 type => 'int' 4621 type => 'int'
4622 }
3185 }, 4623 ],
3186 attacktype => { 4624 [
3187 desc => 'If there isn\'t any spell (and <summon monster> is unset), this attribute defines what attacktype to use for direct damage when the rune detonates.', 4625 'hp',
3188 name => 'attacktype', 4626 {
3189 type => 'bitmask', 4627 desc => 'The rune will detonate <number of charges> times before disappearing.',
3190 value => $BITMASK{attacktype} 4628 name => 'number of charges',
4629 type => 'int'
4630 }
3191 }, 4631 ],
3192 dam => { 4632 [
4633 'dam',
4634 {
3193 desc => '<direct damage> specifies how much damage is done by the rune, if it doesn\'t contain a spell. This should be set in reasonable relation to the rune\'s level.', 4635 desc => '<direct damage> specifies how much damage is done by the rune, if it doesn\'t contain a spell. This should be set in reasonable relation to the rune\'s level.',
3194 name => 'direct damage', 4636 name => 'direct damage',
3195 type => 'int' 4637 type => 'int'
4638 }
3196 }, 4639 ],
3197 hp => { 4640 [
3198 desc => 'The rune will detonate <number of charges> times before disappearing.', 4641 'attacktype',
3199 name => 'number of charges', 4642 {
3200 type => 'int' 4643 desc => 'If there isn\'t any spell (and <summon monster> is unset), this attribute defines what attacktype to use for direct damage when the rune detonates.',
4644 name => 'attacktype',
4645 type => 'bitmask',
4646 value => $BITMASK{attacktype}
4647 }
3201 }, 4648 ],
3202 level => {
3203 desc => 'This value sets the level the rune will cast the spell it contains at, if applicable. A level 99 rune casts a very, very mean spell of whatever. (<rune level> 0 runes won\'t detonate at all!) Level Also effects how easily a rune may be found and disarmed, and how much experience the player gets for doing so. Beware: High level runes can be quite a cheap source of experience! So either make them tough, or keep the level low.',
3204 name => 'rune level',
3205 type => 'int'
3206 }, 4649 [
3207 msg => { 4650 'msg',
4651 {
3208 desc => 'When the rune detonates, this text is displayed to the victim. For especially powerful runes, create an appropriate thrilling description. ;)', 4652 desc => 'When the rune detonates, this text is displayed to the victim. For especially powerful runes, create an appropriate thrilling description. ;)',
3209 end => 'endmsg', 4653 end => 'endmsg',
3210 name => 'detonation text', 4654 name => 'detonation text',
3211 type => 'text' 4655 type => 'text'
3212 }, 4656 }
3213 no_pick => {
3214 type => 'fixed',
3215 value => 1
3216 },
3217 walk_on => {
3218 type => 'fixed',
3219 value => 1
3220 } 4657 ]
3221 }, 4658 ],
3222 desc => 'A rune is a magical enscription on the dungeon floor. <br><br> Runes hit any monster or person who steps on them for \'dam\' damage in \'attacktype\' attacktype. Alternatively, the rune could contain any spell, and will cast this spell when it detonates. Yet another kind is the "summoning rune", summoning predefined monsters of any kind, at detonation. <br><br> Many runes are already defined in the archetypes.', 4659 desc => 'A rune is a magical enscription on the dungeon floor. <br><br> Runes hit any monster or person who steps on them for \'dam\' damage in \'attacktype\' attacktype. Alternatively, the rune could contain any spell, and will cast this spell when it detonates. Yet another kind is the "summoning rune", summoning predefined monsters of any kind, at detonation. <br><br> Many runes are already defined in the archetypes.',
3223 ignore => [ 4660 ignore => [
3224 'no_pick', 4661 'no_pick',
3225 'title', 4662 'title',
3226 'name_pl', 4663 'name_pl',
3231 ], 4668 ],
3232 name => 'Rune', 4669 name => 'Rune',
3233 section => [ 4670 section => [
3234 [ 4671 [
3235 'spellcraft', 4672 'spellcraft',
3236 { 4673 [
3237 maxhp => { 4674 [
3238 desc => 'This should only be set to a summoning rune. It will then summon that many creatures of the kind <summon monster>.', 4675 'sp',
3239 name => 'summon amount', 4676 {
4677 desc => 'The selected <spell> defines the spell in the rune, if any. (Many runes do direct damage).',
4678 name => 'spell',
4679 type => 'spell'
4680 }
4681 ],
4682 [
4683 'slaying',
4684 {
4685 desc => 'Name of the spell in the rune, if any. <spell name> is optional, but if present, overrides the <spell> setting.',
4686 name => 'spell name',
3240 type => 'int' 4687 type => 'string'
4688 }
3241 }, 4689 ],
3242 maxsp => { 4690 [
3243 desc => 'If set, the rune will cast it\'s containing spell (if any) in this <direction>.In most cases this appears useless because the spell directly hits the player.', 4691 'other_arch',
3244 name => 'direction', 4692 {
3245 type => 'list',
3246 value => $LIST{direction}
3247 },
3248 other_arch => {
3249 desc => 'This string defines the spell in the rune, if any. <spell arch> is optional, but if present, overrides the <spell> setting. You can choose any of the existing arches.', 4693 desc => 'This string defines the spell in the rune, if any. <spell arch> is optional, but if present, overrides the <spell> setting. You can choose any of the existing arches.',
3250 name => 'spell arch', 4694 name => 'spell arch',
3251 type => 'string' 4695 type => 'string'
4696 }
3252 }, 4697 ],
3253 race => { 4698 [
4699 'maxsp',
4700 {
4701 desc => 'If set, the rune will cast it\'s containing spell (if any) in this <direction>.In most cases this appears useless because the spell directly hits the player.',
4702 name => 'direction',
4703 type => 'list',
4704 value => $LIST{direction}
4705 }
4706 ],
4707 [
4708 'race',
4709 {
3254 desc => 'If this is set to the arch name of any monster, together with <spell name> "summon evil monster", the rune will summon a bunch of those on detonation. (dam and attacktype will still be ignored in this case). Runes are even capable of summoning multi-square monsters, given enough space. You\'d better test it though.', 4710 desc => 'If this is set to the arch name of any monster, together with <spell name> "summon evil monster", the rune will summon a bunch of those on detonation. (dam and attacktype will still be ignored in this case). Runes are even capable of summoning multi-square monsters, given enough space. You\'d better test it though.',
3255 name => 'summon monster', 4711 name => 'summon monster',
3256 type => 'string' 4712 type => 'string'
4713 }
3257 }, 4714 ],
3258 slaying => { 4715 [
3259 desc => 'Name of the spell in the rune, if any. <spell name> is optional, but if present, overrides the <spell> setting.', 4716 'maxhp',
3260 name => 'spell name', 4717 {
4718 desc => 'This should only be set to a summoning rune. It will then summon that many creatures of the kind <summon monster>.',
4719 name => 'summon amount',
3261 type => 'string' 4720 type => 'int'
3262 },
3263 sp => {
3264 desc => 'The selected <spell> defines the spell in the rune, if any. (Many runes do direct damage).',
3265 name => 'spell',
3266 type => 'spell'
3267 } 4721 }
3268 } 4722 ]
4723 ]
3269 ] 4724 ]
3270 ], 4725 ],
3271 use => 'Avoid monsters stepping on your runes. For example, summoning runes together with spellcasting- and attack-runes is usually a bad idea.' 4726 use => 'Avoid monsters stepping on your runes. For example, summoning runes together with spellcasting- and attack-runes is usually a bad idea.'
3272 }, 4727 },
3273 Savebed => { 4728 Savebed => {
3274 attr => { 4729 attr => [
3275 damned => { 4730 [
4731 'no_pick',
4732 {
3276 type => 'fixed', 4733 type => 'fixed',
3277 value => 1 4734 value => 1
4735 }
3278 }, 4736 ],
3279 no_magic => { 4737 [
4738 'no_magic',
4739 {
3280 type => 'fixed', 4740 type => 'fixed',
3281 value => 1 4741 value => 1
4742 }
3282 }, 4743 ],
3283 no_pick => { 4744 [
4745 'damned',
4746 {
3284 type => 'fixed', 4747 type => 'fixed',
3285 value => 1 4748 value => 1
4749 }
3286 } 4750 ]
3287 }, 4751 ],
3288 desc => 'When the player applies a savebed, he is not only saved. Both his respawn-after-death and his word-of-recall positions are pointing to the last-applied savebed.', 4752 desc => 'When the player applies a savebed, he is not only saved. Both his respawn-after-death and his word-of-recall positions are pointing to the last-applied savebed.',
3289 ignore => [ 4753 ignore => [
3290 $IGNORE_LIST{non_pickable} 4754 $IGNORE_LIST{non_pickable}
3291 ], 4755 ],
3292 name => 'Savebed', 4756 name => 'Savebed',
3293 use => 'Put savebed locations in towns, do not put them into dungeons. It is absolutely neccessary that a place with savebeds is 100% secure. That means: <UL> <LI> Monsters must not be able to reach the savebeds under any circumstances! <LI> If there are NPCs around, make sure they have the friendly-flag set. <LI> Insert a relyable exit! Make sure there is no possibility that players get trapped in a savebed location. <LI> If possible, mark the whole site as no-spell area (Insert this arch called "dungeon_magic" everywhere). This is not required, but it makes the place much more safe. </UL>' 4757 use => 'Put savebed locations in towns, do not put them into dungeons. It is absolutely neccessary that a place with savebeds is 100% secure. That means: <UL> <LI> Monsters must not be able to reach the savebeds under any circumstances! <LI> If there are NPCs around, make sure they have the friendly-flag set. <LI> Insert a relyable exit! Make sure there is no possibility that players get trapped in a savebed location. <LI> If possible, mark the whole site as no-spell area (Insert this arch called "dungeon_magic" everywhere). This is not required, but it makes the place much more safe. </UL>'
3294 }, 4758 },
3295 Scroll => { 4759 Scroll => {
3296 attr => { 4760 attr => [
3297 level => { 4761 [
4762 'level',
4763 {
3298 desc => 'The spell of the scroll will be casted at this level. This value should always be set, at least to 1.', 4764 desc => 'The spell of the scroll will be casted at this level. This value should always be set, at least to 1.',
3299 name => 'casting level', 4765 name => 'casting level',
3300 type => 'int' 4766 type => 'int'
4767 }
3301 }, 4768 ],
3302 sp => { 4769 [
4770 'sp',
4771 {
3303 desc => 'When a player/monster applies this scroll, the selected <spell> will be casted (once). This should work for any given spell.', 4772 desc => 'When a player/monster applies this scroll, the selected <spell> will be casted (once). This should work for any given spell.',
3304 name => 'spell', 4773 name => 'spell',
3305 type => 'spell' 4774 type => 'spell'
4775 }
3306 }, 4776 ],
3307 startequip => { 4777 [
4778 'startequip',
4779 {
3308 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 4780 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
3309 name => 'godgiven item', 4781 name => 'godgiven item',
3310 type => 'bool' 4782 type => 'bool'
4783 }
3311 } 4784 ]
3312 }, 4785 ],
3313 desc => 'Scrolls contain spells (similar to spell-potions). Unlike potions, scrolls require a certain literacy skill to read successfully. Accordingly, for a successful reading, a small amount of experience is gained. Scrolls allow only one time usage, but usually they are sold in bulks.', 4786 desc => 'Scrolls contain spells (similar to spell-potions). Unlike potions, scrolls require a certain literacy skill to read successfully. Accordingly, for a successful reading, a small amount of experience is gained. Scrolls allow only one time usage, but usually they are sold in bulks.',
3314 ignore => [ 4787 ignore => [
3315 'title' 4788 'title'
3316 ], 4789 ],
3317 name => 'Scroll', 4790 name => 'Scroll',
3318 use => 'For low level quests, scrolls of healing/curing-spells can be a nice reward. At higher levels, scrolls become less and less useful.' 4791 use => 'For low level quests, scrolls of healing/curing-spells can be a nice reward. At higher levels, scrolls become less and less useful.'
3319 }, 4792 },
3320 Shield => { 4793 Shield => {
3321 attr => { 4794 attr => [
3322 magic => { 4795 [
4796 'magic',
4797 {
3323 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the shield.', 4798 desc => '<magic bonus> works just like ac, except that it can be improved by "scrolls of Enchant Armour" or reduced by acid. It is less useful than direct armour-class bonus on the shield.',
3324 name => 'magic bonus', 4799 name => 'magic bonus',
3325 type => 'int' 4800 type => 'int'
4801 }
3326 } 4802 ]
3327 }, 4803 ],
3328 desc => 'Wearing a shield, the object\'s stats will directly be inherited to the player. Shields usually provide good defense, only surpassed by brestplate armour. Resistances on shields aren\'t uncommon either.', 4804 desc => 'Wearing a shield, the object\'s stats will directly be inherited to the player. Shields usually provide good defense, only surpassed by brestplate armour. Resistances on shields aren\'t uncommon either.',
3329 import => [ 4805 import => [
3330 $TYPE{Amulet} 4806 $TYPE{Amulet}
3331 ], 4807 ],
3332 name => 'Shield', 4808 name => 'Shield',
3333 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.' 4809 use => 'Feel free to create your own special artifacts. However, it is very important that you keep your artifact in balance with existing maps.'
3334 }, 4810 },
3335 'Shooting Weapon' => { 4811 'Shooting Weapon' => {
3336 attr => { 4812 attr => [
3337 cursed => {
3338 desc => 'A cursed shooting weapon cannot be unwielded unless the curse is removed.',
3339 name => 'curse',
3340 type => 'bool'
3341 }, 4813 [
3342 dam => { 4814 'race',
3343 desc => 'The <base damage> significantly affects the damage done by using this weapon. This damage is added to the projectile damage and then (if <ignore strength> disabled) a bonus according to the player\'s strength is added.', 4815 {
3344 name => 'base damage',
3345 type => 'int'
3346 },
3347 damned => {
3348 desc => 'A damned shooting weapon cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.',
3349 name => 'damnation',
3350 type => 'bool'
3351 },
3352 item_power => {
3353 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.',
3354 name => 'item power',
3355 type => 'int'
3356 },
3357 msg => {
3358 desc => 'This text describes the weapons\'s "story". Every decent artifact weapon should have such a description.',
3359 end => 'endmsg',
3360 name => 'description',
3361 type => 'text'
3362 },
3363 no_strength => {
3364 desc => 'Usually the player\'s strentgh takes effect on the damage done by the shooting weapon. If <ignore strength> is set, the player\'s strength is ignored.',
3365 name => 'ignore strength',
3366 type => 'bool'
3367 },
3368 race => {
3369 desc => 'Only projectiles with matching <ammunition class> can be fired with this weapon. For normal bows set "arrows", for normal crossbows set "crossbow bolts". In certain cases, the ammunition class is displayed in the game. Hence, when you create a new ammunition class, choose an intuitive name like "missiles", "spirit bolts" - whatever.', 4816 desc => 'Only projectiles with matching <ammunition class> can be fired with this weapon. For normal bows set "arrows", for normal crossbows set "crossbow bolts". In certain cases, the ammunition class is displayed in the game. Hence, when you create a new ammunition class, choose an intuitive name like "missiles", "spirit bolts" - whatever.',
3370 name => 'ammunition class', 4817 name => 'ammunition class',
3371 type => 'string' 4818 type => 'string'
4819 }
3372 }, 4820 ],
3373 sp => { 4821 [
4822 'sp',
4823 {
3374 desc => 'After shooting a projectile, the player is frozen for a short period of time (to prevent shooting arrows machine-gun-like). The greater <shooting speed>, the shorter this period of time. 1 is minimum (=worst) and 100 is maximum (=best) value. You shouldn\'t set <shooting speed> lower than 10. YOU MUST NOT SET IT TO ZERO! (That would freeze the player for eternety).', 4824 desc => 'After shooting a projectile, the player is frozen for a short period of time (to prevent shooting arrows machine-gun-like). The greater <shooting speed>, the shorter this period of time. 1 is minimum (=worst) and 100 is maximum (=best) value. You shouldn\'t set <shooting speed> lower than 10. YOU MUST NOT SET IT TO ZERO! (That would freeze the player for eternety).',
3375 name => 'shooting speed', 4825 name => 'shooting speed',
3376 type => 'int' 4826 type => 'int'
4827 }
3377 }, 4828 ],
3378 startequip => { 4829 [
3379 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 4830 'dam',
3380 name => 'godgiven item', 4831 {
3381 type => 'bool' 4832 desc => 'The <base damage> significantly affects the damage done by using this weapon. This damage is added to the projectile damage and then (if <ignore strength> disabled) a bonus according to the player\'s strength is added.',
4833 name => 'base damage',
4834 type => 'int'
4835 }
3382 }, 4836 ],
3383 unique => {
3384 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
3385 name => 'unique item',
3386 type => 'bool'
3387 }, 4837 [
3388 wc => { 4838 'wc',
4839 {
3389 desc => 'This value is supposed to be the base <weaponclass>, but it seems to have rather little effect. High values are good here, low values bad.', 4840 desc => 'This value is supposed to be the base <weaponclass>, but it seems to have rather little effect. High values are good here, low values bad.',
3390 name => 'weaponclass', 4841 name => 'weaponclass',
3391 type => 'int' 4842 type => 'int'
4843 }
4844 ],
3392 } 4845 [
4846 'item_power',
4847 {
4848 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.',
4849 name => 'item power',
4850 type => 'int'
4851 }
4852 ],
4853 [
4854 'no_strength',
4855 {
4856 desc => 'Usually the player\'s strentgh takes effect on the damage done by the shooting weapon. If <ignore strength> is set, the player\'s strength is ignored.',
4857 name => 'ignore strength',
4858 type => 'bool'
4859 }
4860 ],
4861 [
4862 'damned',
4863 {
4864 desc => 'A damned shooting weapon cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.',
4865 name => 'damnation',
4866 type => 'bool'
4867 }
4868 ],
4869 [
4870 'cursed',
4871 {
4872 desc => 'A cursed shooting weapon cannot be unwielded unless the curse is removed.',
4873 name => 'curse',
4874 type => 'bool'
4875 }
4876 ],
4877 [
4878 'unique',
4879 {
4880 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
4881 name => 'unique item',
4882 type => 'bool'
4883 }
4884 ],
4885 [
4886 'startequip',
4887 {
4888 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
4889 name => 'godgiven item',
4890 type => 'bool'
4891 }
4892 ],
4893 [
4894 'msg',
4895 {
4896 desc => 'This text describes the weapons\'s "story". Every decent artifact weapon should have such a description.',
4897 end => 'endmsg',
4898 name => 'description',
4899 type => 'text'
4900 }
4901 ]
3393 }, 4902 ],
3394 desc => 'Schooting weapons like bows/crossbows are used to shoot projectiles (arrows/bolts). Shooting weapons and normal (melee) weapons can be wielded both at the same time. Like with any other equipment, stats/bonuses from shooting weapons are directly inherited to the player. <br><br> It\'s very easy to add new pairs of weapons &amp; projectiles. Just set matching &lt;ammunition class&gt; both for shooting weapon and projectile.', 4903 desc => 'Schooting weapons like bows/crossbows are used to shoot projectiles (arrows/bolts). Shooting weapons and normal (melee) weapons can be wielded both at the same time. Like with any other equipment, stats/bonuses from shooting weapons are directly inherited to the player. <br><br> It\'s very easy to add new pairs of weapons &amp; projectiles. Just set matching &lt;ammunition class&gt; both for shooting weapon and projectile.',
3395 name => 'Shooting Weapon', 4904 name => 'Shooting Weapon',
3396 section => [ 4905 section => [
3397 [ 4906 [
3398 'stats', 4907 'stats',
3399 { 4908 [
3400 Cha => { 4909 [
4910 'Str',
4911 {
3401 desc => 'The player\'s charisma will rise/fall by the given value while wearing this shooting weapon.', 4912 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this shooting weapon.',
3402 name => 'charisma', 4913 name => 'strength',
3403 type => 'int' 4914 type => 'int'
4915 }
3404 }, 4916 ],
3405 Con => { 4917 [
4918 'Dex',
4919 {
4920 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this shooting weapon.',
4921 name => 'dexterity',
4922 type => 'int'
4923 }
4924 ],
4925 [
4926 'Con',
4927 {
3406 desc => 'The player\'s constitution will rise/fall by the given value while wearing this shooting weapon.', 4928 desc => 'The player\'s constitution will rise/fall by the given value while wearing this shooting weapon.',
3407 name => 'constitution', 4929 name => 'constitution',
3408 type => 'int' 4930 type => 'int'
4931 }
3409 }, 4932 ],
3410 Dex => { 4933 [
3411 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this shooting weapon.', 4934 'Int',
3412 name => 'dexterity', 4935 {
3413 type => 'int'
3414 },
3415 Int => {
3416 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this shooting weapon.', 4936 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this shooting weapon.',
3417 name => 'intelligence', 4937 name => 'intelligence',
3418 type => 'int' 4938 type => 'int'
4939 }
3419 }, 4940 ],
3420 Pow => { 4941 [
4942 'Pow',
4943 {
3421 desc => 'The player\'s power will rise/fall by the given value while wearing this shooting weapon.', 4944 desc => 'The player\'s power will rise/fall by the given value while wearing this shooting weapon.',
3422 name => 'power', 4945 name => 'power',
3423 type => 'int' 4946 type => 'int'
4947 }
3424 }, 4948 ],
3425 Str => { 4949 [
3426 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this shooting weapon.', 4950 'Wis',
3427 name => 'strength', 4951 {
3428 type => 'int'
3429 },
3430 Wis => {
3431 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this shooting weapon.', 4952 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this shooting weapon.',
3432 name => 'wisdom', 4953 name => 'wisdom',
3433 type => 'int' 4954 type => 'int'
3434 } 4955 }
3435 } 4956 ],
4957 [
4958 'Cha',
4959 {
4960 desc => 'The player\'s charisma will rise/fall by the given value while wearing this shooting weapon.',
4961 name => 'charisma',
4962 type => 'int'
4963 }
4964 ]
4965 ]
3436 ], 4966 ],
3437 [ 4967 [
3438 'bonus', 4968 'bonus',
3439 { 4969 [
3440 luck => { 4970 [
4971 'luck',
4972 {
3441 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.', 4973 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.',
3442 name => 'luck bonus', 4974 name => 'luck bonus',
3443 type => 'int' 4975 type => 'int'
4976 }
3444 }, 4977 ],
3445 magic => { 4978 [
4979 'magic',
4980 {
3446 desc => '<Magic bonus> improves the quality of the shooting weapon. I\'m not sure what exactly is increased - maybe weaponclass? However, <magic bonus> seems to have a little bit of positive influence on your chance to hit.', 4981 desc => '<Magic bonus> improves the quality of the shooting weapon. I\'m not sure what exactly is increased - maybe weaponclass? However, <magic bonus> seems to have a little bit of positive influence on your chance to hit.',
3447 name => 'magic bonus', 4982 name => 'magic bonus',
3448 type => 'int' 4983 type => 'int'
3449 } 4984 }
3450 } 4985 ]
4986 ]
3451 ] 4987 ]
3452 ], 4988 ],
3453 use => 'Shooting weapons should not add bonuses in general. There\'s already enough "equipment-slots" doing that: swords, rings, amulets, girdles etc. Schooting weapons should especially not add bonuses to the player that have nothing to do with schooting. A Wisdom bonus on a bow is crap for example! A name like "Longbow of great Wisdom" doesn\'t help - still crap.' 4989 use => 'Shooting weapons should not add bonuses in general. There\'s already enough "equipment-slots" doing that: swords, rings, amulets, girdles etc. Schooting weapons should especially not add bonuses to the player that have nothing to do with schooting. A Wisdom bonus on a bow is crap for example! A name like "Longbow of great Wisdom" doesn\'t help - still crap.'
3454 }, 4990 },
3455 'Shop Floor' => { 4991 'Shop Floor' => {
3456 attr => { 4992 attr => [
3457 auto_apply => { 4993 [
4994 'is_floor',
4995 {
4996 type => 'fixed',
4997 value => 1
4998 }
4999 ],
5000 [
5001 'no_pick',
5002 {
5003 type => 'fixed',
5004 value => 1
5005 }
5006 ],
5007 [
5008 'no_magic',
5009 {
5010 type => 'fixed',
5011 value => 1
5012 }
5013 ],
5014 [
5015 'auto_apply',
5016 {
3458 desc => 'If enabled, items will appear on this square when the map is loaded. You need to specify a <treasurelist> to define what kinds of items are generated. The items will be unpaid.', 5017 desc => 'If enabled, items will appear on this square when the map is loaded. You need to specify a <treasurelist> to define what kinds of items are generated. The items will be unpaid.',
3459 name => 'generate goods', 5018 name => 'generate goods',
3460 type => 'bool' 5019 type => 'bool'
5020 }
3461 }, 5021 ],
3462 damned => {
3463 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving. (Remember that <no magic> is always set for shop floors.)',
3464 name => 'no prayers',
3465 type => 'bool'
3466 }, 5022 [
3467 exp => { 5023 'randomitems',
3468 desc => 'The <quality level> will be used for the quality of the generated goods. If zero/unset, <quality level> 5 is used. Usually this value doesn\'t need to be set, unless you want extraordinarily good/bad quality. If you want to make a shop with very high quality, meaybe charge an entrance fee, or make the shop hard-to-come-by. Note that <quality level> mainly affects chance of magic bonus and appearance of artifact-items.', 5024 {
3469 name => 'quality level',
3470 type => 'int'
3471 },
3472 is_floor => {
3473 type => 'fixed',
3474 value => 1
3475 },
3476 no_magic => {
3477 type => 'fixed',
3478 value => 1
3479 },
3480 no_pick => {
3481 type => 'fixed',
3482 value => 1
3483 },
3484 randomitems => {
3485 desc => 'This entry determines what kind of treasure will appear, when <generate goods> is enabled. Look into /crossfire/share/crossfire/treasures for details about existing treasurelists.', 5025 desc => 'This entry determines what kind of treasure will appear, when <generate goods> is enabled. Look into /crossfire/share/crossfire/treasures for details about existing treasurelists.',
3486 name => 'treasurelist', 5026 name => 'treasurelist',
3487 type => 'treasurelist' 5027 type => 'treasurelist'
5028 }
5029 ],
3488 } 5030 [
5031 'exp',
5032 {
5033 desc => 'The <quality level> will be used for the quality of the generated goods. If zero/unset, <quality level> 5 is used. Usually this value doesn\'t need to be set, unless you want extraordinarily good/bad quality. If you want to make a shop with very high quality, meaybe charge an entrance fee, or make the shop hard-to-come-by. Note that <quality level> mainly affects chance of magic bonus and appearance of artifact-items.',
5034 name => 'quality level',
5035 type => 'int'
5036 }
5037 ],
5038 [
5039 'damned',
5040 {
5041 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving. (Remember that <no magic> is always set for shop floors.)',
5042 name => 'no prayers',
5043 type => 'bool'
5044 }
5045 ]
3489 }, 5046 ],
3490 desc => 'Shop floor is used for shops. It acts like a combination of the common floor- and the treasure type: When the map is loaded, randomitems (depending on the setings) are generated on it. These items are all flagged as unpaid. When a player drops an item onto shop floor, the item becomes unpaid and the player receives payment according to the item\'s selling-value. Shopfloor always prevents magic (To hinder players from burning or freezing the goods).', 5047 desc => 'Shop floor is used for shops. It acts like a combination of the common floor- and the treasure type: When the map is loaded, randomitems (depending on the setings) are generated on it. These items are all flagged as unpaid. When a player drops an item onto shop floor, the item becomes unpaid and the player receives payment according to the item\'s selling-value. Shopfloor always prevents magic (To hinder players from burning or freezing the goods).',
3491 ignore => [ 5048 ignore => [
3492 $IGNORE_LIST{non_pickable} 5049 $IGNORE_LIST{non_pickable}
3493 ], 5050 ],
3494 name => 'Shop Floor', 5051 name => 'Shop Floor',
3495 use => 'Tile your whole shop-interior space which shop floor. (That assures players receive payment for dropping items). Place shop mats to enter/leave the shop, and make sure there is no other exit than the shop mat.' 5052 use => 'Tile your whole shop-interior space which shop floor. (That assures players receive payment for dropping items). Place shop mats to enter/leave the shop, and make sure there is no other exit than the shop mat.'
3496 }, 5053 },
3497 'Shop Mat' => { 5054 'Shop Mat' => {
3498 attr => { 5055 attr => [
3499 fly_on => {
3500 desc => 'If set, the player can enter/leave the shop by "flying" into the shop mat.',
3501 name => 'apply by flying',
3502 type => 'bool'
3503 }, 5056 [
3504 no_pick => { 5057 'no_pick',
5058 {
3505 type => 'fixed', 5059 type => 'fixed',
3506 value => 1 5060 value => 1
5061 }
3507 }, 5062 ],
3508 walk_on => { 5063 [
5064 'walk_on',
5065 {
3509 desc => 'If set, the player can enter/leave the shop by just walking into the shop mat.', 5066 desc => 'If set, the player can enter/leave the shop by just walking into the shop mat.',
3510 name => 'apply by walking', 5067 name => 'apply by walking',
3511 type => 'bool' 5068 type => 'bool'
5069 }
5070 ],
3512 } 5071 [
5072 'fly_on',
5073 {
5074 desc => 'If set, the player can enter/leave the shop by "flying" into the shop mat.',
5075 name => 'apply by flying',
5076 type => 'bool'
5077 }
5078 ]
3513 }, 5079 ],
3514 desc => 'Shop mats are used for entering/leaving shops. You should always have exactly TWO shop mats on your shop-map: One inside the "shopping-area" and one outside. Shop mats don\'t use exit paths/ or -destinations. When stepping onto a shopmat the player gets beamed to the nearest other mat. If the player has unpaid items in his inventory, the price gets charged from his coins automatically. If the player has insufficient coins to buy his unpaid items, he is unable to pass any shopmat (So he has to drop unpaid items).', 5080 desc => 'Shop mats are used for entering/leaving shops. You should always have exactly TWO shop mats on your shop-map: One inside the "shopping-area" and one outside. Shop mats don\'t use exit paths/ or -destinations. When stepping onto a shopmat the player gets beamed to the nearest other mat. If the player has unpaid items in his inventory, the price gets charged from his coins automatically. If the player has insufficient coins to buy his unpaid items, he is unable to pass any shopmat (So he has to drop unpaid items).',
3515 ignore => [ 5081 ignore => [
3516 $IGNORE_LIST{non_pickable} 5082 $IGNORE_LIST{non_pickable}
3517 ], 5083 ],
3518 name => 'Shop Mat', 5084 name => 'Shop Mat',
3519 use => 'As stated above, always place TWO shop mats into your shop. Not more and not less than that.' 5085 use => 'As stated above, always place TWO shop mats into your shop. Not more and not less than that.'
3520 }, 5086 },
3521 'Sign & MagicMouth' => { 5087 'Sign & MagicMouth' => {
3522 attr => { 5088 attr => [
3523 connected => { 5089 [
5090 'connected',
5091 {
3524 desc => 'When a connection value is set, the message will be printed whenever the connection is triggered. This should be used in combination with <invisible> enabled and <activate by walking/flying> disabled. If activating your magic_mouth this way, the message will not only be printed to one player, but all players on the current map.', 5092 desc => 'When a connection value is set, the message will be printed whenever the connection is triggered. This should be used in combination with <invisible> enabled and <activate by walking/flying> disabled. If activating your magic_mouth this way, the message will not only be printed to one player, but all players on the current map.',
3525 name => 'connection', 5093 name => 'connection',
3526 type => 'int' 5094 type => 'int'
5095 }
3527 }, 5096 ],
3528 fly_on => { 5097 [
5098 'walk_on',
5099 {
5100 desc => 'If set, the player gets the message when walking ontop of the object. "invisible 1" should be set in this case. This is the typical configuration for a "magic_mouth": The player walks through a dungeon and suddenly he gets a message. Use this to create some roleplay atmosphere, and to inform the player about possible dangers or secrets.',
5101 name => 'activate by walking',
5102 type => 'bool'
5103 }
5104 ],
5105 [
5106 'fly_on',
5107 {
3529 desc => 'If set, the player gets the message when flying (=levitating) ontop of the object. Usually this should be set together with walk_on.', 5108 desc => 'If set, the player gets the message when flying (=levitating) ontop of the object. Usually this should be set together with walk_on.',
3530 name => 'activate by flying', 5109 name => 'activate by flying',
3531 type => 'bool' 5110 type => 'bool'
5111 }
3532 }, 5112 ],
3533 food => { 5113 [
5114 'food',
5115 {
3534 desc => 'If a counter-value is set (greater zero), the sign/magic_mouth can be applied (printing the message) only that many times. For signs this really shouldn\'t be used, while for magic_mouths it is extremely helpful. Monsters walking over the magic_mouth do not decrease the counter. Often, you might want to have a message displayed only one time. For example: The player enters your map and you put a magic_mouth to tell him about the monsters and how dangerous they look and all. Later, when all the monsters are killed and the player leaves the map, displaying the same message a second time would be silly. <counter> 1 does a perfect job in such cases. Otherwise set <counter> zero/unset for infinite use (that is the default).', 5116 desc => 'If a counter-value is set (greater zero), the sign/magic_mouth can be applied (printing the message) only that many times. For signs this really shouldn\'t be used, while for magic_mouths it is extremely helpful. Monsters walking over the magic_mouth do not decrease the counter. Often, you might want to have a message displayed only one time. For example: The player enters your map and you put a magic_mouth to tell him about the monsters and how dangerous they look and all. Later, when all the monsters are killed and the player leaves the map, displaying the same message a second time would be silly. <counter> 1 does a perfect job in such cases. Otherwise set <counter> zero/unset for infinite use (that is the default).',
3535 name => 'counter', 5117 name => 'counter',
3536 type => 'int' 5118 type => 'int'
5119 }
3537 }, 5120 ],
3538 msg => { 5121 [
5122 'msg',
5123 {
3539 desc => 'This text will be displayed to the player.', 5124 desc => 'This text will be displayed to the player.',
3540 end => 'endmsg', 5125 end => 'endmsg',
3541 name => 'message', 5126 name => 'message',
3542 type => 'text' 5127 type => 'text'
3543 }, 5128 }
3544 walk_on => {
3545 desc => 'If set, the player gets the message when walking ontop of the object. "invisible 1" should be set in this case. This is the typical configuration for a "magic_mouth": The player walks through a dungeon and suddenly he gets a message. Use this to create some roleplay atmosphere, and to inform the player about possible dangers or secrets.',
3546 name => 'activate by walking',
3547 type => 'bool'
3548 } 5129 ]
3549 }, 5130 ],
3550 desc => 'The purpose of a sign or magic_mouth is to display a certain message to the player. There are three ways to have the player get this message: The player walking onto it (-&gt; magic_mouth), the player pressing &lt;a&gt;pply (-&gt; sign) or the player triggering a button/handle/etc (-&gt; magic_mouth).', 5131 desc => 'The purpose of a sign or magic_mouth is to display a certain message to the player. There are three ways to have the player get this message: The player walking onto it (-&gt; magic_mouth), the player pressing &lt;a&gt;pply (-&gt; sign) or the player triggering a button/handle/etc (-&gt; magic_mouth).',
3551 ignore => [ 5132 ignore => [
3552 $IGNORE_LIST{non_pickable} 5133 $IGNORE_LIST{non_pickable}
3553 ], 5134 ],
3554 name => 'Sign & MagicMouth', 5135 name => 'Sign & MagicMouth',
3555 use => 'Use signs and magic_mouths, plenty of them! Place magic_mouths to add some true roleplay feeling to your maps, support your storyline or give hints about hidden secrets/dangers. Place signs to provide the player with all kinds of useful information for getting along in your maps.' 5136 use => 'Use signs and magic_mouths, plenty of them! Place magic_mouths to add some true roleplay feeling to your maps, support your storyline or give hints about hidden secrets/dangers. Place signs to provide the player with all kinds of useful information for getting along in your maps.'
3556 }, 5137 },
3557 Skill => { 5138 Skill => {
3558 attr => { 5139 attr => [
3559 can_use_skill => { 5140 [
3560 desc => 'The <is native skill> flag has an effect only when this skill object is placed in the inventory of a monster (or player). If it is set, the monster or player knows the skill natively, which means he does not need a skill tool to use it.', 5141 'invisible',
3561 name => 'is native skill', 5142 {
3562 type => 'bool' 5143 type => 'fixed',
5144 value => 1
5145 }
3563 }, 5146 ],
3564 exp => { 5147 [
3565 name => 'experience', 5148 'no_drop',
3566 type => 'int' 5149 {
5150 type => 'fixed',
5151 value => 1
5152 }
3567 }, 5153 ],
3568 expmul => { 5154 [
5155 'skill',
5156 {
5157 desc => 'The <skill name> is used for matchings. When a usable object has an identical <skill name>, players (or monsters) will need this skill to apply/use the object.',
5158 name => 'skill name',
5159 type => 'string'
5160 }
5161 ],
5162 [
5163 'expmul',
5164 {
3569 desc => 'This is the ratio of experience the players total should increase by when this skill is used. If this is zero, then experience only goes to to the skill. Values higher than 1 are allowed. Note that experience rewarded to the players total is in addition to that given to the skill. Eg, if player should get 500 exp for using a skill, and expmul is 1, the player will get 500 added to that skill as well as 500 to their total.', 5165 desc => 'This is the ratio of experience the players total should increase by when this skill is used. If this is zero, then experience only goes to to the skill. Values higher than 1 are allowed. Note that experience rewarded to the players total is in addition to that given to the skill. Eg, if player should get 500 exp for using a skill, and expmul is 1, the player will get 500 added to that skill as well as 500 to their total.',
3570 name => 'exp multiplier', 5166 name => 'exp multiplier',
3571 type => 'float' 5167 type => 'float'
5168 }
3572 }, 5169 ],
3573 invisible => {
3574 type => 'fixed',
3575 value => 1
3576 }, 5170 [
3577 level => { 5171 'subtype',
3578 name => 'level', 5172 {
3579 type => 'int'
3580 },
3581 no_drop => {
3582 type => 'fixed',
3583 value => 1
3584 },
3585 skill => {
3586 desc => 'The <skill name> is used for matchings. When a usable object has an identical <skill name>, players (or monsters) will need this skill to apply/use the object.',
3587 name => 'skill name',
3588 type => 'string'
3589 },
3590 subtype => {
3591 desc => 'The <skill type> defines the base functionality of the skill. Skill types are hardcoded in the Crossfire server. It isn\'t hard to create new skill types, but it requires a bit of server-coding.', 5173 desc => 'The <skill type> defines the base functionality of the skill. Skill types are hardcoded in the Crossfire server. It isn\'t hard to create new skill types, but it requires a bit of server-coding.',
3592 name => 'skill type', 5174 name => 'skill type',
3593 type => 'list', 5175 type => 'list',
3594 value => $LIST{skill_type} 5176 value => $LIST{skill_type}
5177 }
5178 ],
3595 } 5179 [
5180 'level',
5181 {
5182 name => 'level',
5183 type => 'int'
5184 }
5185 ],
5186 [
5187 'exp',
5188 {
5189 name => 'experience',
5190 type => 'int'
5191 }
5192 ],
5193 [
5194 'can_use_skill',
5195 {
5196 desc => 'The <is native skill> flag has an effect only when this skill object is placed in the inventory of a monster (or player). If it is set, the monster or player knows the skill natively, which means he does not need a skill tool to use it.',
5197 name => 'is native skill',
5198 type => 'bool'
5199 }
5200 ]
3596 }, 5201 ],
3597 desc => 'Skills are objects which exist in the player/monster inventory. Both NPC/monsters and players use the same skill archetypes. Not all skills are enabled for monster use however.', 5202 desc => 'Skills are objects which exist in the player/monster inventory. Both NPC/monsters and players use the same skill archetypes. Not all skills are enabled for monster use however.',
3598 ignore => [ 5203 ignore => [
3599 $IGNORE_LIST{system_object} 5204 $IGNORE_LIST{system_object}
3600 ], 5205 ],
3601 name => 'Skill', 5206 name => 'Skill',
3602 use => 'For mapmaking, Skill objects serve two purposes: <p>First, the predefined skill archtypes (in the \'skills\' directory) can be seen as the global skill definitions. A skill which doesn\'t exists as an archtype cannot be learned or used by players. When you want to use skills in your maps, you may need to look up the &lt;skill name&gt;s of defined skill archtypes, because those strings are used as a reference in many skill-related objects. </p><p> Secondly, in order to enable monsters to use skills, you will need to copy default skill archtypes into the monsters\' inventories. You can even customize the skills by changing stats. It is not recommended however, to use skills in your maps which are totally unrelated to any predefined skill archtype.</p>' 5207 use => 'For mapmaking, Skill objects serve two purposes: <p>First, the predefined skill archtypes (in the \'skills\' directory) can be seen as the global skill definitions. A skill which doesn\'t exists as an archtype cannot be learned or used by players. When you want to use skills in your maps, you may need to look up the &lt;skill name&gt;s of defined skill archtypes, because those strings are used as a reference in many skill-related objects. </p><p> Secondly, in order to enable monsters to use skills, you will need to copy default skill archtypes into the monsters\' inventories. You can even customize the skills by changing stats. It is not recommended however, to use skills in your maps which are totally unrelated to any predefined skill archtype.</p>'
3603 }, 5208 },
3604 'Skill Scroll' => { 5209 'Skill Scroll' => {
3605 attr => { 5210 attr => [
3606 race => { 5211 [
5212 'race',
5213 {
3607 type => 'fixed', 5214 type => 'fixed',
3608 value => 'scrolls' 5215 value => 'scrolls'
5216 }
3609 }, 5217 ],
3610 skill => { 5218 [
5219 'skill',
5220 {
3611 desc => 'The <skill name> matches the skill object that can be learned from this scroll.', 5221 desc => 'The <skill name> matches the skill object that can be learned from this scroll.',
3612 name => 'skill name', 5222 name => 'skill name',
3613 type => 'string' 5223 type => 'string'
5224 }
3614 } 5225 ]
3615 }, 5226 ],
3616 desc => 'By reading a skill scroll, a player has a chance to learn the contained skill.', 5227 desc => 'By reading a skill scroll, a player has a chance to learn the contained skill.',
3617 name => 'Skill Scroll', 5228 name => 'Skill Scroll',
3618 use => 'Skill scrolls are very much sought for by players. Currently, all skill scrolls are sold in shops randomly, which is in fact not a good system. It would be nice to have some cool quests with skill scrolls rewarded at the end.' 5229 use => 'Skill scrolls are very much sought for by players. Currently, all skill scrolls are sold in shops randomly, which is in fact not a good system. It would be nice to have some cool quests with skill scrolls rewarded at the end.'
3619 }, 5230 },
3620 'Special Key' => { 5231 'Special Key' => {
3621 attr => { 5232 attr => [
3622 material => {
3623 desc => 'For Special Keys, material should always be unset or set to Adamantite. This prevents the key from getting burned or otherwise destroyed.',
3624 name => 'material',
3625 type => 'bitmask',
3626 value => $BITMASK{material}
3627 }, 5233 [
3628 msg => { 5234 'slaying',
3629 desc => 'This will add a description to the object. The player can read this text by clicking on the item in his inventory. Use this message to describe what the key/passport is good for. A player might have 50 different keys on his key-ring. Don\'t expect players to recall their purpose just by their names.', 5235 {
3630 end => 'endmsg',
3631 name => 'description',
3632 type => 'text'
3633 },
3634 slaying => {
3635 desc => 'This string must be identical with the <key string> in the locked door, then it can be unlocked. It can also be used to trigger inventory checkers.', 5236 desc => 'This string must be identical with the <key string> in the locked door, then it can be unlocked. It can also be used to trigger inventory checkers.',
3636 name => 'key string', 5237 name => 'key string',
3637 type => 'string' 5238 type => 'string'
5239 }
3638 }, 5240 ],
3639 startequip => { 5241 [
5242 'material',
5243 {
5244 desc => 'For Special Keys, material should always be unset or set to Adamantite. This prevents the key from getting burned or otherwise destroyed.',
5245 name => 'material',
5246 type => 'bitmask',
5247 value => $BITMASK{material}
5248 }
5249 ],
5250 [
5251 'unique',
5252 {
5253 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good. This can be used if you want to sell apartments on your map: Simply sell a unique passport/key, and place an inventory checker at the entrance of your apartment.',
5254 name => 'unique item',
5255 type => 'bool'
5256 }
5257 ],
5258 [
5259 'startequip',
5260 {
3640 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 5261 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
3641 name => 'godgiven item', 5262 name => 'godgiven item',
3642 type => 'bool' 5263 type => 'bool'
5264 }
3643 }, 5265 ],
3644 unique => {
3645 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good. This can be used if you want to sell apartments on your map: Simply sell a unique passport/key, and place an inventory checker at the entrance of your apartment.',
3646 name => 'unique item',
3647 type => 'bool'
3648 } 5266 [
5267 'msg',
5268 {
5269 desc => 'This will add a description to the object. The player can read this text by clicking on the item in his inventory. Use this message to describe what the key/passport is good for. A player might have 50 different keys on his key-ring. Don\'t expect players to recall their purpose just by their names.',
5270 end => 'endmsg',
5271 name => 'description',
5272 type => 'text'
5273 }
5274 ]
3649 }, 5275 ],
3650 desc => 'When carrying the appropriate special key, a locked door can be opened. The key will dissapear. <br><br> This object-type can also be used for "passport"-like items: When walking onto an invetory checker, a gate for example might get opened. The "passport" will stay in the player\'s inventory.', 5276 desc => 'When carrying the appropriate special key, a locked door can be opened. The key will dissapear. <br><br> This object-type can also be used for "passport"-like items: When walking onto an invetory checker, a gate for example might get opened. The "passport" will stay in the player\'s inventory.',
3651 ignore => [ 5277 ignore => [
3652 'material' 5278 'material'
3653 ], 5279 ],
3654 name => 'Special Key', 5280 name => 'Special Key',
3655 use => 'How to make a "passport": You take the special key arch (archetype name is "key2"), set the face to something like card.111 and the name to "passport" - that\'s all. The &lt;key string&gt; certainly must match with the appropiate inventory checker. <br><br> Of course you can be creative with names and faces of key-objects. A "mysterious crystal" or a "big dragon claw" (with appropriate faces) appear more interesting than just a "strange key", or "passport".' 5281 use => 'How to make a "passport": You take the special key arch (archetype name is "key2"), set the face to something like card.111 and the name to "passport" - that\'s all. The &lt;key string&gt; certainly must match with the appropiate inventory checker. <br><br> Of course you can be creative with names and faces of key-objects. A "mysterious crystal" or a "big dragon claw" (with appropriate faces) appear more interesting than just a "strange key", or "passport".'
3656 }, 5282 },
3657 Spell => { 5283 Spell => {
3658 attr => { 5284 attr => [
3659 casting_time => {
3660 name => 'casting time',
3661 type => 'int'
3662 }, 5285 [
3663 duration => { 5286 'no_drop',
3664 name => 'duration', 5287 {
3665 type => 'int'
3666 },
3667 grace => {
3668 name => 'cost grace',
3669 type => 'int'
3670 },
3671 invisible => {
3672 type => 'fixed', 5288 type => 'fixed',
3673 value => 1 5289 value => 1
5290 }
3674 }, 5291 ],
3675 level => {
3676 name => 'spell level',
3677 type => 'int'
3678 }, 5292 [
3679 maxsp => { 5293 'invisible',
3680 name => 'double cost per level', 5294 {
3681 type => 'int'
3682 },
3683 no_drop => {
3684 type => 'fixed', 5295 type => 'fixed',
3685 value => 1 5296 value => 1
5297 }
3686 }, 5298 ],
3687 other_arch => {
3688 name => 'create object',
3689 type => 'string'
3690 }, 5299 [
3691 skill => { 5300 'skill',
5301 {
3692 desc => 'The <skill name> matches the skill which is needed to cast this spell. This should be one out of "sorcery", "pyromancy", "evocation", "summoning" or "praying". If you want to fiddle with these, please take care not to upset the concept and balance of the various skills.', 5302 desc => 'The <skill name> matches the skill which is needed to cast this spell. This should be one out of "sorcery", "pyromancy", "evocation", "summoning" or "praying". If you want to fiddle with these, please take care not to upset the concept and balance of the various skills.',
3693 name => 'skill name', 5303 name => 'skill name',
3694 type => 'string' 5304 type => 'string'
5305 }
3695 }, 5306 ],
3696 sp => {
3697 name => 'cost spellpoints',
3698 type => 'int'
3699 }, 5307 [
3700 subtype => { 5308 'subtype',
5309 {
3701 desc => 'The <spell type> defines the basic type of spell. Some of these types are of a more generic nature than others.', 5310 desc => 'The <spell type> defines the basic type of spell. Some of these types are of a more generic nature than others.',
3702 name => 'spell type', 5311 name => 'spell type',
3703 type => 'list', 5312 type => 'list',
3704 value => $LIST{spell_type} 5313 value => $LIST{spell_type}
5314 }
5315 ],
3705 } 5316 [
5317 'level',
5318 {
5319 name => 'spell level',
5320 type => 'int'
5321 }
5322 ],
5323 [
5324 'casting_time',
5325 {
5326 name => 'casting time',
5327 type => 'int'
5328 }
5329 ],
5330 [
5331 'duration',
5332 {
5333 name => 'duration',
5334 type => 'int'
5335 }
5336 ],
5337 [
5338 'other_arch',
5339 {
5340 name => 'create object',
5341 type => 'string'
5342 }
5343 ],
5344 [
5345 'sp',
5346 {
5347 name => 'cost spellpoints',
5348 type => 'int'
5349 }
5350 ],
5351 [
5352 'grace',
5353 {
5354 name => 'cost grace',
5355 type => 'int'
5356 }
5357 ],
5358 [
5359 'maxsp',
5360 {
5361 name => 'double cost per level',
5362 type => 'int'
5363 }
5364 ]
3706 }, 5365 ],
3707 desc => 'Spell objects define a spell. When a spell is put in a spellbook, players can learn it by reading the book. Once learned, players can use the spell as often as they like. With increasing skill level of the player, spells may gain power but also increase cost.<br> Monsters can use spells which are put in their inventory (provided that certain "enabling" settings are correct). The monster\'s &lt;treasurelist&gt; can also be used to provide it with spells.', 5366 desc => 'Spell objects define a spell. When a spell is put in a spellbook, players can learn it by reading the book. Once learned, players can use the spell as often as they like. With increasing skill level of the player, spells may gain power but also increase cost.<br> Monsters can use spells which are put in their inventory (provided that certain "enabling" settings are correct). The monster\'s &lt;treasurelist&gt; can also be used to provide it with spells.',
3708 ignore => [ 5367 ignore => [
3709 $IGNORE_LIST{system_object} 5368 $IGNORE_LIST{system_object}
3710 ], 5369 ],
3711 name => 'Spell', 5370 name => 'Spell',
3712 use => 'A lot of the spells\' settings can be tuned and customized. When creating new spells which are accessible to players, it is important to think about balance. A single spell which is too powerful and/or too easy to use can eventually toss the whole skill and magic school system out of whack. Testing new spells is quite important therefore.' 5371 use => 'A lot of the spells\' settings can be tuned and customized. When creating new spells which are accessible to players, it is important to think about balance. A single spell which is too powerful and/or too easy to use can eventually toss the whole skill and magic school system out of whack. Testing new spells is quite important therefore.'
3713 }, 5372 },
3714 Spellbook => { 5373 Spellbook => {
3715 attr => { 5374 attr => [
3716 msg => { 5375 [
3717 desc => 'This text may contain a nice description of the spellbook\'s cover or something.', 5376 'skill',
3718 end => 'endmsg', 5377 {
3719 name => 'description', 5378 type => 'fixed',
3720 type => 'text' 5379 value => 'literacy'
5380 }
3721 }, 5381 ],
3722 randomitems => { 5382 [
5383 'randomitems',
5384 {
3723 desc => 'There are two ways to put spells into a spellbook: 1. Put a spell object in the books inventory. In this case, treasurelist must be set to <none>. 2. Choose a treasurelist which contains spells. In that way, a spell will be chosen randomly from the list.', 5385 desc => 'There are two ways to put spells into a spellbook: 1. Put a spell object in the books inventory. In this case, treasurelist must be set to <none>. 2. Choose a treasurelist which contains spells. In that way, a spell will be chosen randomly from the list.',
3724 name => 'treasurelist', 5386 name => 'treasurelist',
3725 type => 'treasurelist' 5387 type => 'treasurelist'
5388 }
3726 }, 5389 ],
3727 skill => {
3728 type => 'fixed',
3729 value => 'literacy'
3730 }, 5390 [
3731 startequip => { 5391 'startequip',
5392 {
3732 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 5393 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
3733 name => 'godgiven item', 5394 name => 'godgiven item',
3734 type => 'bool' 5395 type => 'bool'
5396 }
5397 ],
3735 } 5398 [
5399 'msg',
5400 {
5401 desc => 'This text may contain a nice description of the spellbook\'s cover or something.',
5402 end => 'endmsg',
5403 name => 'description',
5404 type => 'text'
5405 }
5406 ]
3736 }, 5407 ],
3737 desc => 'By reading a spellbook, the player has a chance of learning the contained spell. Once learned from a book, the spell is available forever. Spellbooks with high level spells require some skill-level to read.<br><br> You can create widely customized spells only by adjusting the spell object in the spellbooks inventory. Refer to the description of spell objects for detailed information how to customize spells.<br> If you want to have a random spellbook instead, choose a &lt;treasurelist&gt; with a compilation of spells that the book may contain.', 5408 desc => 'By reading a spellbook, the player has a chance of learning the contained spell. Once learned from a book, the spell is available forever. Spellbooks with high level spells require some skill-level to read.<br><br> You can create widely customized spells only by adjusting the spell object in the spellbooks inventory. Refer to the description of spell objects for detailed information how to customize spells.<br> If you want to have a random spellbook instead, choose a &lt;treasurelist&gt; with a compilation of spells that the book may contain.',
3738 name => 'Spellbook', 5409 name => 'Spellbook',
3739 use => 'Don\'t put any of the godgiven spells into a spellbook! These are reserved for the followers of the appropriate cults. Handing them out in a spellbook would violate the balance between different religions. <br><br> Note that there is no fundamental difference between the spellbooks of varying schools (pyromancy, sorcery, evocation, summoning, and even praying). The difference lies only in the spells they contain. It is up to you, the mapmaker, to pick the right type of book for your spells.' 5410 use => 'Don\'t put any of the godgiven spells into a spellbook! These are reserved for the followers of the appropriate cults. Handing them out in a spellbook would violate the balance between different religions. <br><br> Note that there is no fundamental difference between the spellbooks of varying schools (pyromancy, sorcery, evocation, summoning, and even praying). The difference lies only in the spells they contain. It is up to you, the mapmaker, to pick the right type of book for your spells.'
3740 }, 5411 },
3741 Spinner => { 5412 Spinner => {
3742 attr => { 5413 attr => [
3743 fly_on => {
3744 type => 'fixed',
3745 value => 1
3746 }, 5414 [
3747 sp => { 5415 'sp',
5416 {
3748 desc => 'The spinner will change the direction of flying objects by 45 degrees per <direction number>. Negative values spin clockwise, positive values counter clockwise. Example: <direction number> -2 means spin 90 degrees clockwise.', 5417 desc => 'The spinner will change the direction of flying objects by 45 degrees per <direction number>. Negative values spin clockwise, positive values counter clockwise. Example: <direction number> -2 means spin 90 degrees clockwise.',
3749 name => 'direction number', 5418 name => 'direction number',
3750 type => 'int' 5419 type => 'int'
5420 }
3751 }, 5421 ],
3752 walk_on => { 5422 [
5423 'walk_on',
5424 {
3753 type => 'fixed', 5425 type => 'fixed',
3754 value => 1 5426 value => 1
5427 }
5428 ],
3755 } 5429 [
5430 'fly_on',
5431 {
5432 type => 'fixed',
5433 value => 1
5434 }
5435 ]
3756 }, 5436 ],
3757 desc => 'Spinners change the direction of spell objects and other projectiles that fly past. Unlike directors, it does make a difference from what angle you shoot into the spinner. The direction of objects flying past is always changed by a certain degree.', 5437 desc => 'Spinners change the direction of spell objects and other projectiles that fly past. Unlike directors, it does make a difference from what angle you shoot into the spinner. The direction of objects flying past is always changed by a certain degree.',
3758 ignore => [ 5438 ignore => [
3759 $IGNORE_LIST{non_pickable} 5439 $IGNORE_LIST{non_pickable}
3760 ], 5440 ],
3761 name => 'Spinner', 5441 name => 'Spinner',
3762 use => 'Spinners are very rarely used. I believe they are quite confusing and pointless. The only use I can think of is building some puzzle about where to shoot into spinners to shoot somewhere you otherwise couldn\'t. When placing spinners on a map with magic walls, make sure the spell- projectiles from magic walls don\'t get to fly in loops.' 5442 use => 'Spinners are very rarely used. I believe they are quite confusing and pointless. The only use I can think of is building some puzzle about where to shoot into spinners to shoot somewhere you otherwise couldn\'t. When placing spinners on a map with magic walls, make sure the spell- projectiles from magic walls don\'t get to fly in loops.'
3763 }, 5443 },
3764 Swamp => { 5444 Swamp => {
3765 attr => { 5445 attr => [
3766 damned => {
3767 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
3768 name => 'no prayers',
3769 type => 'bool'
3770 }, 5446 [
3771 is_floor => { 5447 'walk_on',
5448 {
3772 type => 'fixed', 5449 type => 'fixed',
3773 value => 1 5450 value => 1
5451 }
3774 }, 5452 ],
3775 is_wooded => { 5453 [
5454 'is_floor',
5455 {
3776 type => 'fixed', 5456 type => 'fixed',
3777 value => 1 5457 value => 1
5458 }
3778 }, 5459 ],
3779 no_magic => { 5460 [
3780 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.', 5461 'is_wooded',
3781 name => 'no spells', 5462 {
3782 type => 'bool' 5463 type => 'fixed',
5464 value => 1
5465 }
3783 }, 5466 ],
3784 slow_move => { 5467 [
5468 'speed',
5469 {
5470 desc => 'The higher the <drowning speed>, the faster will players and items sink into the swamp. Swamp with very high <drowning speed> can be a nasty and unexpected death-trap. Players should get a warning before such areas.',
5471 name => 'drowning speed',
5472 type => 'float'
5473 }
5474 ],
5475 [
5476 'slow_move',
5477 {
3785 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 5 - default for deep swamp', 5478 desc => 'If <slow movement> is set to a value greater zero, all creatures moving over this spot will be slower than normal. <slow movement> 1 - rough terrain <slow movement> 2 - very rough terrain ... <slow movement> 5 - default for deep swamp',
3786 name => 'slow movement', 5479 name => 'slow movement',
3787 type => 'int' 5480 type => 'int'
5481 }
3788 }, 5482 ],
3789 speed => { 5483 [
3790 desc => 'The higher the <drowning speed>, the faster will players and items sink into the swamp. Swamp with very high <drowning speed> can be a nasty and unexpected death-trap. Players should get a warning before such areas.', 5484 'no_magic',
3791 name => 'drowning speed', 5485 {
3792 type => 'float' 5486 desc => 'If enabled, it is impossible for players to use (wizard-) spells on that spot.',
5487 name => 'no spells',
5488 type => 'bool'
5489 }
3793 }, 5490 ],
3794 walk_on => {
3795 type => 'fixed',
3796 value => 1
3797 } 5491 [
5492 'damned',
5493 {
5494 desc => 'If enabled, it is impossible for players to use prayers on that spot. It also prevents players from saving.',
5495 name => 'no prayers',
5496 type => 'bool'
5497 }
5498 ]
3798 }, 5499 ],
3799 desc => 'Swamp areas show a special behaviour: When a player stands still on a swamp-square for too long, he will start to sink in and eventually drown and die. Items dropped on the swamp sink in and dissapear. Players with knowledge of the woodsman skill are a lot less likely to die in the swamp.', 5500 desc => 'Swamp areas show a special behaviour: When a player stands still on a swamp-square for too long, he will start to sink in and eventually drown and die. Items dropped on the swamp sink in and dissapear. Players with knowledge of the woodsman skill are a lot less likely to die in the swamp.',
3800 ignore => [ 5501 ignore => [
3801 $IGNORE_LIST{non_pickable} 5502 $IGNORE_LIST{non_pickable}
3802 ], 5503 ],
3803 name => 'Swamp' 5504 name => 'Swamp'
3804 }, 5505 },
3805 Teleporter => { 5506 Teleporter => {
3806 attr => { 5507 attr => [
3807 connected => { 5508 [
5509 'slaying',
5510 {
5511 desc => 'The exit path specifies the map that the player is transferred to. <exit path> can be an absolute path, beginning with \'/\' (for example "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning with \'/\' (On the map "/peterm/FireTemple/Fire2" for example I could use the relative path "Fire1"). Use relative paths whenever possible! Note that upper/lower case must always be set correctly. However, please use lower case only. If the <exit path> is set, ONLY players can get teleported. If the <exit path> is unset (empty), anything can get teleported: Players, monsters and items. In this case, the destined map is automatically the same map the teleporter is on.',
5512 name => 'exit path',
5513 type => 'string'
5514 }
5515 ],
5516 [
5517 'hp',
5518 {
5519 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero and <exit path> is empty, the player will get teleported to another, randomly chosen teleporter on the same map (Slightly confusing for the player though). Make sure there actually *is* a second one in that case. If both are set to zero and <exit path> is set, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map-properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
5520 name => 'destination X',
5521 type => 'int'
5522 }
5523 ],
5524 [
5525 'sp',
5526 {
5527 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero and <exit path> is empty, the player will get teleported to another, randomly chosen teleporter on the same map (Slightly confusing for the player though). Make sure there actually *is* a second one in that case. If both are set to zero and <exit path> is set, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map-properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
5528 name => 'destination Y',
5529 type => 'int'
5530 }
5531 ],
5532 [
5533 'connected',
5534 {
3808 desc => 'If a connection value is set, the teleporter will be activated whenever the connection is triggered. To use this properly, <activation speed> must be zero.', 5535 desc => 'If a connection value is set, the teleporter will be activated whenever the connection is triggered. To use this properly, <activation speed> must be zero.',
3809 name => 'connection', 5536 name => 'connection',
3810 type => 'int' 5537 type => 'int'
5538 }
3811 }, 5539 ],
3812 hp => {
3813 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero and <exit path> is empty, the player will get teleported to another, randomly chosen teleporter on the same map (Slightly confusing for the player though). Make sure there actually *is* a second one in that case. If both are set to zero and <exit path> is set, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map-properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
3814 name => 'destination X',
3815 type => 'int'
3816 }, 5540 [
3817 slaying => { 5541 'speed',
3818 desc => 'The exit path specifies the map that the player is transferred to. <exit path> can be an absolute path, beginning with \'/\' (for example "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning with \'/\' (On the map "/peterm/FireTemple/Fire2" for example I could use the relative path "Fire1"). Use relative paths whenever possible! Note that upper/lower case must always be set correctly. However, please use lower case only. If the <exit path> is set, ONLY players can get teleported. If the <exit path> is unset (empty), anything can get teleported: Players, monsters and items. In this case, the destined map is automatically the same map the teleporter is on.', 5542 {
3819 name => 'exit path',
3820 type => 'string'
3821 },
3822 sp => {
3823 desc => 'The exit destinations define the (x, y)-coordinates where the exit leads to. If both are set to zero and <exit path> is empty, the player will get teleported to another, randomly chosen teleporter on the same map (Slightly confusing for the player though). Make sure there actually *is* a second one in that case. If both are set to zero and <exit path> is set, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map-properties as "Enter X/Y". Though, please DO NOT use that. It turned out to be a source for numerous map-bugs.',
3824 name => 'destination Y',
3825 type => 'int'
3826 },
3827 speed => {
3828 desc => 'If the <activation speed> is nonzero, the teleporter will automatically be activated in regular time-intervals. Hence, the player can just step on it and gets teleported sooner or later. The duration between two activates depends on the given value. Default in the teleporter arch is <activation speed> 0.1. VERY IMPORTANT: If you want to have your teleporter activated via button/handle/magic_ear/etc, you must set <activation speed> to zero!', 5543 desc => 'If the <activation speed> is nonzero, the teleporter will automatically be activated in regular time-intervals. Hence, the player can just step on it and gets teleported sooner or later. The duration between two activates depends on the given value. Default in the teleporter arch is <activation speed> 0.1. VERY IMPORTANT: If you want to have your teleporter activated via button/handle/magic_ear/etc, you must set <activation speed> to zero!',
3829 name => 'activation speed', 5544 name => 'activation speed',
3830 type => 'float' 5545 type => 'float'
5546 }
3831 } 5547 ]
3832 }, 5548 ],
3833 desc => 'When the player walks into a teleporter, he is transferred to a different location. The main difference to the object-type exit is the possibility to have teleporters connected to levers/buttons/etc. Sometimes teleporters are activated even against the players will. <br><br> Unlike exits, teleporters can also transfer items and monsters to different locations on the same map.', 5549 desc => 'When the player walks into a teleporter, he is transferred to a different location. The main difference to the object-type exit is the possibility to have teleporters connected to levers/buttons/etc. Sometimes teleporters are activated even against the players will. <br><br> Unlike exits, teleporters can also transfer items and monsters to different locations on the same map.',
3834 ignore => [ 5550 ignore => [
3835 $IGNORE_LIST{non_pickable} 5551 $IGNORE_LIST{non_pickable}
3836 ], 5552 ],
3837 name => 'Teleporter', 5553 name => 'Teleporter',
3838 use => 'When creating maps, I guess sooner or later you\'ll want to have an invisible teleporter. If using "invisible 1", the teleporter can still be discovered with the show_invisible spell. And in some cases you can\'t place it under the floor to prevent this. <br><br> Fortunately, there is a cool trick to make a perfectly invisible teleporter: You simply add teleporter functionality to the floor itself. That means: You take the floor arch (e.g. "flagstone"), set "type 41", and add slaying/hp/sp/connected... everything you need.' 5554 use => 'When creating maps, I guess sooner or later you\'ll want to have an invisible teleporter. If using "invisible 1", the teleporter can still be discovered with the show_invisible spell. And in some cases you can\'t place it under the floor to prevent this. <br><br> Fortunately, there is a cool trick to make a perfectly invisible teleporter: You simply add teleporter functionality to the floor itself. That means: You take the floor arch (e.g. "flagstone"), set "type 41", and add slaying/hp/sp/connected... everything you need.'
3839 }, 5555 },
3840 Trap => { 5556 Trap => {
3841 attr => { 5557 attr => [
3842 Cha => { 5558 [
5559 'no_pick',
5560 {
5561 type => 'fixed',
5562 value => 1
5563 }
5564 ],
5565 [
5566 'walk_on',
5567 {
5568 type => 'fixed',
5569 value => 1
5570 }
5571 ],
5572 [
5573 'level',
5574 {
5575 desc => 'Level effects how easily a trap may be found and disarmed, and how much experience the player gets for doing so. Beware: High level traps can be quite a cheap source of experience! So either make them tough, or keep the level low.',
5576 name => 'trap level',
5577 type => 'int'
5578 }
5579 ],
5580 [
5581 'Cha',
5582 {
3843 desc => 'This value determines what fraction of the time the trap is visible: It\'ll be randomly visible 1/<visibility> of the time. Also effects how easily the trap may be found.', 5583 desc => 'This value determines what fraction of the time the trap is visible: It\'ll be randomly visible 1/<visibility> of the time. Also effects how easily the trap may be found.',
3844 name => 'visibility', 5584 name => 'visibility',
3845 type => 'int' 5585 type => 'int'
5586 }
3846 }, 5587 ],
3847 attacktype => {
3848 desc => 'This attribute defines what attacktype to use for direct damage when the trap detonates.',
3849 name => 'attacktype',
3850 type => 'bitmask',
3851 value => $BITMASK{attacktype}
3852 }, 5588 [
3853 connected => { 5589 'hp',
3854 desc => 'When the trap is detonated, all objects with the same connection value get activated.', 5590 {
3855 name => 'connection', 5591 desc => 'The trap will detonate <number of charges> times before disappearing.',
5592 name => 'number of charges',
3856 type => 'int' 5593 type => 'int'
5594 }
3857 }, 5595 ],
3858 dam => { 5596 [
5597 'dam',
5598 {
3859 desc => '<direct damage> specifies how much damage is done by the trap. This should be set in reasonable relation to the trap\'s level.', 5599 desc => '<direct damage> specifies how much damage is done by the trap. This should be set in reasonable relation to the trap\'s level.',
3860 name => 'direct damage', 5600 name => 'direct damage',
3861 type => 'int' 5601 type => 'int'
5602 }
3862 }, 5603 ],
3863 hp => { 5604 [
3864 desc => 'The trap will detonate <number of charges> times before disappearing.', 5605 'attacktype',
3865 name => 'number of charges', 5606 {
5607 desc => 'This attribute defines what attacktype to use for direct damage when the trap detonates.',
5608 name => 'attacktype',
5609 type => 'bitmask',
5610 value => $BITMASK{attacktype}
5611 }
5612 ],
5613 [
5614 'connected',
5615 {
5616 desc => 'When the trap is detonated, all objects with the same connection value get activated.',
5617 name => 'connection',
3866 type => 'int' 5618 type => 'int'
5619 }
3867 }, 5620 ],
3868 level => {
3869 desc => 'Level effects how easily a trap may be found and disarmed, and how much experience the player gets for doing so. Beware: High level traps can be quite a cheap source of experience! So either make them tough, or keep the level low.',
3870 name => 'trap level',
3871 type => 'int'
3872 }, 5621 [
3873 msg => { 5622 'msg',
5623 {
3874 desc => 'When the trap detonates, this text is displayed to the victim. For especially powerful or complex traps, create an appropriate and thrilling description. ;)', 5624 desc => 'When the trap detonates, this text is displayed to the victim. For especially powerful or complex traps, create an appropriate and thrilling description. ;)',
3875 end => 'endmsg', 5625 end => 'endmsg',
3876 name => 'detonation text', 5626 name => 'detonation text',
3877 type => 'text' 5627 type => 'text'
3878 }, 5628 }
3879 no_pick => {
3880 type => 'fixed',
3881 value => 1
3882 },
3883 walk_on => {
3884 type => 'fixed',
3885 value => 1
3886 } 5629 ]
3887 }, 5630 ],
3888 desc => 'A trap is a object that can either do damage or trigger another connected object when detonated. Traps are like runes except they are not magical in nature, and generally have either a physical attack or trigger a reaction. <br><br> Traps hit any monster or person who steps on them for \'dam\' damage in \'attacktype\' attacktype and/or trigger a reaction. <br><br> Many traps are already defined in the archetypes.', 5631 desc => 'A trap is a object that can either do damage or trigger another connected object when detonated. Traps are like runes except they are not magical in nature, and generally have either a physical attack or trigger a reaction. <br><br> Traps hit any monster or person who steps on them for \'dam\' damage in \'attacktype\' attacktype and/or trigger a reaction. <br><br> Many traps are already defined in the archetypes.',
3889 ignore => [ 5632 ignore => [
3890 'no_pick', 5633 'no_pick',
3891 'title', 5634 'title',
3892 'name_pl', 5635 'name_pl',
3897 ], 5640 ],
3898 name => 'Trap', 5641 name => 'Trap',
3899 use => 'Avoid monsters stepping on your traps. For example, a party of orcs setting off your lightning wall and pit trap is usually a bad idea.' 5642 use => 'Avoid monsters stepping on your traps. For example, a party of orcs setting off your lightning wall and pit trap is usually a bad idea.'
3900 }, 5643 },
3901 Trapdoor => { 5644 Trapdoor => {
3902 attr => { 5645 attr => [
3903 hp => { 5646 [
5647 'no_pick',
5648 {
5649 type => 'fixed',
5650 value => 1
5651 }
5652 ],
5653 [
5654 'walk_on',
5655 {
5656 type => 'fixed',
5657 value => 1
5658 }
5659 ],
5660 [
5661 'weight',
5662 {
5663 desc => 'This value defines how much weight the trapdoor can hold. Once items or creatures are gathered on the trapdoor, with a total weight surpassing this value, then the trapdoor will open and things start falling through.',
5664 name => 'hold weight',
5665 type => 'int'
5666 }
5667 ],
5668 [
5669 'hp',
5670 {
3904 desc => 'The trapdoor will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the trapdoor will act like being filled up and not work anymore!', 5671 desc => 'The trapdoor will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the trapdoor will act like being filled up and not work anymore!',
3905 name => 'destination X', 5672 name => 'destination X',
3906 type => 'int' 5673 type => 'int'
5674 }
3907 }, 5675 ],
3908 no_pick => {
3909 type => 'fixed',
3910 value => 1
3911 }, 5676 [
3912 sp => { 5677 'sp',
5678 {
3913 desc => 'The trapdoor will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the trapdoor will act like being filled up and not work anymore!', 5679 desc => 'The trapdoor will transport creatures (and items) randomly into a two-square radius of the destination coordinates. If the destination square becomes blocked, the trapdoor will act like being filled up and not work anymore!',
3914 name => 'destination Y', 5680 name => 'destination Y',
3915 type => 'int' 5681 type => 'int'
3916 }, 5682 }
3917 walk_on => {
3918 type => 'fixed',
3919 value => 1
3920 },
3921 weight => {
3922 desc => 'This value defines how much weight the trapdoor can hold. Once items or creatures are gathered on the trapdoor, with a total weight surpassing this value, then the trapdoor will open and things start falling through.',
3923 name => 'hold weight',
3924 type => 'int'
3925 } 5683 ]
3926 }, 5684 ],
3927 desc => 'Trapdoors are very similar to pits. The difference is that they can not be closed. Instead, the weight of the object on the trapdoor determines weither it slams the trapdoor open and falls through or not.<br> Once a trapdoor has been opened (by a creature or items of sufficient weight,) it remains open, acting like an opened pit.', 5685 desc => 'Trapdoors are very similar to pits. The difference is that they can not be closed. Instead, the weight of the object on the trapdoor determines weither it slams the trapdoor open and falls through or not.<br> Once a trapdoor has been opened (by a creature or items of sufficient weight,) it remains open, acting like an opened pit.',
3928 ignore => [ 5686 ignore => [
3929 $IGNORE_LIST{non_pickable} 5687 $IGNORE_LIST{non_pickable}
3930 ], 5688 ],
3931 name => 'Trapdoor', 5689 name => 'Trapdoor',
3932 use => 'Trapdoors should be used in the same fashion as pits: They should always drop the victims to some kind of lower level. They are not supposed to be used to randomly interconnect maps like teleporters.' 5690 use => 'Trapdoors should be used in the same fashion as pits: They should always drop the victims to some kind of lower level. They are not supposed to be used to randomly interconnect maps like teleporters.'
3933 }, 5691 },
3934 Treasure => { 5692 Treasure => {
3935 attr => { 5693 attr => [
3936 auto_apply => { 5694 [
5695 'randomitems',
5696 {
5697 desc => 'This entry determines what kind of treasure will appear. Look into /crossfire/share/crossfire/treasures for details about existing treasurelists.',
5698 name => 'treasurelist',
5699 type => 'treasurelist'
5700 }
5701 ],
5702 [
5703 'auto_apply',
5704 {
3937 desc => '"Auto-generate" must be set in order to have the treasure be created when the map is loaded. If you want to create a random treasure chest, you unset this flag. That way, the player has to apply the object (the chest), then the treasure is generated.', 5705 desc => '"Auto-generate" must be set in order to have the treasure be created when the map is loaded. If you want to create a random treasure chest, you unset this flag. That way, the player has to apply the object (the chest), then the treasure is generated.',
3938 name => 'auto-generate', 5706 name => 'auto-generate',
3939 type => 'bool' 5707 type => 'bool'
5708 }
3940 }, 5709 ],
3941 exp => {
3942 desc => 'The <quality level> will be used for the quality of the generated treasure instead of the map difficulty (as was done with shops). If zero/unset, the map difficulty will instead be used. (Example for comparison: Shop floors generate treasure of <quality level> 5 per default).',
3943 name => 'quality level',
3944 type => 'int'
3945 }, 5710 [
3946 hp => { 5711 'hp',
5712 {
3947 desc => '"Create number" specifies how many pieces of the given treasurelist will appear. Note that for every piece there is a chance that nothing is generated. Also, sometimes there can be stacks of items generated, like for gems/money.', 5713 desc => '"Create number" specifies how many pieces of the given treasurelist will appear. Note that for every piece there is a chance that nothing is generated. Also, sometimes there can be stacks of items generated, like for gems/money.',
3948 name => 'create number', 5714 name => 'create number',
3949 type => 'int' 5715 type => 'int'
5716 }
3950 }, 5717 ],
3951 randomitems => {
3952 desc => 'This entry determines what kind of treasure will appear. Look into /crossfire/share/crossfire/treasures for details about existing treasurelists.',
3953 name => 'treasurelist',
3954 type => 'treasurelist'
3955 } 5718 [
5719 'exp',
5720 {
5721 desc => 'The <quality level> will be used for the quality of the generated treasure instead of the map difficulty (as was done with shops). If zero/unset, the map difficulty will instead be used. (Example for comparison: Shop floors generate treasure of <quality level> 5 per default).',
5722 name => 'quality level',
5723 type => 'int'
5724 }
5725 ]
3956 }, 5726 ],
3957 desc => 'A treasure-object turns into certain randomitems when the map is loaded into the game.', 5727 desc => 'A treasure-object turns into certain randomitems when the map is loaded into the game.',
3958 ignore => [ 5728 ignore => [
3959 'nrof', 5729 'nrof',
3960 'title', 5730 'title',
3961 'name_pl', 5731 'name_pl',
3965 ], 5735 ],
3966 name => 'Treasure', 5736 name => 'Treasure',
3967 use => 'About usage of the "random-artifact" treasurelist: This will generate powerful stuff like girdles, xray helmets, special swords etc. If you put this as reward to your quest, players might be motivated to do it more than once. BUT, by doing so they will get a huge number of different artifacts! Besides, players will always seek the place with the most easy-to-get random artifact and ignore all others. My advice: Don\'t use it! Attract players with good fighting experience (from monsters), potions, spellbooks, money, and non-random artifacts.' 5737 use => 'About usage of the "random-artifact" treasurelist: This will generate powerful stuff like girdles, xray helmets, special swords etc. If you put this as reward to your quest, players might be motivated to do it more than once. BUT, by doing so they will get a huge number of different artifacts! Besides, players will always seek the place with the most easy-to-get random artifact and ignore all others. My advice: Don\'t use it! Attract players with good fighting experience (from monsters), potions, spellbooks, money, and non-random artifacts.'
3968 }, 5738 },
3969 'Trigger Marker' => { 5739 'Trigger Marker' => {
3970 attr => { 5740 attr => [
3971 connected => { 5741 [
5742 'no_pick',
5743 {
5744 type => 'fixed',
5745 value => 1
5746 }
5747 ],
5748 [
5749 'slaying',
5750 {
5751 desc => 'The <key string> can be detected by inv. checkers/detectors. If the player already has a force with that <key string>, there won\'t be inserted a second one.',
5752 name => 'key string',
5753 type => 'string'
5754 }
5755 ],
5756 [
5757 'connected',
5758 {
3972 desc => 'Unlike a regular marker this is the connection that triggers this marker to activate.', 5759 desc => 'Unlike a regular marker this is the connection that triggers this marker to activate.',
3973 name => 'connection', 5760 name => 'connection',
3974 type => 'int' 5761 type => 'int'
5762 }
3975 }, 5763 ],
3976 food => { 5764 [
5765 'food',
5766 {
3977 desc => 'This value defines the duration of the force it inserts. If nonzero, the duration of the player\'s mark is finite: about 1 food per 10 seconds. <mark duration> zero/unset means the mark will stay on the player forever.', 5767 desc => 'This value defines the duration of the force it inserts. If nonzero, the duration of the player\'s mark is finite: about 1 food per 10 seconds. <mark duration> zero/unset means the mark will stay on the player forever.',
3978 name => 'mark duration', 5768 name => 'mark duration',
3979 type => 'int' 5769 type => 'int'
5770 }
3980 }, 5771 ],
3981 msg => {
3982 desc => 'In the moment when the player gets marked, this text is displayed to him. You should really set a message in any marker you create, because it\'s the only way for the player to notice what\'s going on.',
3983 end => 'endmsg',
3984 name => 'marking message',
3985 type => 'text'
3986 }, 5772 [
3987 name => { 5773 'name',
5774 {
3988 desc => 'When the player steps onto the marker, all existing forces in the players inventory with a <key string> matching <delete mark> will be removed. If you don\'t want to remove any marks, leave this textfield empty. Note that the string <delete mark> is set as the name of this marker. So don\'t be confused, and remember changing the name will take effect on the marker\'s functionality.', 5775 desc => 'When the player steps onto the marker, all existing forces in the players inventory with a <key string> matching <delete mark> will be removed. If you don\'t want to remove any marks, leave this textfield empty. Note that the string <delete mark> is set as the name of this marker. So don\'t be confused, and remember changing the name will take effect on the marker\'s functionality.',
3989 name => 'delete mark', 5776 name => 'delete mark',
3990 type => 'string' 5777 type => 'string'
5778 }
3991 }, 5779 ],
3992 no_pick => {
3993 type => 'fixed',
3994 value => 1
3995 },
3996 slaying => {
3997 desc => 'The <key string> can be detected by inv. checkers/detectors. If the player already has a force with that <key string>, there won\'t be inserted a second one.',
3998 name => 'key string',
3999 type => 'string'
4000 } 5780 [
5781 'msg',
5782 {
5783 desc => 'In the moment when the player gets marked, this text is displayed to him. You should really set a message in any marker you create, because it\'s the only way for the player to notice what\'s going on.',
5784 end => 'endmsg',
5785 name => 'marking message',
5786 type => 'text'
5787 }
5788 ]
4001 }, 5789 ],
4002 desc => 'A trigger marker is an object that inserts an invisible force (a mark) into a player stepping on it WHEN TRIGGERED. This force does nothing except containing a &lt;key string&gt; which can be discovered by detectors or inventory checkers. It is also possible to use markers for removing marks again. <br><br> Note that the player has no possibility to "see" his own marks, except by the effect that they cause on the maps.', 5790 desc => 'A trigger marker is an object that inserts an invisible force (a mark) into a player stepping on it WHEN TRIGGERED. This force does nothing except containing a &lt;key string&gt; which can be discovered by detectors or inventory checkers. It is also possible to use markers for removing marks again. <br><br> Note that the player has no possibility to "see" his own marks, except by the effect that they cause on the maps.',
4003 ignore => [ 5791 ignore => [
4004 $IGNORE_LIST{system_object} 5792 $IGNORE_LIST{system_object}
4005 ], 5793 ],
4006 name => 'Trigger Marker', 5794 name => 'Trigger Marker',
4007 use => 'Markers hold real cool possibilities for map-making. I encourage you to use them frequently. However there is one negative point about markers: Players don\'t "see" what\'s going on with them. It is your task, as map-creator, to make sure the player is always well informed and never confused. <br><br> Please avoid infinite markers when they aren\'t needed. They\'re using a little space in the player file after all, so if there is no real purpose, set an expire time.' 5795 use => 'Markers hold real cool possibilities for map-making. I encourage you to use them frequently. However there is one negative point about markers: Players don\'t "see" what\'s going on with them. It is your task, as map-creator, to make sure the player is always well informed and never confused. <br><br> Please avoid infinite markers when they aren\'t needed. They\'re using a little space in the player file after all, so if there is no real purpose, set an expire time.'
4008 }, 5796 },
4009 Wall => { 5797 Wall => {
4010 attr => { 5798 attr => [
4011 can_roll => { 5799 [
5800 'no_pass',
5801 {
5802 desc => 'If set, the object cannot be passed by players nor monsters.',
5803 name => 'blocking passage',
5804 type => 'bool'
5805 }
5806 ],
5807 [
5808 'can_roll',
5809 {
4012 desc => 'If set, the object is able to "roll", so it can be pushed around. This setting is used for boulders and barrels.', 5810 desc => 'If set, the object is able to "roll", so it can be pushed around. This setting is used for boulders and barrels.',
4013 name => 'moveable', 5811 name => 'moveable',
4014 type => 'bool' 5812 type => 'bool'
5813 }
4015 }, 5814 ],
4016 damned => { 5815 [
5816 'no_magic',
5817 {
4017 desc => 'This takes effect only with <blocksview> disabled. Restricting the use of spells to pass this wall.', 5818 desc => 'This takes effect only with <blocksview> disabled. Restricting the use of spells to pass this wall.',
4018 name => 'restrict prayers', 5819 name => 'restrict spells',
4019 type => 'bool' 5820 type => 'bool'
5821 }
4020 }, 5822 ],
4021 no_magic => { 5823 [
5824 'damned',
5825 {
4022 desc => 'This takes effect only with <blocksview> disabled. Restricting the use of spells to pass this wall.', 5826 desc => 'This takes effect only with <blocksview> disabled. Restricting the use of spells to pass this wall.',
4023 name => 'restrict spells', 5827 name => 'restrict prayers',
4024 type => 'bool' 5828 type => 'bool'
4025 }, 5829 }
4026 no_pass => {
4027 desc => 'If set, the object cannot be passed by players nor monsters.',
4028 name => 'blocking passage',
4029 type => 'bool'
4030 } 5830 ]
4031 }, 5831 ],
4032 desc => 'Walls usually block passage and sight.', 5832 desc => 'Walls usually block passage and sight.',
4033 ignore => [ 5833 ignore => [
4034 'nrof', 5834 'nrof',
4035 'title', 5835 'title',
4036 'name_pl', 5836 'name_pl',
4043 is_floor => 0, 5843 is_floor => 0,
4044 no_pass => 1 5844 no_pass => 1
4045 } 5845 }
4046 }, 5846 },
4047 'Wand & Staff' => { 5847 'Wand & Staff' => {
4048 attr => { 5848 attr => [
4049 food => { 5849 [
5850 'sp',
5851 {
5852 desc => 'The <spell> specifies the contained spell.',
5853 name => 'spell',
5854 type => 'spell'
5855 }
5856 ],
5857 [
5858 'level',
5859 {
5860 desc => 'The <casting level> of the wand determines it\'s power. An average level for wands in shops is about 10.',
5861 name => 'casting level',
5862 type => 'int'
5863 }
5864 ],
5865 [
5866 'food',
5867 {
4050 desc => 'The wand can be used <number of charges> times before it is used up. It can be recharged with scrolls of charging.', 5868 desc => 'The wand can be used <number of charges> times before it is used up. It can be recharged with scrolls of charging.',
4051 name => 'number of charges', 5869 name => 'number of charges',
4052 type => 'int' 5870 type => 'int'
5871 }
4053 }, 5872 ],
4054 level => {
4055 desc => 'The <casting level> of the wand determines it\'s power. An average level for wands in shops is about 10.',
4056 name => 'casting level',
4057 type => 'int'
4058 }, 5873 [
4059 msg => { 5874 'startequip',
4060 desc => 'This text may contain a description of the wand.', 5875 {
4061 end => 'endmsg',
4062 name => 'description',
4063 type => 'text'
4064 },
4065 sp => {
4066 desc => 'The <spell> specifies the contained spell.',
4067 name => 'spell',
4068 type => 'spell'
4069 },
4070 startequip => {
4071 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.', 5876 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
4072 name => 'godgiven item', 5877 name => 'godgiven item',
4073 type => 'bool' 5878 type => 'bool'
5879 }
5880 ],
4074 } 5881 [
5882 'msg',
5883 {
5884 desc => 'This text may contain a description of the wand.',
5885 end => 'endmsg',
5886 name => 'description',
5887 type => 'text'
5888 }
5889 ]
4075 }, 5890 ],
4076 desc => 'Wands contain a certain spell. The player can apply (ready) and fire the wand. After a defined number of casts, the wand is "used up". It is possible to recharge a wand with scrolls of charging, but usually that isn\'t worth the cost.', 5891 desc => 'Wands contain a certain spell. The player can apply (ready) and fire the wand. After a defined number of casts, the wand is "used up". It is possible to recharge a wand with scrolls of charging, but usually that isn\'t worth the cost.',
4077 name => 'Wand & Staff', 5892 name => 'Wand & Staff',
4078 use => 'Wands are quite seldomly used. The reason prolly is that they\'re generally not cost-efficient. Handing out high-level wands with powerfull special spells isn\'t a good idea either, because of the recharge ability. <br><br> For low levels, staffs of healing/cure and word of recall are quite desireable though. Ideal rewards for low level quests.' 5893 use => 'Wands are quite seldomly used. The reason prolly is that they\'re generally not cost-efficient. Handing out high-level wands with powerfull special spells isn\'t a good idea either, because of the recharge ability. <br><br> For low levels, staffs of healing/cure and word of recall are quite desireable though. Ideal rewards for low level quests.'
4079 }, 5894 },
4080 'Weak Wall' => { 5895 'Weak Wall' => {
4081 attr => { 5896 attr => [
4082 ac => {
4083 desc => 'Weak walls of high <armour class> are less likely to get hit. <armour class> can be considered the "counterpiece" to <weapon class>.',
4084 name => 'armour class',
4085 type => 'int'
4086 }, 5897 [
4087 alive => { 5898 'alive',
5899 {
4088 type => 'fixed', 5900 type => 'fixed',
4089 value => 1 5901 value => 1
5902 }
4090 }, 5903 ],
4091 hp => { 5904 [
5905 'no_pick',
5906 {
5907 type => 'fixed',
5908 value => 1
5909 }
5910 ],
5911 [
5912 'tear_down',
5913 {
5914 type => 'fixed',
5915 value => 1
5916 }
5917 ],
5918 [
5919 'race',
5920 {
5921 desc => 'For weak walls, <race> should always be set to "wall", unless you create something fancy like a building which is in fact meant to be a huge animal. Note that shovels slay walls, so they do tripple damage against weak walls.',
5922 name => 'race',
5923 type => 'string'
5924 }
5925 ],
5926 [
5927 'level',
5928 {
5929 desc => 'The <level> of a weak wall works similar to monster levels. Due to the fact that weak walls cannot attack, the level is much less important though.',
5930 name => 'level',
5931 type => 'int'
5932 }
5933 ],
5934 [
5935 'hp',
5936 {
4092 desc => 'The <health points> of a weak wall define how long it takes to tear it down. With every successful hit from an opponent, <health points> get drained.', 5937 desc => 'The <health points> of a weak wall define how long it takes to tear it down. With every successful hit from an opponent, <health points> get drained.',
4093 name => 'health points', 5938 name => 'health points',
4094 type => 'int' 5939 type => 'int'
5940 }
4095 }, 5941 ],
4096 level => {
4097 desc => 'The <level> of a weak wall works similar to monster levels. Due to the fact that weak walls cannot attack, the level is much less important though.',
4098 name => 'level',
4099 type => 'int'
4100 }, 5942 [
4101 maxhp => { 5943 'maxhp',
5944 {
4102 desc => '<max health> is the maximum amount of <health points> this weak wall can have. Since walls generally don\'t heal, I doubt this has much real effect.', 5945 desc => '<max health> is the maximum amount of <health points> this weak wall can have. Since walls generally don\'t heal, I doubt this has much real effect.',
4103 name => 'max health', 5946 name => 'max health',
4104 type => 'int' 5947 type => 'int'
5948 }
4105 }, 5949 ],
4106 no_pick => {
4107 type => 'fixed',
4108 value => 1
4109 },
4110 race => {
4111 desc => 'For weak walls, <race> should always be set to "wall", unless you create something fancy like a building which is in fact meant to be a huge animal. Note that shovels slay walls, so they do tripple damage against weak walls.',
4112 name => 'race',
4113 type => 'string'
4114 },
4115 tear_down => {
4116 type => 'fixed',
4117 value => 1
4118 } 5950 [
5951 'ac',
5952 {
5953 desc => 'Weak walls of high <armour class> are less likely to get hit. <armour class> can be considered the "counterpiece" to <weapon class>.',
5954 name => 'armour class',
5955 type => 'int'
5956 }
5957 ]
4119 }, 5958 ],
4120 desc => 'A weak wall is a breakable spot amidsts a solid wall. Typically these weak walls look similar to their solid "relatives" except for a small crack or little chunks of wall on the ground.', 5959 desc => 'A weak wall is a breakable spot amidsts a solid wall. Typically these weak walls look similar to their solid "relatives" except for a small crack or little chunks of wall on the ground.',
4121 ignore => [ 5960 ignore => [
4122 $IGNORE_LIST{non_pickable} 5961 $IGNORE_LIST{non_pickable}
4123 ], 5962 ],
4124 name => 'Weak Wall', 5963 name => 'Weak Wall',
4128 tear_down => 1 5967 tear_down => 1
4129 }, 5968 },
4130 section => [ 5969 section => [
4131 [ 5970 [
4132 'resistance', 5971 'resistance',
4133 { 5972 [
4134 resist_acid => { 5973 [
5974 'resist_physical',
5975 {
4135 name => 'resist acid %', 5976 name => 'resist physical %',
4136 type => 'int' 5977 type => 'int'
5978 }
4137 }, 5979 ],
4138 resist_blind => { 5980 [
5981 'resist_magic',
5982 {
4139 name => 'resist blinding %', 5983 name => 'resist magic %',
4140 type => 'int' 5984 type => 'int'
5985 }
4141 }, 5986 ],
4142 resist_chaos => { 5987 [
5988 'resist_fire',
5989 {
4143 name => 'resist chaos %', 5990 name => 'resist fire %',
4144 type => 'int' 5991 type => 'int'
5992 }
4145 }, 5993 ],
4146 resist_cold => { 5994 [
5995 'resist_electricity',
5996 {
5997 name => 'resist electricity %',
5998 type => 'int'
5999 }
6000 ],
6001 [
6002 'resist_cold',
6003 {
4147 name => 'resist cold %', 6004 name => 'resist cold %',
4148 type => 'int' 6005 type => 'int'
6006 }
4149 }, 6007 ],
6008 [
4150 resist_confusion => { 6009 'resist_confusion',
6010 {
4151 name => 'resist confusion %', 6011 name => 'resist confusion %',
4152 type => 'int' 6012 type => 'int'
6013 }
4153 }, 6014 ],
6015 [
6016 'resist_acid',
6017 {
6018 name => 'resist acid %',
6019 type => 'int'
6020 }
6021 ],
6022 [
6023 'resist_drain',
6024 {
6025 name => 'resist draining %',
6026 type => 'int'
6027 }
6028 ],
6029 [
6030 'resist_weaponmagic',
6031 {
6032 name => 'resist weaponmagic %',
6033 type => 'int'
6034 }
6035 ],
6036 [
6037 'resist_ghosthit',
6038 {
6039 name => 'resist ghosthit %',
6040 type => 'int'
6041 }
6042 ],
6043 [
6044 'resist_poison',
6045 {
6046 name => 'resist poison %',
6047 type => 'int'
6048 }
6049 ],
6050 [
6051 'resist_slow',
6052 {
6053 name => 'resist slow %',
6054 type => 'int'
6055 }
6056 ],
6057 [
6058 'resist_paralyze',
6059 {
6060 name => 'resist paralyze %',
6061 type => 'int'
6062 }
6063 ],
6064 [
6065 'resist_fear',
6066 {
6067 name => 'resist fear %',
6068 type => 'int'
6069 }
6070 ],
6071 [
6072 'resist_deplete',
6073 {
6074 name => 'resist depletion %',
6075 type => 'int'
6076 }
6077 ],
6078 [
6079 'resist_turn_undead',
6080 {
6081 name => 'resist turn undead %',
6082 type => 'int'
6083 }
6084 ],
6085 [
4154 resist_death => { 6086 'resist_death',
6087 {
4155 name => 'resist death-attack %', 6088 name => 'resist death-attack %',
4156 type => 'int' 6089 type => 'int'
6090 }
4157 }, 6091 ],
4158 resist_deplete => { 6092 [
6093 'resist_chaos',
6094 {
4159 name => 'resist depletion %', 6095 name => 'resist chaos %',
4160 type => 'int' 6096 type => 'int'
6097 }
4161 }, 6098 ],
4162 resist_drain => { 6099 [
6100 'resist_blind',
6101 {
4163 name => 'resist draining %', 6102 name => 'resist blinding %',
4164 type => 'int' 6103 type => 'int'
6104 }
4165 }, 6105 ],
4166 resist_electricity => { 6106 [
4167 name => 'resist electricity %',
4168 type => 'int'
4169 },
4170 resist_fear => {
4171 name => 'resist fear %',
4172 type => 'int'
4173 },
4174 resist_fire => {
4175 name => 'resist fire %',
4176 type => 'int'
4177 },
4178 resist_ghosthit => {
4179 name => 'resist ghosthit %',
4180 type => 'int'
4181 },
4182 resist_godpower => {
4183 name => 'resist godpower %',
4184 type => 'int'
4185 },
4186 resist_holyword => { 6107 'resist_holyword',
6108 {
4187 name => 'resist holy power %', 6109 name => 'resist holy power %',
4188 type => 'int' 6110 type => 'int'
6111 }
4189 }, 6112 ],
4190 resist_magic => { 6113 [
6114 'resist_godpower',
6115 {
4191 name => 'resist magic %', 6116 name => 'resist godpower %',
4192 type => 'int' 6117 type => 'int'
4193 },
4194 resist_paralyze => {
4195 name => 'resist paralyze %',
4196 type => 'int'
4197 },
4198 resist_physical => {
4199 name => 'resist physical %',
4200 type => 'int'
4201 },
4202 resist_poison => {
4203 name => 'resist poison %',
4204 type => 'int'
4205 },
4206 resist_slow => {
4207 name => 'resist slow %',
4208 type => 'int'
4209 },
4210 resist_turn_undead => {
4211 name => 'resist turn undead %',
4212 type => 'int'
4213 },
4214 resist_weaponmagic => {
4215 name => 'resist weaponmagic %',
4216 type => 'int'
4217 } 6118 }
4218 } 6119 ]
6120 ]
4219 ] 6121 ]
4220 ], 6122 ],
4221 use => 'If you want to create hidden rooms, using weak walls is alot better than completely indiscernible passages in a wall.<br> Anyways, there can be a lot more to weak walls than just finding them: Rising their defensive stats, weak walls can become a serious obstacle. An ice wall might only be torn down by a fire attack for example. A granite wall for instance might be very hard to destroy.' 6123 use => 'If you want to create hidden rooms, using weak walls is alot better than completely indiscernible passages in a wall.<br> Anyways, there can be a lot more to weak walls than just finding them: Rising their defensive stats, weak walls can become a serious obstacle. An ice wall might only be torn down by a fire attack for example. A granite wall for instance might be very hard to destroy.'
4222 }, 6124 },
4223 Weapon => { 6125 Weapon => {
4224 attr => { 6126 attr => [
4225 attacktype => { 6127 [
6128 'attacktype',
6129 {
4226 desc => 'This number is a bitmask, specifying the weapon\'s attacktypes. Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons have no more than one or two attacktypes. Keep in mind that all weapons can be blessed by the player\'s diety, thus adding an additional attacktype. When a player hits a monster with a weapon that has more than one attacktype, then he will do as much damage as the "best" of his attacktypes does. So, the more attacktypes you\'ve got, the better your chance to take advantage of a monster\'s vulnerabilities. (Btw: Same rule applies for monster vs. player.). Attacktypes "magic" and "chaos" are somehow exceptions.', 6130 desc => 'This number is a bitmask, specifying the weapon\'s attacktypes. Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons have no more than one or two attacktypes. Keep in mind that all weapons can be blessed by the player\'s diety, thus adding an additional attacktype. When a player hits a monster with a weapon that has more than one attacktype, then he will do as much damage as the "best" of his attacktypes does. So, the more attacktypes you\'ve got, the better your chance to take advantage of a monster\'s vulnerabilities. (Btw: Same rule applies for monster vs. player.). Attacktypes "magic" and "chaos" are somehow exceptions.',
4227 name => 'attacktype', 6131 name => 'attacktype',
4228 type => 'bitmask', 6132 type => 'bitmask',
4229 value => $BITMASK{attacktype} 6133 value => $BITMASK{attacktype}
6134 }
4230 }, 6135 ],
4231 cursed => { 6136 [
4232 desc => 'A cursed weapon cannot be unwielded unless the curse is removed.', 6137 'weapontype',
4233 name => 'curse', 6138 {
4234 type => 'bool' 6139 desc => 'The <weapontype> characterizes the weapon\'s type of physical attack. It could best be considered a "subclassification" of the physical attacktype. For now, this is only used for attack messages! You should always set this correctly when creating new weapons for your maps.',
6140 name => 'weapontype',
6141 type => 'list',
6142 value => $LIST{weapon_type}
6143 }
4235 }, 6144 ],
4236 dam => { 6145 [
6146 'skill',
6147 {
6148 desc => 'Matching <skill name> of the skill that is required to use this weapon.',
6149 name => 'skill name',
6150 type => 'string'
6151 }
6152 ],
6153 [
6154 'dam',
6155 {
4237 desc => 'The damage value is used as base value for how much damage the weapon does per hit. The actual damage involves more dependencies, like wielder\'s level and defender\'s level. Look at existing weapons to get a feel for the range of weapon damage values.', 6156 desc => 'The damage value is used as base value for how much damage the weapon does per hit. The actual damage involves more dependencies, like wielder\'s level and defender\'s level. Look at existing weapons to get a feel for the range of weapon damage values.',
4238 name => 'damage', 6157 name => 'damage',
4239 type => 'int' 6158 type => 'int'
6159 }
4240 }, 6160 ],
4241 damned => { 6161 [
6162 'slaying',
6163 {
6164 desc => 'Slaying means the weapon does tripple (3x) damage to monsters of the specified race. If <slaying race> matches an arch name (e.g. "big_dragon"), only monsters of that archtype are hit with tripple damage. No god blessings are possible for weapons with a race set in this entry (That\'s because god blessings add tripple damage against their own enemy races). Tripple damage is very effective.',
6165 name => 'slaying race',
6166 type => 'string'
6167 }
6168 ],
6169 [
6170 'last_sp',
6171 {
6172 desc => 'The weapon speed determines how often the wielder can swing the weapon during a certain period of time. The lower the faster, <weapon speed> 1 is best (that is lightning- fast). A typical average value is 8. Speed and damage should be kept in reasonable relation.',
6173 name => 'weapon speed',
6174 type => 'int'
6175 }
6176 ],
6177 [
6178 'wc',
6179 {
6180 desc => 'The weapon class value adds to the overall weapon class of the wielder\'s melee attacks. Weapon class improves the chance of hitting the opponent.',
6181 name => 'weapon class',
6182 type => 'int'
6183 }
6184 ],
6185 [
6186 'magic',
6187 {
6188 desc => 'For a weapon, magic bonus works just like weapon class, except that magic bonus can be improved by the gods or reduced by acid. Hence, it is less useful than direct weapon class value on a weapon.',
6189 name => 'magic bonus',
6190 type => 'int'
6191 }
6192 ],
6193 [
6194 'item_power',
6195 {
6196 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.',
6197 name => 'item power',
6198 type => 'int'
6199 }
6200 ],
6201 [
6202 'damned',
6203 {
4242 desc => 'A damned weapon cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.', 6204 desc => 'A damned weapon cannot be unwielded unless the curse is removed. Removing damnations is a tick harder than removing curses.',
4243 name => 'damnation', 6205 name => 'damnation',
4244 type => 'bool' 6206 type => 'bool'
6207 }
4245 }, 6208 ],
4246 item_power => { 6209 [
4247 desc => 'The <item power> value measures how "powerful" an artifact is. Players will only be able to wear equipment with a certain total amount of <item power>, depending on their own level. This is the only way to prevent low level players to wear "undeserved" equipment (like gifts from other players or cheated items). It is very important to adjust the <item power> value carefully for every artifact you create! If zero/unset, the CF server will calculate a provisional value at runtime, but this is never going to be an accurate measurement of <item power>.', 6210 'cursed',
4248 name => 'item power', 6211 {
4249 type => 'int' 6212 desc => 'A cursed weapon cannot be unwielded unless the curse is removed.',
6213 name => 'curse',
6214 type => 'bool'
6215 }
4250 }, 6216 ],
4251 last_sp => {
4252 desc => 'The weapon speed determines how often the wielder can swing the weapon during a certain period of time. The lower the faster, <weapon speed> 1 is best (that is lightning- fast). A typical average value is 8. Speed and damage should be kept in reasonable relation.',
4253 name => 'weapon speed',
4254 type => 'int'
4255 }, 6217 [
4256 lifesave => { 6218 'lifesave',
6219 {
4257 desc => 'An item with this flag enabled will save the players life for one time: When the player is wearing this item and his healthpoints reach zero, the item dissapears, replenishing half of the player\'s health. An item with <save life> should not have any decent additional bonuses!', 6220 desc => 'An item with this flag enabled will save the players life for one time: When the player is wearing this item and his healthpoints reach zero, the item dissapears, replenishing half of the player\'s health. An item with <save life> should not have any decent additional bonuses!',
4258 name => 'save life', 6221 name => 'save life',
4259 type => 'bool' 6222 type => 'bool'
6223 }
4260 }, 6224 ],
4261 magic => {
4262 desc => 'For a weapon, magic bonus works just like weapon class, except that magic bonus can be improved by the gods or reduced by acid. Hence, it is less useful than direct weapon class value on a weapon.',
4263 name => 'magic bonus',
4264 type => 'int'
4265 }, 6225 [
4266 msg => { 6226 'unique',
4267 desc => 'This text describes the weapons\'s "story". Every decent artifact weapon should have such a description.', 6227 {
4268 end => 'endmsg',
4269 name => 'description',
4270 type => 'text'
4271 },
4272 skill => {
4273 desc => 'Matching <skill name> of the skill that is required to use this weapon.',
4274 name => 'skill name',
4275 type => 'string'
4276 },
4277 slaying => {
4278 desc => 'Slaying means the weapon does tripple (3x) damage to monsters of the specified race. If <slaying race> matches an arch name (e.g. "big_dragon"), only monsters of that archtype are hit with tripple damage. No god blessings are possible for weapons with a race set in this entry (That\'s because god blessings add tripple damage against their own enemy races). Tripple damage is very effective.',
4279 name => 'slaying race',
4280 type => 'string'
4281 },
4282 startequip => {
4283 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
4284 name => 'godgiven item',
4285 type => 'bool'
4286 },
4287 unique => {
4288 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.', 6228 desc => 'Unique items exist only one time on a server. If the item is taken, lost or destroyed - it\'s gone for good.',
4289 name => 'unique item', 6229 name => 'unique item',
4290 type => 'bool' 6230 type => 'bool'
6231 }
4291 }, 6232 ],
4292 wc => { 6233 [
4293 desc => 'The weapon class value adds to the overall weapon class of the wielder\'s melee attacks. Weapon class improves the chance of hitting the opponent.', 6234 'startequip',
4294 name => 'weapon class', 6235 {
4295 type => 'int' 6236 desc => 'A godgiven item vanishes as soon as the player drops it to the ground.',
6237 name => 'godgiven item',
6238 type => 'bool'
6239 }
4296 }, 6240 ],
4297 weapontype => {
4298 desc => 'The <weapontype> characterizes the weapon\'s type of physical attack. It could best be considered a "subclassification" of the physical attacktype. For now, this is only used for attack messages! You should always set this correctly when creating new weapons for your maps.',
4299 name => 'weapontype',
4300 type => 'list',
4301 value => $LIST{weapon_type}
4302 } 6241 [
6242 'msg',
6243 {
6244 desc => 'This text describes the weapons\'s "story". Every decent artifact weapon should have such a description.',
6245 end => 'endmsg',
6246 name => 'description',
6247 type => 'text'
6248 }
6249 ]
4303 }, 6250 ],
4304 desc => 'Wielding a weapon, the object\'s stats will directly be inherited to the player. Usually enhancing his fighting-abilities. Non-magical weapons can be improved with scrolls.', 6251 desc => 'Wielding a weapon, the object\'s stats will directly be inherited to the player. Usually enhancing his fighting-abilities. Non-magical weapons can be improved with scrolls.',
4305 name => 'Weapon', 6252 name => 'Weapon',
4306 section => [ 6253 section => [
4307 [ 6254 [
4308 'resistance', 6255 'resistance',
4309 { 6256 [
4310 resist_acid => { 6257 [
6258 'resist_physical',
6259 {
4311 desc => 'This adds acid resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 6260 desc => 'This adds physical resistance to the weapon (= armour value). The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4312 name => 'resist acid %', 6261 name => 'resist physical %',
4313 type => 'int' 6262 type => 'int'
6263 }
4314 }, 6264 ],
4315 resist_blind => { 6265 [
6266 'resist_magic',
6267 {
4316 desc => 'This adds blinding resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 6268 desc => 'This adds magic resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4317 name => 'resist blinding %', 6269 name => 'resist magic %',
4318 type => 'int' 6270 type => 'int'
6271 }
4319 }, 6272 ],
4320 resist_chaos => { 6273 [
4321 desc => 'This adds chaos resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact. Note that chaos is not a stand-alone attacktype. Chaos "contains" a combination of other attacktypes.', 6274 'resist_fire',
4322 name => 'resist chaos %', 6275 {
4323 type => 'int'
4324 },
4325 resist_cold => {
4326 desc => 'This adds fire resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 6276 desc => 'This adds fire resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
6277 name => 'resist fire %',
6278 type => 'int'
6279 }
6280 ],
6281 [
6282 'resist_electricity',
6283 {
6284 desc => 'This adds electricity resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
6285 name => 'resist electricity %',
6286 type => 'int'
6287 }
6288 ],
6289 [
6290 'resist_cold',
6291 {
6292 desc => 'This adds fire resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4327 name => 'resist cold %', 6293 name => 'resist cold %',
4328 type => 'int' 6294 type => 'int'
6295 }
4329 }, 6296 ],
6297 [
4330 resist_confusion => { 6298 'resist_confusion',
6299 {
4331 desc => 'This adds confusion resistance to the weapon. The number is a percent-value in the range 0-100. Confusion resistance is not very effective unless the value comes close to 100 (= perfect immunity).', 6300 desc => 'This adds confusion resistance to the weapon. The number is a percent-value in the range 0-100. Confusion resistance is not very effective unless the value comes close to 100 (= perfect immunity).',
4332 name => 'resist confusion %', 6301 name => 'resist confusion %',
4333 type => 'int' 6302 type => 'int'
6303 }
4334 }, 6304 ],
4335 resist_death => { 6305 [
4336 desc => 'This adds death-attack resistance to the weapon. The number is a percent-value in the range 0-100. Death-attack resistance is little effective unless the value is 100 (= perfect immunity). Generally, resistance to death-attack is not supposed to be available to players!', 6306 'resist_acid',
6307 {
6308 desc => 'This adds acid resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4337 name => 'resist death-attack %', 6309 name => 'resist acid %',
4338 type => 'int' 6310 type => 'int'
6311 }
4339 }, 6312 ],
4340 resist_deplete => { 6313 [
4341 desc => 'This adds depletion resistance to the weapon. The number is a percent-value in the range 0-100. Depletion resistance is little effective unless the value is 100 (= perfect immunity).',
4342 name => 'resist depletion %',
4343 type => 'int'
4344 },
4345 resist_drain => { 6314 'resist_drain',
6315 {
4346 desc => 'This adds draining resistance to the weapon. The number is a percent-value in the range 0-100. Draining resistance is little effective unless the value is 100 (= perfect immunity).', 6316 desc => 'This adds draining resistance to the weapon. The number is a percent-value in the range 0-100. Draining resistance is little effective unless the value is 100 (= perfect immunity).',
4347 name => 'resist draining %', 6317 name => 'resist draining %',
4348 type => 'int' 6318 type => 'int'
6319 }
4349 }, 6320 ],
4350 resist_electricity => { 6321 [
4351 desc => 'This adds electricity resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 6322 'resist_weaponmagic',
6323 {
6324 desc => 'This adds weaponmagic resistance to the weapon. The number is a percent-value in the range 0-100. Weaponmagic resistance generally should not exist on equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell) are not meant to be easily resisted.',
4352 name => 'resist electricity %', 6325 name => 'resist weaponmagic %',
4353 type => 'int' 6326 type => 'int'
6327 }
4354 }, 6328 ],
4355 resist_fear => { 6329 [
6330 'resist_ghosthit',
6331 {
6332 desc => 'This adds ghosthit resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
6333 name => 'resist ghosthit %',
6334 type => 'int'
6335 }
6336 ],
6337 [
6338 'resist_poison',
6339 {
6340 desc => 'This adds poison resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
6341 name => 'resist poison %',
6342 type => 'int'
6343 }
6344 ],
6345 [
6346 'resist_slow',
6347 {
4356 desc => 'This adds fear resistance to the weapon. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.', 6348 desc => 'This adds fear resistance to the weapon. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.',
4357 name => 'resist fear %', 6349 name => 'resist slow %',
4358 type => 'int' 6350 type => 'int'
6351 }
4359 }, 6352 ],
4360 resist_fire => { 6353 [
4361 desc => 'This adds fire resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4362 name => 'resist fire %',
4363 type => 'int'
4364 },
4365 resist_ghosthit => {
4366 desc => 'This adds ghosthit resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4367 name => 'resist ghosthit %',
4368 type => 'int'
4369 },
4370 resist_holyword => {
4371 desc => 'This adds holy power resistance to the weapon. The number is a percent-value in the range 0-100. Holy power is the attacktype that holyword-type spells use to hurt undead creatures. This kind of resistance is only reasonable for undead players (wraith or devourer cult). Generally, resistance to holy word should not be available for players.',
4372 name => 'resist holy power %',
4373 type => 'int'
4374 },
4375 resist_magic => {
4376 desc => 'This adds magic resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4377 name => 'resist magic %',
4378 type => 'int'
4379 },
4380 resist_paralyze => { 6354 'resist_paralyze',
6355 {
4381 desc => 'This adds paralyze resistance to the weapon. The number is a percent-value in the range 0-100. Paralyze resistance is little effective unless the value is 100 (= perfect immunity).', 6356 desc => 'This adds paralyze resistance to the weapon. The number is a percent-value in the range 0-100. Paralyze resistance is little effective unless the value is 100 (= perfect immunity).',
4382 name => 'resist paralyze %', 6357 name => 'resist paralyze %',
4383 type => 'int' 6358 type => 'int'
6359 }
4384 }, 6360 ],
4385 resist_physical => { 6361 [
4386 desc => 'This adds physical resistance to the weapon (= armour value). The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.', 6362 'resist_fear',
4387 name => 'resist physical %', 6363 {
4388 type => 'int'
4389 },
4390 resist_poison => {
4391 desc => 'This adds poison resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
4392 name => 'resist poison %',
4393 type => 'int'
4394 },
4395 resist_slow => {
4396 desc => 'This adds fear resistance to the weapon. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.', 6364 desc => 'This adds fear resistance to the weapon. The number is a percent-value in the range 0-100. Resistance to fear is pretty useless.',
4397 name => 'resist slow %', 6365 name => 'resist fear %',
4398 type => 'int' 6366 type => 'int'
6367 }
4399 }, 6368 ],
4400 resist_weaponmagic => { 6369 [
4401 desc => 'This adds weaponmagic resistance to the weapon. The number is a percent-value in the range 0-100. Weaponmagic resistance generally should not exist on equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell) are not meant to be easily resisted.', 6370 'resist_deplete',
6371 {
6372 desc => 'This adds depletion resistance to the weapon. The number is a percent-value in the range 0-100. Depletion resistance is little effective unless the value is 100 (= perfect immunity).',
4402 name => 'resist weaponmagic %', 6373 name => 'resist depletion %',
4403 type => 'int' 6374 type => 'int'
4404 } 6375 }
4405 } 6376 ],
6377 [
6378 'resist_death',
6379 {
6380 desc => 'This adds death-attack resistance to the weapon. The number is a percent-value in the range 0-100. Death-attack resistance is little effective unless the value is 100 (= perfect immunity). Generally, resistance to death-attack is not supposed to be available to players!',
6381 name => 'resist death-attack %',
6382 type => 'int'
6383 }
6384 ],
6385 [
6386 'resist_chaos',
6387 {
6388 desc => 'This adds chaos resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact. Note that chaos is not a stand-alone attacktype. Chaos "contains" a combination of other attacktypes.',
6389 name => 'resist chaos %',
6390 type => 'int'
6391 }
6392 ],
6393 [
6394 'resist_blind',
6395 {
6396 desc => 'This adds blinding resistance to the weapon. The number is a percent-value in the range 0-100. Treat this with CARE. Look at other maps and what they require to do for getting this-and-that artifact.',
6397 name => 'resist blinding %',
6398 type => 'int'
6399 }
6400 ],
6401 [
6402 'resist_holyword',
6403 {
6404 desc => 'This adds holy power resistance to the weapon. The number is a percent-value in the range 0-100. Holy power is the attacktype that holyword-type spells use to hurt undead creatures. This kind of resistance is only reasonable for undead players (wraith or devourer cult). Generally, resistance to holy word should not be available for players.',
6405 name => 'resist holy power %',
6406 type => 'int'
6407 }
6408 ]
6409 ]
4406 ], 6410 ],
4407 [ 6411 [
4408 'stats', 6412 'stats',
4409 { 6413 [
4410 Cha => { 6414 [
6415 'Str',
6416 {
4411 desc => 'The player\'s charisma will rise/fall by the given value while wearing this weapon.', 6417 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this weapon.',
4412 name => 'charisma', 6418 name => 'strength',
4413 type => 'int' 6419 type => 'int'
6420 }
4414 }, 6421 ],
4415 Con => { 6422 [
6423 'Dex',
6424 {
6425 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this weapon.',
6426 name => 'dexterity',
6427 type => 'int'
6428 }
6429 ],
6430 [
6431 'Con',
6432 {
4416 desc => 'The player\'s constitution will rise/fall by the given value while wearing this weapon.', 6433 desc => 'The player\'s constitution will rise/fall by the given value while wearing this weapon.',
4417 name => 'constitution', 6434 name => 'constitution',
4418 type => 'int' 6435 type => 'int'
6436 }
4419 }, 6437 ],
4420 Dex => { 6438 [
4421 desc => 'The player\'s dexterity will rise/fall by the given value while wearing this weapon.', 6439 'Int',
4422 name => 'dexterity', 6440 {
4423 type => 'int'
4424 },
4425 Int => {
4426 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this weapon.', 6441 desc => 'The player\'s intelligence will rise/fall by the given value while wearing this weapon.',
4427 name => 'intelligence', 6442 name => 'intelligence',
4428 type => 'int' 6443 type => 'int'
6444 }
4429 }, 6445 ],
4430 Pow => { 6446 [
6447 'Pow',
6448 {
4431 desc => 'The player\'s power will rise/fall by the given value while wearing this weapon.', 6449 desc => 'The player\'s power will rise/fall by the given value while wearing this weapon.',
4432 name => 'power', 6450 name => 'power',
4433 type => 'int' 6451 type => 'int'
6452 }
4434 }, 6453 ],
4435 Str => { 6454 [
4436 desc => 'The player\'s strentgh will rise/fall by the given value while wearing this weapon.', 6455 'Wis',
4437 name => 'strength', 6456 {
4438 type => 'int'
4439 },
4440 Wis => {
4441 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this weapon.', 6457 desc => 'The player\'s wisdom will rise/fall by the given value while wearing this weapon.',
4442 name => 'wisdom', 6458 name => 'wisdom',
4443 type => 'int' 6459 type => 'int'
4444 } 6460 }
4445 } 6461 ],
6462 [
6463 'Cha',
6464 {
6465 desc => 'The player\'s charisma will rise/fall by the given value while wearing this weapon.',
6466 name => 'charisma',
6467 type => 'int'
6468 }
6469 ]
6470 ]
4446 ], 6471 ],
4447 [ 6472 [
4448 'misc', 6473 'misc',
4449 { 6474 [
4450 food => { 6475 [
4451 desc => 'Positive <food bonus> slows down the player\'s digestion, thus he consumes less food. Negative values speed it up. Note that food is consumed not only for "being alive", but also for healing and mana-regeneration. <food bonus> only affects the amount of food consumed for "being alive". Hence, even with high <food bonus>, during a fight a player can run out of food quickly.', 6476 'luck',
6477 {
6478 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.',
4452 name => 'food bonus', 6479 name => 'luck bonus',
4453 type => 'int' 6480 type => 'int'
6481 }
4454 }, 6482 ],
4455 grace => { 6483 [
4456 desc => 'Positive <grace regen.> bonus speeds up the player\'s grace regeneration. Negative values slow it down. Since grace can be regenerated rather easy with praying, additional <grace regen.> bonus should be VERY RARE!!', 6484 'hp',
4457 name => 'grace regen.', 6485 {
4458 type => 'int'
4459 },
4460 hp => {
4461 desc => 'Positive <health regen.> bonus speeds up the player\'s healing process. Negative values slow it down.', 6486 desc => 'Positive <health regen.> bonus speeds up the player\'s healing process. Negative values slow it down.',
4462 name => 'health regen.', 6487 name => 'health regen.',
4463 type => 'int' 6488 type => 'int'
6489 }
4464 }, 6490 ],
4465 luck => { 6491 [
4466 desc => 'With positive luck bonus, the player is more likely to succeed in all sorts of things (spellcasting, praying,...). Unless the <luck bonus> is very high, the effect will be barely visible in-game. Luck bonus on one piece of equipment should never exceed 3, and such bonus should not be too frequently available.', 6492 'sp',
4467 name => 'luck bonus', 6493 {
4468 type => 'int'
4469 },
4470 path_attuned => {
4471 desc => 'Click on the <attuned paths> button to select spellpaths. The player will get attuned to the specified spellpaths while wearing this weapon.',
4472 name => 'attuned paths',
4473 type => 'bitmask',
4474 value => $BITMASK{spellpath}
4475 },
4476 path_denied => {
4477 desc => 'Click on the <denied paths> button to select spellpaths. The specified spellpaths will be denied to the player while wearing this weapon.',
4478 name => 'denied paths',
4479 type => 'bitmask',
4480 value => $BITMASK{spellpath}
4481 },
4482 path_repelled => {
4483 desc => 'Click on the <repelled paths> button to select spellpaths. The player will get repelled to the specified spellpaths while wearing this weapon.',
4484 name => 'repelled paths',
4485 type => 'bitmask',
4486 value => $BITMASK{spellpath}
4487 },
4488 reflect_missile => {
4489 desc => 'If a player is wearing any piece of equipment with the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks.',
4490 name => 'reflect missiles',
4491 type => 'bool'
4492 },
4493 reflect_spell => {
4494 desc => 'If a player is wearing any piece of equipment with the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks. This is a very powerful ability and it shouldn\'t be handed out cheap!',
4495 name => 'reflect spells',
4496 type => 'bool'
4497 },
4498 sp => {
4499 desc => 'Positive <mana regen.> bonus speeds up the player\'s mana regeneration. Negative values slow it down.', 6494 desc => 'Positive <mana regen.> bonus speeds up the player\'s mana regeneration. Negative values slow it down.',
4500 name => 'mana regen.', 6495 name => 'mana regen.',
4501 type => 'int' 6496 type => 'int'
6497 }
4502 }, 6498 ],
4503 stealth => { 6499 [
6500 'grace',
6501 {
6502 desc => 'Positive <grace regen.> bonus speeds up the player\'s grace regeneration. Negative values slow it down. Since grace can be regenerated rather easy with praying, additional <grace regen.> bonus should be VERY RARE!!',
6503 name => 'grace regen.',
6504 type => 'int'
6505 }
6506 ],
6507 [
6508 'food',
6509 {
6510 desc => 'Positive <food bonus> slows down the player\'s digestion, thus he consumes less food. Negative values speed it up. Note that food is consumed not only for "being alive", but also for healing and mana-regeneration. <food bonus> only affects the amount of food consumed for "being alive". Hence, even with high <food bonus>, during a fight a player can run out of food quickly.',
6511 name => 'food bonus',
6512 type => 'int'
6513 }
6514 ],
6515 [
6516 'xrays',
6517 {
6518 desc => 'Xray vision allows the player to see through obstacles in a two-square-wide radius. This is extremely helpful and desireable, so don\'t give it away for cheap on equipment.',
6519 name => 'xray vision',
6520 type => 'bool'
6521 }
6522 ],
6523 [
6524 'stealth',
6525 {
4504 desc => 'Stealth allows the player to move silently. This comes to effect if a player turns himself invisible and tries to sneak around monsters. (At least that was the idea behind it)', 6526 desc => 'Stealth allows the player to move silently. This comes to effect if a player turns himself invisible and tries to sneak around monsters. (At least that was the idea behind it)',
4505 name => 'stealth', 6527 name => 'stealth',
4506 type => 'bool' 6528 type => 'bool'
6529 }
4507 }, 6530 ],
4508 xrays => { 6531 [
4509 desc => 'Xray vision allows the player to see through obstacles in a two-square-wide radius. This is extremely helpful and desireable, so don\'t give it away for cheap on equipment.', 6532 'reflect_spell',
4510 name => 'xray vision', 6533 {
6534 desc => 'If a player is wearing any piece of equipment with the ability to <reflect spells>, all kinds of spell-bullets and -beams will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks. This is a very powerful ability and it shouldn\'t be handed out cheap!',
6535 name => 'reflect spells',
4511 type => 'bool' 6536 type => 'bool'
4512 } 6537 }
4513 } 6538 ],
6539 [
6540 'reflect_missile',
6541 {
6542 desc => 'If a player is wearing any piece of equipment with the ability to <reflect missiles>, all kinds of projectiles (e.g. arrows, bolts, boulders) will bounce off him. This works only about 90% of all times, to avoid players being completely immune to certain types of attacks.',
6543 name => 'reflect missiles',
6544 type => 'bool'
6545 }
6546 ],
6547 [
6548 'path_attuned',
6549 {
6550 desc => 'Click on the <attuned paths> button to select spellpaths. The player will get attuned to the specified spellpaths while wearing this weapon.',
6551 name => 'attuned paths',
6552 type => 'bitmask',
6553 value => $BITMASK{spellpath}
6554 }
6555 ],
6556 [
6557 'path_repelled',
6558 {
6559 desc => 'Click on the <repelled paths> button to select spellpaths. The player will get repelled to the specified spellpaths while wearing this weapon.',
6560 name => 'repelled paths',
6561 type => 'bitmask',
6562 value => $BITMASK{spellpath}
6563 }
6564 ],
6565 [
6566 'path_denied',
6567 {
6568 desc => 'Click on the <denied paths> button to select spellpaths. The specified spellpaths will be denied to the player while wearing this weapon.',
6569 name => 'denied paths',
6570 type => 'bitmask',
6571 value => $BITMASK{spellpath}
6572 }
6573 ]
6574 ]
4514 ] 6575 ]
4515 ], 6576 ],
4516 use => 'If you create artifacts (equipment) with stats- or resistance-bonus: Keep playbalance in mind! Such items mustn\'t be reachable without hard fighting AND questing.' 6577 use => 'If you create artifacts (equipment) with stats- or resistance-bonus: Keep playbalance in mind! Such items mustn\'t be reachable without hard fighting AND questing.'
4517 } 6578 }
4518); 6579);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines