Paste #48250: Untitled Paste

Date: 2018/06/29 21:06:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10


world_script:
    type: world
    events:
        on player right clicks skull:
        - give stone
        - define location_list li@l@120.0,5.0,-436.0,world2|l@116.0,4.0,-440.0,world2
        - if <def[location_list].contains[<context.location>]> && !<player.flag[skull_locations].as_list.contains[<context.location>]> {
            - flag player skull_locations:->:<context.location>
            - give stone
        }