Paste #22983: Untitled Paste

Date: 2015/11/24 12:44:33 UTC-08: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


- repeat <player.inventory.size> {
                    - if <player.inventory.slot[%value%].material> == i@air {
                        - flag player lcount:++
                        }
                    }
                - if <player.flag[lcount]> > 5 {
                    - narrate "The Grand Master has given you<&co> A basic Wand and a bookshelf"
                    - give 4510 qty:1
                    - give 47 qty:1
                    - wait 2
                    - narrate "The Grand Master has given you<&co> Thaumometer materials"
                    - give 20 qty:1
                    - give 266 qty:2
                    - flag player LoreStage:4
                    - flag player lcount:!
                    - flag player busy:!
                    } else {
                    - chat "YOU HAVE NO INVENTORY U IDIOT"
                    - ^flag player busy:!
                    - flag player lcount:!
                    }