Date: 2017/03/15 07:02:02 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
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>]>"