map_zones.txt 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //===== rAthena Documentation ================================
  2. //= Map Zone Structure
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20240112
  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. DisabledCommands: @commands can be disabled for players below a certain group level.
  15. Setting the group level to 0 will remove from the DisabledCommands list. Useful for imports.
  16. heal: 70 # Makes @heal usable only to those group level 70 and above.
  17. ---------------------------------------
  18. DisabledSkills: Skills can be disabled for different game object types below a certain group level.
  19. Setting the group level to 0 will remove from the DisabledSkills list. Useful for imports.
  20. Object Types:
  21. Pc - Player
  22. Mob - Monster
  23. Hom - Homunculus
  24. Mer - Mercenary
  25. Elem - Elemental
  26. Npc - NPC
  27. - Skill: AL_TELEPORT # Disables Teleport for players, monsters, homunculi, and mercenary.
  28. Pc: 100
  29. Mob: 100
  30. Hom: 100
  31. Mer: 100
  32. - Skill: AL_WARP # Disables Warp Portal for players.
  33. Pc: 100
  34. ---------------------------------------
  35. DisabledItems: Items can be disabled from being used or equipped for players below a certain group level.
  36. Setting the group level to 0 will remove from the DisabledItems list. Useful for imports.
  37. Apple: 100 # Apple will not be able to be consumed by anyone.
  38. Cap: 100 # Cap will not be able to be equipped by anyone.
  39. Hat: 0 # Hat will be able to be equipped by all. Useful for import.
  40. ---------------------------------------
  41. DisabledStatuses: Statuses can be disabled in a zone for players below a certain group level. These
  42. statuses, if active, will be removed when entering a zone and will not be able to be re-applied while in the zone.
  43. Setting the group level to 0 will remove from the DisabledStatuses list. Useful for imports.
  44. Endure: 100 # Endure will be disabled from activing and being applied within the zone.
  45. ---------------------------------------
  46. RestrictedJobs: Jobs can be disabled from entering a zone for players below a certain group level.
  47. Setting the group level to 0 will remove from the RestrictedJobs list. Useful for imports.
  48. Priest: 30 # Makes the Priest job unable to enter the map zone to those group level less than 30.
  49. ---------------------------------------
  50. Mapflags: Mapflags that are applies to a zone. By default, the Value label is 1/true/on.
  51. - Flag: NoTeleport # Sets the 'noteleport' mapflag to the zone.
  52. - Flag: Skill_Duration
  53. Value: AL_SANCTUARY,400 # Sets the 'skill_duration' mapflag to the zone.
  54. - Flag: NoMemo # Removes the 'nomemo' mapflag to the zone. Useful for import.
  55. Clear: true