Date: 2017/01/01 13:46:48 UTC-08: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
"Imouto":
type: assignment
actions:
on assignment:
- trigger name:click toggle:true state:true radius:3
interact scripts:
- 1 Imouto_interact
Imouto_interact:
type: interact
steps:
1:
click trigger:
script:
- chat "Konichiwa onii-chan"
- wait 1
- ^narrate "<red>Say:"
- ^narrate " <proc[msgChat].context[<blue>Food|FOOD|Food - Click Me To Feed|]><blue> <gray>or<red> <proc[msgChat].context[Pat|PAT|Pat - Click Me To Pat|]> <gray>or<red> <proc[msgChat].context[<red>Die|DIE|Die - Click Me|]>"
chat trigger:
'Feed Her':
Trigger: I have some /food/ for you.
script:
- ^run "script:Imouto Feed Requirement"
'Insult Her':
Trigger: I hate you, /Die/!
script:
- chat "Onii-chan baka! :'("
'Head Pat':
Trigger: Let me /Pat/ your head.
script:
- wait 1
- chat "Onii-chan <3"
- playeffect <npc.location> HEART
- adjust <npc> velocity:l@0,0.8,0
proximity trigger:
entry:
script:
- ^random {
- ^narrate "The imouto looks at you with longing eyes..."
- ^narrate "Is that your imouto standing all lonely?" }
damage trigger:
script:
- chat "Owww onii-chan whyyy :'("
"Imouto Feed Requirement":
type: task
script:
- ^if <player.item_in_hand.id> == 357 run "script:Imouto Food"
else ^run "script:Disappointed Imouto"
"Imouto Food":
type: task
script:
- ^take iteminhand qty:1
- chat "Arigato onii-chan~"
- playeffect <npc.location> HEART
"Disappointed Imouto":
type: task
script:
- wait 1
- chat "No food for me Onii-chan? :'("
- wait 1
- narrate "Maybe you should feed her cookies..."