Date: 2015/06/25 05:40:09 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
"Jedi_Law Assignment":
type: assignment
actions:
on assignment:
- lookclose toggle:true
interact scripts:
- 10 Jedi_Law Greeting
'Jedi_Law Greeting':
type: interact
steps:
'1*':
click trigger:
script:
- engage
- if <player.in_group[Padawan]> {
- if <player.flag[JediLanguage]> == "Finished" && <player.flag[JediScience]> == "Finished" {
- if <player.flag[JediLaw]> == "" || <player.flag[JediLaw]> == null {
- chat "Welcome Padawan <player.name>, I am going to be your law tutor."
- wait 1
- chat "The <aqua>Justice<white> System is represented by two systems, local and imperial. Local law covers smaller cases and imperial law handles those of greater importance."
- wait 2
- chat "There is a case going on now that you can assist with that will show you the difference. A local man was arrested for a bar fight in Chalmun's cantina and brought here."
- wait 2
- chat "It is a civic case and should be tried in local courts but the empire wants to question him on something unrelated so they are trying to charge him in imperial court."
- wait 2
- chat "He will not get a fair trial in imperial court so you must make sure that he makes his way back to Mos Eisley and to the civic court house safely."
- flag player "JediLaw:Justice"
}
else if <player.flag[JediLaw]> == "Justice" {
- if <player.inventory.contains[i@CounterTransferRequest]> {
- chat "Glad to see you back."
- wait 1
- chat "He will now be tried in a proper court and receive appropriate sentencing."
- wait 1
- chat "I might as well file that away while I am here."
- wait 1
- take "i@CounterTransferRequest" "qty:1"
- wait 2
- chat "Moving on now, another legal problem we have is the smuggling and <aqua>Trade<white> of illegal items in the system."
- wait 1
- chat "Because of this there is extensive records kept of all transactions."
- flag player "JediLaw:Trade"
}
else {
- chat "Collect the prisoner from the guard room downstairs and take him back to the courthouse in Mos Eisley for appropriate <aqua>Justice<white>."
}
}
else if <player.flag[JediLaw]> == "Trade" {
- if <player.inventory.contains[i@KashyyykExportManifest]> {
- chat "Now that you have it just out of curiosity how many Bowcasters did they dispatch from Kashyyyk?"
- flag player "JediLaw:Dispatched"
}
else {
- chat "Go to Kashyyyk and collect the <aqua>Trade<white> Export Manifest and bring it back."
}
}
else if <player.flag[JediLaw]> == "Dispatched" {
- chat "How many Bowcasters did they dispatch from Kashyyyk?"
}
else if <player.flag[JediLaw]> == "Audit" {
- if <player.inventory.contains[i@RoshaExportManifest]> {
- chat "What was in the Rosha manifest then?"
- wait 1
- chat "There is always something!"
}
else {
- chat "Go to Rosha and collect the <aqua>Trade<white> Export Manifest and bring it back."
}
}
else if <player.flag[JediLaw]> == "Seizure" {
- chat "Seizure."
}
else if <player.flag[JediLaw]> == "Gun" {
- if <player.inventory.contains[i@bedrock]> {
- chat "Well done, now we are finished."
- flag player "JediLaw:Finished"
}
else {
- chat "<aqua>Gun<white> Control."
}
}
else {
- chat "Would you like another book on Illegal <aqua>Trade<white>, <aqua>Gun<white> Control or the <aqua>Justice<white> System?"
}
}
else {
- chat "You must complete Languages and Science before studying Law."
}
}
else {
- chat "Hello. I <aqua>teach<white> Law at the Jedi Academy."
}
- disengage
damage trigger:
script:
- chat "You're going to attack a Jedi?"
chat trigger:
'teach':
trigger: 'Could you /teach/ me please?'
script:
- engage
- chat "There are three courses available here at the moment. <aqua>Gun<white> control, the <aqua>justice<white> system and illegal <aqua>trade<white>."
- if !<player.in_group[Padawan]> {
- chat "They are only available to Padawan learners though."
}
- disengage
'gun':
trigger: '/Gun/ Control'
script:
- engage
- chat "You will learn about gun control throughout the galaxy."
- scribe "Gun" give
- disengage
'justice':
trigger: '/Justice/ System'
script:
- engage
- chat "You will learn about the justice system."
- scribe "Justice" give
- disengage
'trade':
trigger: 'Illegal /Trade/'
script:
- engage
- chat "You will learn about the illegal trade routes."
- scribe "Trade" give
- disengage
'catch-all':
trigger: '/REGEX:\w+/'
script:
- engage
- if <player.flag[JediLaw]> == "Dispatched" {
- if <player.inventory.contains[i@KashyyykExportManifest]> {
- if <player.chat_history.as_int> == null {
- chat "I need just the quantity of Bowcasters exported from Kashyyk."
}
else {
- if <player.chat_history.as_int> == 320 {
- chat "That sounds about right. I can file that away then."
- wait 1
- take i@KashyyykExportManifest "qty:1"
- wait 1
- chat "Next is the Neimoidians turn to hand in their export logs."
- flag player "JediLaw:Audit"
}
else if <player.chat_history.as_int> < "320" {
- chat "That sounds a bit small, are you sure that's correct?"
}
else if <player.chat_history.as_int> > "320" {
- chat "That sounds a bit large, are you sure that's correct?"
}
}
}
else {
- chat "Where is the Kashyyyk Trade Export Manifest?"
}
}
else if <player.flag[JediLaw]> == "Audit" {
- if <player.inventory.contains[i@RoshaExportManifest]> {
- if <player.chat_history> == "growth samples" {
- chat "Growth Samples?"
- wait 1
- chat "What do the manufacturers of Battle Droids want with Growth Samples?"
}
else {
- chat "That's not an issue, anything else?"
}
}
else {
- chat "Where is the Rosha Trade Export Manifest?"
}
}
else {
- chat "I'm sorry. I don't know what you're talking about."
}
- disengage