Paste #21643: Untitled Paste

Date: 2015/10/26 04:08:12 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772


JerryStore:
 type: assignment
 actions:
  - trigger name:click state:true
 on assignment:
  - trigger name:proximity state:true radius:3
  - trigger name:chat state:true
  - trigger name:click state:true
 interact scripts:
 - 1 JerryStore_interact
npc:
 type: format
 format: "<&8>[<&a>NPC<&8>]<&f><npc.name><&4>[<&lt>3]<&7>: <text>"
JerryStore_interact:
 type: interact
 steps:
   1:
    proximity trigger:
     entry:
      script:
      - narrate format:npc "Welcome to Jerry's foodstore where we combat anorexia daily! Right-click me for wonderful information about food!"
     exit:
      script:
      - random {
       - narrate format:npc "If you get hungry you know where to find me!"
       - narrate format:npc "COPS COPS HE STOLE MY PRECIOUS FOODS!!!"
       - narrate format:npc "Next time you sleep, I'm putting this carrot somewhere special, just for you.."
       - narrate format:npc "Thanks for coming in! Hope you have a great day!"
       - narrate format:npc "Be sure to check out Bob's Armor+ for all your durability needs!"
       - narrate format:npc "I can smell the cakes from barbras already!"
       }
    click trigger:
     script:
      - narrate format:npc "<&6>Remember: if you already know what you want type !y(amount=1,10)itemyouwant(s=fullstack)<&7> What type of food do you want? [Type !meat, !fruit, !veggies]"
    chat trigger:
     1:
      trigger: /!meat/
      script:
      - narrate format:npc "Which type of meat? [!steak , !chicken, !rabbit, !mutton, !pork]"
     2:
      trigger: /!steak/
      script:
      - narrate format:npc "Steaks are 5 Salt apiece, how many? [type !1steak, !10steak, !steaks (full stack)]"
     3:
      trigger: /!1steak/
      script:
      - narrate format:npc "That will be 5 Salt, is that okay? [Type !y1steak, !n1steak]"
     4:
      trigger: /!y1steak/
      script:
      - if <player.money> >= 5 {
       - give i@cooked_beef 
       - execute as_op "bank deposit nationalsaltbank 5"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 5 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     5:
      trigger: /!n1steak/
      script:
      - narrate format:npc "What type of food do you want? [Type !meat, !fruit, !seafood, !veggies]"
     6:
      trigger: /!10steak/
      script:
      - narrate format:npc "That will be 50 Salt, is that okay? [Type !y10steak, !n10steak]"
     7:
      trigger: /!y10steak/
      script:
      - if <player.money> >= 50 {
       - give i@cooked_beef quantity:10
       - execute as_op "bank deposit nationalsaltbank 50"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 50 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     8:
      trigger: /!n10steak/
      script:
      - narrate format:npc "How many? [type !1steak, !10steak, !steaks (full stack)]"
     9:
      trigger: /!steaks/
      script:
      - narrate format:npc "That will be 320 Salt, is that okay? [Type !ysteaks, !nsteaks]"
     10:
      trigger: /!ysteaks/
      script:
      - if <player.money> >= 320 {
       - give i@cooked_beef quantity:64
       - execute as_op "bank deposit nationalsaltbank 320"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 320 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     11:
      trigger: /!nsteaks/
      script:
      - narrate format:npc "How many? [type !1steak, !10steak, !steaks (full stack)]"
     12:
      trigger: /!chicken/
      script:
      - narrate format:npc "Chickens are 2 Salt apiece, how many? [type !1chicken, !10chicken, !chickens (full stack)]"
     13:
      trigger: /!1chicken/
      script:
      - narrate format:npc "That will be 2 Salt, is that okay? [Type !y1chicken, !n1chicken]"
     14:
      trigger: /!y1chicken/
      script:
      - if <player.money> >= 2 {
       - give i@cooked_chicken
       - execute as_op "bank deposit nationalsaltbank 2"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 2 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     15:
      trigger: /!n1chicken/
      script:
      - narrate format:npc "How many? [type !1chicken, !10chicken, !chickens (full stack)]"
     16:
      trigger: /!10chicken/
      script:
      - narrate format:npc "That will be 20 Salt, is that okay? [Type !y1chicken, !n1chicken]"
     17:
      trigger: /!y10chicken/
      script:
      - if <player.money> >= 20 {
       - give i@cooked_chicken quantity:10
       - execute as_op "bank deposit nationalsaltbank 20"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 20 Salt, you only have..."
       - execute as_op "money balance <player.name>"
      }
     18:
      trigger: /!n10chicken/
      script:
      - narrate format:npc "How many? [type !1chicken, !10chicken, !chickens (full stack)]"
     19:
      trigger: /!chickens/
      script:
      - narrate format:npc "That will be 128 Salt, is that okay? [Type !ychickens, !nchickens]"
     20:
      trigger: /!ychickens/
      script:
      - if <player.money> >= 128 {
       - give i@cooked_chicken quantity:64
       - execute as_op "bank deposit nationalsaltbank 128"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 20 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     21:
      trigger: /!rabbit/
      script:
      - narrate format:npc "Rabbit is 3 Salt, how many? [type !1rabbit, !10rabbit, !rabbits (full stack)]"
     22:
      trigger: /!1rabbit/
      script:
      - narrate format:npc "That will be 3 Salt, is that okay? [Type !y1rabbit, !n1rabbit]"
     23:
      trigger: /!y1rabbit/
      script:
      - if <player.money> >= 3 {
       - give i@cooked_rabbit
       - execute as_op "bank deposit nationalsaltbank 3"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 3 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     24:
      trigger: /!n1rabbit/
      script:
      - narrate format:npc "How many? [type !1rabbit, !10rabbit, !rabbits (full stack)]"
     25:
      trigger: /!10rabbit/
      script:
      - narrate format:npc "That will be 30 Salt, is that okay? [Type !y10rabbit, !n10rabbit]"
     26:
      trigger: /!y10rabbit/
      script:
      script:
      - if <player.money> >= 30 {
       - give i@cooked_rabbit quantity:10
       - execute as_op "bank deposit nationalsaltbank 30"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 30 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     27:
      trigger: /!n10rabbit/
      script:
      - narrate format:npc "How many? [type !1rabbit, !10rabbit, !rabbits (full stack)]"
     28:
      trigger: /!rabbits/
      script:
      - narrate format:npc "That will be 192 Salt, is that okay? [Type !yrabbits, !nrabbits]"
     29:
      trigger: /!yrabbits/
      script:
      - if <player.money> >= 192 {
       - give i@cooked_rabbit quantity:64
       - execute as_op "bank deposit nationalsaltbank 192"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 192 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     30:
      trigger: /!nrabbits/
      script:
      - narrate format:npc "How many? [type !1rabbit, !10rabbit, !rabbits (full stack)]"
     31:
      trigger: /!mutton/
      script:
      - narrate format:npc "Mutton is 4 Salt, how many? [type !1mutton, !10mutton, !muttons (full stack)]"
     32:
      trigger: /!1mutton/
      script:
      - narrate format:npc "That will be 4 Salt, is that okay? [Type !y1mutton, !n1mutton]"
     33:
      trigger: /!y1mutton/
      script:
      - if <player.money> >= 4 {
       - give i@cooked_mutton
       - execute as_op "bank deposit nationalsaltbank 4"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 4 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     34:
      trigger: /!n1mutton/
      script:
      - narrate format:npc "How many? [type !1mutton, !10mutton, !muttons (full stack)]"
     35:
      trigger: /!10mutton/
      script:
      - narrate format:npc "That will be 40 Salt, is that okay? [Type !y1mutton, !n1mutton]"
     36:
      trigger: /!y10mutton/
      script:
      - if <player.money> >= 40 {
       - give i@cooked_mutton quantity:10
       - execute as_op "bank deposit nationalsaltbank 40"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 40 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     37:
      trigger: /!n10mutton/
      script:
      - narrate format:npc "How many? [type !1mutton, !10mutton, !muttons (full stack)]"
     38:
      trigger: /!muttons/
      script:
      - narrate format:npc "That will be 40 Salt, is that okay? [Type !ymuttons, !nmuttons]"
     39:
      trigger: /!ymuttons/
      script:
      - if <player.money> >= 256 {
       - give i@cooked_mutton quantity:64
       - execute as_op "bank deposit nationalsaltbank 256"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 256 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     40:
      trigger: /!nmuttons/
      script:
      - narrate format:npc "How many? [type !1mutton, !10mutton, !muttons (full stack)]"
     41:
      trigger: /!pork/
      script:
      - narrate format:npc "Pork is 3 Salt, how many? [type !1pork, !10pork, !porks (full stack)]"
     42:
      trigger: /!1pork/
      script:
      - narrate format:npc "That will be 3 Salt, is that okay? [Type !y1pork, !n1pork]"
     43:
      trigger: /!y1pork/
      script:
      - if <player.money> >= 3 {
       - give i@cooked_pork
       - execute as_op "bank deposit nationalsaltbank 3"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 3 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     44:
      trigger: /!n1pork/
      script:
      - narrate format:npc "How many? [type !1pork, !10pork, !porks (full stack)]"
     45:
      trigger: /!10pork/
      script:
      - narrate format:npc "That will be 30 Salt, is that okay? [Type !y10pork, !n10pork]"
     46:
      trigger: /!y10pork/
      script:
      - if <player.money> >= 30 {
       - give i@cooked_pork quantity:10
       - execute as_op "bank deposit nationalsaltbank 30"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 30 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     47:
      trigger: /!n10pork/
      script:
      - narrate format:npc "How many? [type !1pork, !10pork, !porks (full stack)]"
     48:
      trigger: /!porks/
      script:
      - narrate format:npc "That will be 192 Salt, is that okay? [Type !yporks, !nporks]"
     49:
      trigger: /!yporks/
      script:
      - if <player.money> >= 192 {
       - give i@cooked_pork quantity:64
       - execute as_op "bank deposit nationalsaltbank 192"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 192 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     50:
      trigger: /!nporks/
      script:
      - narrate format:npc "How many? [type !1pork, !10pork, !porks (full stack)]"
     51:
      trigger: /!fruit/
      script:
      - narrate format:npc "Which fruit would you like? [Type !apple, !gapple(golden apple), !egapple(enchanted golden apple), !melon]"
     52:
      trigger: /!apple/
      script:
      - narrate format:npc "Apples are 1 Salt Apiece, how many? [Type !1apple, !10apple, !apples]
     53:
      trigger: /!1apple/
      script:
      - narrate format:npc "That will be 1 Salt, is that okay? [Type !y1apple, !n1apple]"
     54:
      trigger: /!y1apple/
      script:
      - if <player.money> >= 1 {
       - give i@apple 
       - execute as_op "bank deposit nationalsaltbank 1"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have a Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     55:
      trigger: /!n1apple/
      script:
      - narrate format:npc "How many? [Type !1apple, !10apple, !apples]"
     56:
      trigger: /!10apple/
      script:
      - narrate format:npc "That will be 1 Salt, is that okay? [Type !y10apple, !n10apple]"
     57:
      trigger: /!y10apple/
      script:
      - if <player.money> >= 10 {
       - give i@apple quantity:10
       - execute as_op "bank deposit nationalsaltbank 10"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 10 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     58:
      trigger: /!n10apple/
      script:
      - narrate format:npc "How many? [Type !1apple, !10apple, !apples]"
     58:
      trigger: /!apples/
      script:
      - narrate format:npc "That will be 64 Salt, is that okay? [Type !yapples, !napples]"
     59:
      trigger: /!yapples/
      script:
      - if <player.money> >= 64 {
       - give i@apple quantity:64
       - execute as_op "bank deposit nationalsaltbank 64"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 64 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     60:
      trigger: /!gapple/
      script:
      - narrate format:npc "Golden Apples are 15 Salt Apiece, how many? [Type !1apple, !10apple, !apples]"
     61:
      trigger: /!1gapple/
      script:
      - narrate format:npc "That will be 15 Salt, is that okay? [Type !y1gapple, !n1gapple]"
     62:
      trigger: /!y1gapple/
      script:
      - if <player.money> >= 15 {
       - give i@golden_apple quantity:1
       - execute as_op "bank deposit nationalsaltbank 15"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 15 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     63:
      trigger: /!n1gapple/
      script:
      - narrate format:npc "how many? [Type !1gapple, !10gapple, !gapples]"
     64:
      trigger: /!10gapple/
      script:
      - narrate format:npc "That will be 150 Salt, is that okay? [Type !y10gapple, !n10gapple]"
     65:
      trigger: /!y10gapple/
      script:
      - if <player.money> >= 150 {
       - give i@golden_apple quantity:10
       - execute as_op "bank deposit nationalsaltbank 150"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 150 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     66:
      trigger: /!n10gapple/
      script:
      - narrate format:npc "how many? [Type !1gapple, !10gapple, !gapples]"
     67:
      trigger: /!gapples/
      script:
      - narrate format:npc "That will be 960 Salt, is that okay? [Type !y10gapple, !n10gapple]"
     68:
      trigger: /!ygapples/
      script:
      - if <player.money> >= 150 {
       - give i@golden_apple quantity:10
       - execute as_op "bank deposit nationalsaltbank 150"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 150 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     69:
      trigger: /!ngapples/
      script:
      - narrate format:npc "how many? [Type !1gapple, !10gapple, !gapples]"
     70:
      trigger: /!egapples/
      script:
      - narrate format:npc "Enchanted Golden Apples are 2,000 Salt Apiece, how many? [Type !1egapple, !10egapple, !egapples]"
     71:
      trigger: /!1egapple/
      script:
      - narrate format:npc "That will be 2,000 Salt, is that okay? [Type !y1egapple, !n1egapple]"
     72:
      trigger: /!y1egapple/
      script:
      - if <player.money> >= 2000 {
       - give i@322:1
       - execute as_op "bank deposit nationalsaltbank 2000"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 2,000 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     73:
      trigger: /!n1egapple/
      script:
      - narrate format:npc "how many? [Type !1egapple, !10egapple, !egapples]"
     74:
      trigger: /!10egapple/
      script:
      - narrate format:npc "That will be 20,000 Salt, is that okay? [Type !y10egapple, !n10egapple]"
     75:
      trigger: /!y10egapple/
      script:
      - if <player.money> >= 20000 {
       - give i@322:1 quantity:10
       - execute as_op "bank deposit nationalsaltbank 20000"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 20,000 Salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     76:
      trigger: /!n10egapple/
      script:
      - narrate format:npc "how many? [Type !1egapple, !10egapple, !egapples]"
     77:
      trigger: /!egapples/
      script:
      - narrate format:npc "That will be 128,000 Salt, is that okay? [Type !yegapples, !negapples]"
     78:
      trigger: /!yegapples/
      script:
      - if <player.money> >= 128000 {
       - give i@322:1 quantity:64
       - execute as_op "bank deposit nationalsaltbank 128000"
       }
       else {
       - narrate format:npc "No one ever has 128,000 Salt, don't get my hopes up like that.. you only have..."
       - execute as_op "money balance <player.name>"
       }
     79:
      trigger: /!negapples/
      script:
      - narrate format:npc "how many? [Type !1egapple, !10egapple, !egapples]"
     80:
      trigger: /!melon/
      script:
      - narrate format:npc "Melons are 6 Salt Apiece, how many? [Type !1melon, !10melon, !melons]"
     81:
      trigger: /!1melon/
      script:
      - narrate format:npc "That will be 6 Salt, is that okay? [Type !y1melon, !n1melon]"
     82:
      trigger: /!y1melon/
      script:
      - if <player.money> >= 6 {
       - give i@melon
       - execute as_op "bank deposit nationalsaltbank 6"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 6 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     83:
      trigger: /!n1melon/
      script:
      - narrate format:npc "how many? [Type !1melon, !10melon, !melons]"
     84:
      trigger: /!10melon/
      script:
      - narrate format:npc "That will be 6 Salt, is that okay? [Type !y10melon, !n10melon]"
     85:
      trigger: /!y10melon/
      script:
      - if <player.money> >= 60 {
       - give i@melon quantity:10
       - execute as_op "bank deposit nationalsaltbank 60"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 60 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     86:
      trigger: /!n10melon/
      script:
      - narrate format:npc "how many? [Type !1melon, !10melon, !melons]"
     87:
      trigger: /!melons/
      script:
      - narrate format: "That will be 6 Salt, is that okay? [Type !ymelons, !nmelons]"
     88:
      trigger: /!ymelons/
      script:
      - if <player.money> >= 384 {
       - give i@melon quantity:64
       - execute as_op "bank deposit nationalsaltbank 384"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 384 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     89:
      trigger: /!nmelons/
      script:
      - narrate format:npc "how many? [Type !1melon, !10melon, !melons]"
     90:
      trigger: /!veggies/
      script:
      - narrate format:npc "Which veggie would you like? [Type !potato, !bpotato (baked potato), !carrot"
     91:
      trigger: /!potato/
      script:
      - narrate format:npc "Potatoes are 1 Salt Apiece, how many? [Type !1potato, !10potato, !potatos]"
     92:
      trigger: /!1potato/
      script:
      - narrate format:npc "That will be 1 Salt, is that okay? [Type !y1potato, !n1potato]"
     93:
      trigger: /!y1potato/
      script:
      - if <player.money> >= 1 {
       - give i@melon
       - execute as_op "bank deposit nationalsaltbank 1"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 1 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     94:
      trigger: /!n1potato/
      script:
      - narrate format:npc "how many? [Type !1potato, !10potato, !potatos]"
     95:
      trigger: /!10potato/
      script:
      - narrate format:npc "That will be 10 Salt, is that okay? [Type !y10potato, !n10potato]"
     96:
      trigger: /!y10potato/
      script:
      - if <player.money> >= 10 {
       - give i@melon qunatity:10
       - execute as_op "bank deposit nationalsaltbank 10"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 10 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     97:
      trigger: /!n10potato/
      script:
      - narrate format:npc "how many? [Type !1potato, !10potato, !potatos]"
     98:
      trigger: /!potatos/
      script:
      - narrate format:npc "That will be 64 Salt, is that okay? [Type !ypotatos, !npotatos]"
     99:
      trigger: /!ypotato/
      script:
      - if <player.money> >= 64 {
       - give i@melon qunatity:64
       - execute as_op "bank deposit nationalsaltbank 64"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 64 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     100:
      trigger: /!npotato/
      script:
      - narrate format:npc "how many? [Type !1potato, !10potato, !potatos]"
     101:
      trigger: /!bpotato/
      script:
      - narrate format:npc "Baked Potatoes are 3 Salt Apiece, how many? [Type !1bpotato, !10bpotato, !bpotatos]"
     102:
      trigger: /!1bpotato/
      script:
      - narrate format:npc "That will be 3 Salt, is that okay? [Type !y1bpotato, !n1bpotato]"
     103:
      trigger: /!y1bpotato/
      script:
      - if <player.money> >= 3 {
       - give i@baked_potato
       - execute as_op "bank deposit nationalsaltbank 3"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 3 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     104:
      trigger: /!n1bpotato/
      script:
      - narrate format:npc "how many? [Type !1bpotato, !10bpotato, !bpotatos]"
     105:
      trigger: /!10bpotato/
      script:
      - narrate format:npc "That will be 30 Salt, is that okay? [Type !y10bpotato, !n10bpotato]"
     106:
      trigger: /!y10bpotato/
      script:
      - if <player.money> >= 30 {
       - give i@melon qunatity:10
       - execute as_op "bank deposit nationalsaltbank 30"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 30 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     107:
      trigger: /!n10bpotato/
      script:
      - narrate format:npc "how many? [Type !1bpotato, !10bpotato, !bpotatos]"
     108:
      trigger: /!bpotatos/
      script:
      - narrate format:npc "That will be 192 Salt, is that okay? [Type !ybpotatos, !nbpotatos]"
     109:
      trigger: /!ybpotato/
      script:
      - if <player.money> >= 192 {
       - give i@melon qunatity:64
       - execute as_op "bank deposit nationalsaltbank 192"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 192 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     110:
      trigger: /!nbpotato/
      script:
      - narrate format:npc "how many? [Type !1bpotato, !10bpotato, !bpotatos]"
     111:
      trigger: /!carrot/
      script:
      - narrate format:npc "Carrots are 2 Salt Apiece, how many? [Type !1carrot, !10carrot, !carrots]"
     112:
      trigger: /!1carrot/
      script:
      - narrate format:npc "That will be 2 Salt, is that okay? [Type !y1carrot, !n1carrot]"
     113:
      trigger: /!y1carrot/
      script:
      - if <player.money> >= 2 {
       - give i@melon qunatity:1
       - execute as_op "bank deposit nationalsaltbank 2"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 2 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     114:
      trigger: /!n1carrot/
      script:
      - narrate format:npc "how many? [Type !1carrot, !10carrot, !carrots]"
     115:
      trigger: /!10carrot/
      script:
      - narrate format:npc "That will be 20 Salt, is that okay? [Type !y10carrot, !n10carrot]"
     116:
      trigger: /!y10carrot/
      script:
      - if <player.money> >= 20 {
       - give i@melon qunatity:10
       - execute as_op "bank deposit nationalsaltbank 20"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 20 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     117:
      trigger: /!n10carrot/
      script:
      - narrate format:npc "how many? [Type !1carrot, !10carrot, !carrots]"
     118:
      trigger: /!carrots/
      script:
      - narrate format:npc "That will be 128 Salt, is that okay? [Type !ycarrots, !ncarrots]"
     119:
      trigger: /!ycarrots/
      script:
      - if <player.money> >= 128 {
       - give i@melon qunatity:64
       - execute as_op "bank deposit nationalsaltbank 128"
       }
       else {
       - narrate format:npc "Don't try to fool me, you don't have 128 salt, you only have..."
       - execute as_op "money balance <player.name>"
       }
     120:
      trigger: /!ncarrots/
      script:
      - narrate format:npc "how many? [Type !1carrot, !10carrot, !carrots]"