night_market_command: type: command name: nightmarket debug: false description: Night market item usage: /nightmarket script: - inventory open d:night_market night_market: type: inventory inventory: chest debug: false gui: true title: <&C><&l> NIGHT MARKET size: 27 slots: - [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] - [gb] [b] [b] [b] [gb] [b] [b] [b] [gb] - [rr] [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] night_market2: type: inventory inventory: chest debug: false gui: true title: <&C><&l> NIGHT MARKET size: 27 slots: - [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] - [gb] [b] [b] [b] [gb] [b] [b] [b] [gb] - [red] [gb] [gb] [gb] [gb] [gb] [gb] [gb] [gb] gb: type: item material: black_stained_glass_pane display name: <&c><&l> b: type: item material: i@turtle_egg display name: <&a><&l> SECRET lore: - "" - "<&7>ยป <&c><&l>CLICK TO REVEAL ITEM" - "" rr: type: item material: i@structure_void display name: <&a><&L>REROLL red: type: item material: barrier display name: <&C><&l>X night_market_l: type: world debug: false events: on player clicks gb in night_market: - determine cancelled on player clicks rr in night_market: - inventory open d:in@night_market2 on player clicks red in night_market2: - determine cancelled on player clicks b in night_market: - define random - playsound sound:ENTITY_TURTLE_LAY_EGG - inventory set <[random]> slot: - determine cancelled on player clicks b in night_market2: - playsound sound:ENTITY_TURTLE_LAY_EGG - determine cancelled