Paste #30205: Untitled Paste

Date: 2016/02/12 08:58:51 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


InventoryScript:
  type: inventory
  procedural items:
  - define random <util.random.int[1].to[20]>
  - define randomEnd <util.random.int[21].to[40]>
  - determine <server.list_materials.get[<def[random]>].to[<def[randomEnd]>].parse[as_item].include[<def[testdef]>]>
  definitions:
    testdef: "i@snow_ball[lore=Hello, friend]"