Paste #28372: Untitled Paste

Date: 2016/01/13 06:26:09 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


testachivs: 
  type: inventory
  title: " <&8>>> <&7>testbkakbkls"
  size: 9
  slots:
   - "[<proc[bla]>] [] [] [] [] [] [] [] []"

mycommand:
  type: world
  debug: true
  events:
   on myachivs command:
    - determine passively fulfilled
    - if <player.name> == _maatze {
     - inventory open d:in@testachivs
    } else {
     - inventory open d:in@testachivs
     - narrate "blabla"
    }
bla:
  type: procedure
  script:
   - if <player.name> == _maatze {
    - determine i@test
   } else {
    - determine i@test2
   }

test:
  type: item
  material: stone
  display name: " "
test2:
  type: item
  material: gravel
  display name: "test"