obchodnik: type: assignment actions: on assignment: - trigger name:click state:true interact scripts: - obchodnik_script obchodnik_script: type: interact steps: 1: click trigger: script: - narrate "<&a>[D] <&6>Roman<&f> <>> Ahoj! Copak mohu pro tebe udělat?" - wait 2 - narrate "<&a>[D] <&6>Roman<&f> <>> Chtěl by ses kouknout na aukce, nebo si něco najít v obchodu?" - wait 2 - inventory open d:obchodnik_menu obchodnik_menu: type: inventory title: <&6> Roman size: 27 slots: - "[] [] [] [] [] [] [] [] []" - "[] [] [obchodnik_slot1] [] [] [] [obchodnik_slot2] [] []" - "[] [] [] [] [] [] [] [] []" inventory: CHEST obchodnik_slot1: type: item material: diamond display name: <&e>Aukce obchodnik_slot2: type: item material: emerald display name: <&2>Obchod obchodnik_handler: type: world events: on player clicks obchodnik_slot1 in obchodnik_menu priority:1: - determine cancelled passively - execute as_player shop on player clicks obchodnik_slot2 in obchodnik_menu priority:1: - determine cancelled passively - execute as_player ah on player clicks in obchodnik_menu priority:2: - determine cancelled passively on player drags in obchodnik_menu priority:2: - determine cancelled passively lodnik: type: assignment actions: on assignment: - trigger name:click state:true interact scripts: - lodnik_script lodnik_script: type: interact steps: 1: click trigger: script: - rotate duration:1s - wait 1 - lookclose state:true - narrate "<&a>[D] <&6>Břetislav<&f> <>> Ah, konečně jses vzbudil!" - wait 2 - narrate "<&a>[D] <&6>Břetislav<&f> <>> Už jsme dopluli zpátky k ostrovu Hamernice" - wait 3 - narrate "<&a>[D] <&6>Břetislav<&f> <>> Přeplav už ten kousek a zajdi za Vincentem" - wait 3 - narrate "<&a>[D] <&6>Břetislav<&f> <>> On ti řekne vše o kempu" - lookclose state:false - rotate yaw:-10.0 duration:1s - wait 1 - look - zap 2 2: click trigger: script: - narrate "nope not"