Paste #30120: Untitled Paste

Date: 2016/02/11 00:23:57 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Sklep1: 
    type: assignment 
    actions: 
        on assignment: 
        - trigger name:proximity state:true radius:5
        - trigger name:click state:true 
        - trigger name:chat state:true radius:10
    interact scripts: 
    - Drewno

Drewno:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate format:cchat "Witaj"

Sen_Sklep1:
    type: world
    events:
        on time 2 in world:
        - walk n@35 14,46,153,world auto_range
        - if <n@35.location.simple> == 14,46,153,world {
            - animate n@35 animation:sleep
            } else {
            - animate n@35 animation:STOP_SLEEPING
            }