Date: 2018/07/05 22:15:44 UTC-07:00
Type: Denizen Script
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
}