Paste #44598: TEST MAP WORLD COORDS

Date: 2017/09/23 15:38:44 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


warp_menu_handler:
  type: world
  events:
    on player clicks with AOTEA using either_hand:
    - take slot:9
    - inventory add o:i@LOCALMAP slot:9
    - map 33 reset:<pl.location>
    - map 33 script:s@MapScriptRohe
    - determine cancelled
    on player clicks with LOCALMAP using either_hand:
    - take slot:9
    - inventory add o:i@AOTEA slot:9
    - map 5 script:s@MapScriptPoutama
    - determine cancelled

AOTEA: 
  type: item 
  material: i@map[map=5]
  display name: <&c>AOTEAROA

LOCALMAP:
  type: item 
  material: i@map[map=33]
  display name: <&c>Ā-ROHE

MapScriptRohe:
  type: map
  debug: false
  original: true
  objects:   
    cursor_3:
      type: cursor
      world_coordinates: true
      cursor: small_white_circle
      x: <player.location.x>
      y: <player.location.z>