Paste #40755: Untitled Paste

Date: 2017/03/15 07:02:02 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


endlich_story_event_1:
    type: world
    debug: true
    events:
        # start travel
        on player kills enderman:
        - if <player.has_flag[endlich_story]> queue clear
        - give i@endlich_story_0
        - flag player endlich_story:1
        - flag player endlich_warp:1
        - playeffect <context.entity.location> effect:portal quantity:1 data:5
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5
        - narrate "<&6>엔더맨이 품에 지니고 있던 책이 바닥에 떨어졌습니다!!!"

        # first get 10 ended
        on player flag endlich_warp changed:
        - wait 1t
        - if <player.flag[endlich_story]||0> != 1 queue clear
        - if <player.flag[endlich_warp]||0> < 10 queue clear
        - give endlich_story_1
        - flag player endlich_story:2
        - narrate "<&6>  없는 힘이 점점 강해지고 있습니다. 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5

endlich_story_event_2:
    type: world
    events:
        # first get 20 ended
        on player flag endlich_warp changed:
        - wait 1t
        - if <player.flag[endlich_story]||0> != 2 queue clear
        - if <player.flag[endlich_warp]||0> < 20 queue clear
        - give endlich_story_2
        - flag player endlich_story:3
        - narrate "<&6>머릿속이 갑자기 열린 듯합니다. 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5

endlich_story_event_3:
    type: world
    debug: false
    events:
        # first craft wand
        on player crafts endlich_wand:
        - if <player.flag[endlich_warp]||0> < 20 {
            - narrate "<&6>아직 만들  없습니다."
            - determine cancelled }
        - if <player.flag[endlich_story]||0> != 3 queue clear
        - give endlich_story_3
        - flag player endlich_story:4
        - narrate "<&6>첫번째 완드를 무사히 만들었습니다! 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5

endlich_story_event_4:
    type: world
    debug: false
    events:
        # 40 ended
        on player flag endlich_warp changed:
        - if <player.flag[endlich_story]||0> != 4 queue clear
        - if <player.flag[endlich_warp]||0> < 40 queue clear
        - give endlich_story_4
        - flag player endlich_story:5
        - narrate "<&6>머릿속이 갑자기 열린 듯합니다. 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5

        #kill enderman after warp 40
        on player kills enderman:
        - if <player.flag[endlich_story]||0> != 5 queue clear
        - if <player.flag[endlich_warp]||0> < 40 queue clear
        - give endlich_story_5
        - flag player endlich_story:6
        - narrate "<&6>머릿속이 갑자기 열린 듯합니다. 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5

        #kill dragon
        on player kills ENDER_DRAGON:
        - if <player.flag[endlich_story]||0> != 6 queue clear
        - give endlich_story_6
        - flag player endlich_story:7
        - narrate "<&6>드디어 용이 죽었습니다! 그런데 이상한 일이 벌어집니다! 일지를 확인해 봐야 합니다."
        - playsound <player.location> volume:1 pitch:0.5 sound:ENTITY_PLAYER_LEVELUP
        - playeffect <player.location> effect:VILLAGER_HAPPY qty:5
        ## event for convert enderman to zombie
        - define getchunks <context.entity.world.loaded_chunks>
        ## get endermans
        - foreach <def[getchunks]> {
            - define endermans <def[value].entities>
                - foreach <def[endermans]> {
                    - adjust <def[value]> entity_type:returned_enderman
                }
        }

endlich_story_event_5:
    type: world
    debug: false
    events:
        #incompleted
        on player flag endlich_warp changed:
        - if <player.flag[endlich_story]||0> != 99999 queue clear
        - give endlich_story_7
        - flag player endlich_story:8
        - narrate "<&6>드디어 용이 죽었습니다! 그런데 이상한 일이 벌어집니다!"
        ## event for convert enderman to zombie
        - define getchunks <context.entity.world.loaded_chunks>
        ## get endermans
        - foreach <def[getchunks]> {
            - define endermans <def[value].entities>
                - foreach <def[endermans]> {
                    - adjust <def[value]> entity_type:returned_enderman
                }
        }


#after first kill enderman
endlich_story_0:
    type: book
    title: "<&5>Enderman diary"
    author: "<player.name>"
    text:
        - "<&9>  === <&5>엔더맨에 대하여 <&9>===<n><n><&0> 알려진 것보다 모르는 것이  많습니다.<n>그러나 지금 당신은  첫발을 내딛었습니다.<n><n>(이 메모는 당신이 금방 처치한 엔더맨이 가지고 있던 책입니다... 많은 부분이 알아볼  없는 문자로 되어있습니다..)"
        - "<&k>http://minecraft.gamepedia.com/Enderman<n><&r> Endermen do not attack unless provoked by a player attacking them or looking at their head from up to 64 blocks away. When provoked, endermen will open their mouths and shake with rage; when provoked by being stared at,"


#after first get warp 10
endlich_story_1:
    type: book
    title: "<&5>Endlich Note - 1장"
    author: "<player.name>"
    text:
        - "<&9>  === <&5>엔더의 능력 <&9>===<n><n><&1>일시: <&9><util.date.time.year>/<util.date.time.month>/<util.date.time.day> <util.date.time.hour>:<util.date.time.minute><n><n><&0>  세계는 아직 이해할  없는  투성이다.<n> 그동안 알아낸 것에 따르면 엔더맨은 생물체라기 보다는 신비한 힘이 응집된 것으로 생각된다."
        - "<&9>  === <&5>엔더의 능력 <&9>===<n><n><&0>  힘에 계속 노출되는 것은 위험하지 않을까?<n>가랑비에 옷이 젖는 것처럼, 서서히,  힘이  자신이게도 서서히 영향을 미치는  같다."
        - "<&9>  == <&5>내용  진행사항<&9> ==<n><&0><player.name> <&9>엔더의 능력<&0> 연구에 대하여 다음과 같은 이론을 주장하였다.<n><n><player.chat_history_list.get[1].to[7].reverse.separated_by[<n>]>"

#after first get warp 20
endlich_story_2:
    type: book
    title: "<&5>Endlich Note - 2장"
    author: "<player.name>"
    text:
        - "<&9>  === <&5>엔드리치 완드 <&9>===<n><n><&1>일시: <&9><util.date.time.year>/<util.date.time.month>/<util.date.time.day> <util.date.time.hour>:<util.date.time.minute><n><n><&0> 머릿속이 갑자기 열린 듯하다.<n> 엔더맨에게서 느껴지던 힘이 이제는 나에게서도 느껴진다.<n> 이제는  힘을 다룰  있을  같다."
        - "<&9>  === <&5>엔드리치 완드 <&9>===<n><n><&0> 힘을 응집시키는 성질을 가진 다이아몬드와 힘을 유지시키는 블레이즈 막대와  외의 재료를  조합하면  능력을 다룰  있을 듯하다.<n> 그러나 다소 위험할지도..."
        - "<&9>  === <&5>엔드리치 완드 <&9>===<n><n><&1>[ ][청][다]<n>[레][블][청]<n>[금][레][ ] <n>다:다이아몬드<n>청:청금석<n>레:레드스톤<n>금:금괴<n>"
        - "<&9> == <&5>내용  진행사항<&9> ==<n><&0><player.name> <&9>엔드리치 완드<&0> 연구에 대하여 다음과 같은 이론을 주장하였다.<n><n><player.chat_history_list.get[1].to[7].reverse.separated_by[<n>]>"