Paste #47183: Starter Pokemon Script

Date: 2018/04/12 23:39:22 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


pokemon:
    type: world
    debug: full
    events:
        on player right clicks entity:
        #- flag <context.entity> charmander:true
        - if <context.entity.has_flag[charmander]>:
            - if <player.has_flag[has_starter]>:
                - announce "You already have a starter Pokemon!"
            else:
                - execute as_server "pokegive <player> charmander"
                - flag <player> has_starter:true