map_zones.txt 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //===== rAthena Documentation ================================
  2. //= Map Zone Structure
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20240925
  7. //===== Description: =========================================
  8. //= This file describes the functions of map zones, which
  9. //= determine the behavior of a map in various situations.
  10. //============================================================
  11. ---------------------------------------
  12. Id: Zone ID (constant). These are defined in e_map_type::clif.hpp.
  13. ---------------------------------------
  14. Inherit: Zones that will be inherited. Useful for imports.
  15. Disabled commands, disabled skills, disabled items, disabled statuses, restricted jobs, and mapflags can be inherited from other zones.
  16. Village: true # Inherit the town zone
  17. ---------------------------------------
  18. DisabledCommands: @commands can be disabled for players below a certain group level.
  19. Setting the group level to 0 will remove from the DisabledCommands list. Useful for imports.
  20. heal: 70 # Makes @heal usable only to those group level 70 and above.
  21. ---------------------------------------
  22. DisabledSkills: Skills can be disabled for different game object types below a certain group level.
  23. Setting the group level to 0 will remove from the DisabledSkills list. Useful for imports.
  24. Object Types:
  25. Pc - Player
  26. Mob - Monster
  27. Hom - Homunculus
  28. Mer - Mercenary
  29. Elem - Elemental
  30. Npc - NPC
  31. - Skill: AL_TELEPORT # Disables Teleport for players, monsters, homunculi, and mercenary.
  32. Pc: 100
  33. Mob: 100
  34. Hom: 100
  35. Mer: 100
  36. - Skill: AL_WARP # Disables Warp Portal for players.
  37. Pc: 100
  38. ---------------------------------------
  39. DisabledItems: Items can be disabled from being used or equipped for players below a certain group level.
  40. Setting the group level to 0 will remove from the DisabledItems list. Useful for imports.
  41. Apple: 100 # Apple will not be able to be consumed by anyone.
  42. Cap: 100 # Cap will not be able to be equipped by anyone.
  43. Hat: 0 # Hat will be able to be equipped by all. Useful for import.
  44. ---------------------------------------
  45. DisabledStatuses: Statuses can be disabled in a zone for players below a certain group level. These
  46. statuses, if active, will be removed when entering a zone and will not be able to be re-applied while in the zone.
  47. Setting the group level to 0 will remove from the DisabledStatuses list. Useful for imports.
  48. Endure: 100 # Endure will be disabled from activing and being applied within the zone.
  49. ---------------------------------------
  50. RestrictedJobs: Jobs can be disabled from entering a zone for players below a certain group level.
  51. Setting the group level to 0 will remove from the RestrictedJobs list. Useful for imports.
  52. Priest: 30 # Makes the Priest job unable to enter the map zone to those group level less than 30.
  53. ---------------------------------------
  54. Mapflags: Mapflags that are applies to a zone. By default, the Value label is 1/true/on.
  55. - Flag: NoTeleport # Sets the 'noteleport' mapflag to the zone.
  56. - Flag: Skill_Duration
  57. Value: AL_SANCTUARY,400 # Sets the 'skill_duration' mapflag to the zone.
  58. - Flag: NoMemo # Removes the 'nomemo' mapflag to the zone. Useful for import.
  59. Clear: true