Paste #48403: Untitled Paste

Date: 2018/07/05 22:15:44 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13


on player clicks with storekeeperegg:
    - if <global.flag[store].escape_contents||true> {
      - create player storekeeper <player.location.cursor_on.add[0.5,1,0.5]> "save:mystorekeeper"
      - wait 2t
      - execute "as_op" "npc select <entry[mystorekeeper].created_npc.id>"
      - narrate "<dark_purple>please select the bottom and top corners of your cuboid then drop the selector"
      - take i@storekeeperegg
      - lookclose <player.selected_npc> state:true
      - wait 1t
      - assignment set npc:<player.selected_npc> script:StorekeeperPlayerOwned
      - give <player> i@storelocationstick
      - queue clear
      }