############################## ## ## ## Luxray Token Shop ## ## by ## ## ~Peashooter101 ## ## ## ############################## ## Denizen Script Info: ## Scripted by Peashooter101 ## Scripted for the DragonPeas SMP Server ## Version: 1.0 (Initial Release) ## Dependencies: ## - Luxray Tokens (v1.0+) ############################## ############################## ## Luxray Token Shop Assignment (Citizens NPC Assignment) ############################## LTSAssignment: type: assignment interact scripts: - 10 LTSInteract ############################## ## Luxray Token Shop Interact (Citizens NPC Interact) ############################## LTSInteract: type: interact steps: 1: click trigger: script: - narrate "<<>luxray978<>> Haaaay, whatcha need?" - wait 1s - inventory open d:in@LTSMainGUI ############################## ## LT Shop Menus ############################## LTSMainGUI: type: inventory title: Luxray Tokens Main Menu size: 18 slots: - "[] [] [] [] [i@TotalLuxrayTokens] [] [] [] []" - "[i@LTSItemsMenuBtn] [i@LTSMoneyMenuBtn] [i@LTSCommandsMenuBtn] [] [] [] [] [] []" LTSItemsMenuGUI: type: inventory title: Luxray Tokens Items and Kits size: 18 slots: - "[] [] [] [] [i@TotalLuxrayTokens] [] [] [] [i@LTSMainMenuBtn]" - "[] [] [] [] [] [] [] [] []" LTSMoneyMenuGUI: type: inventory title: Luxray Tokens Money size: 18 slots: - "[] [] [] [] [i@TotalLuxrayTokens] [] [] [] [i@LTSMainMenuBtn]" - "[] [] [] [] [] [] [] [] []" LTSCommandsMenuGUI: type: inventory title: Luxray Tokens Commands size: 18 slots: - "[] [] [] [] [i@TotalLuxrayTokens] [] [] [] [i@LTSMainMenuBtn]" - "[] [] [] [] [] [] [] [] []" ############################## ## Menu GUI Handlers ############################## LTSCancelClickInGUIHandler: type: world events: on player clicks in LTSMainGUI: - determine cancelled on player drags in LTSMainGUI: - determine cancelled on player clicks in LTSItemsMenuGUI: - determine cancelled on player drags in LTSItemsMenuGUI: - determine on player clicks in LTSMoneyMenuGUI: - determine cancelled on player drags in LTSMoneyMenuGUI: - determine cancelled on player clicks in LTSCommandsMenuGUI: - determine cancelled on player drags in LTSCommandsMenuGUI: - determine cancelled on player clicks LTSMainMenuBtn in inventory: - determine passively cancelled - inventory open d:in@LTSMainGUI - determine passively cancelled - playsound sound:BLOCK_NOTE_PLING - determine cancelled on player clicks LTSItemsMenuBtn in inventory: - determine passively cancelled - inventory open d:in@LTSItemsMenuGUI - determine passively cancelled - playsound sound:BLOCK_NOTE_PLING - determine cancelled on player clicks LTSMoneyMenuBtn in inventory: - determine passively cancelled - inventory open d:in@LTSMoneyMenuGUI - determine passively cancelled - playsound sound:BLOCK_NOTE_PLING - determine cancelled on player clicks LTSCommandsMenuBtn in inventory: - determine passively cancelled - inventory open d:in@LTSCommandsMenuGUI - determine passively cancelled - playsound sound:BLOCK_NOTE_PLING - determine cancelled ############################## ## Menu Buttons ############################## TotalLuxrayTokens: type: item material: book_and_quill display name: Luxray Tokens lore: - Total: Luxray Tokens LTSMainMenuBtn: type: item material: wood_door display name: <-- Main Menu lore: - Alright buddy bois, we are goin' back. LTSItemsMenuBtn: type: item material: name_tag display name: Items and Kits lore: - I think this is kinda unfair... LTSMoneyMenuBtn: type: item material: gold_ingot display name: Money lore: - Why are you so poor?.. LTSCommandsMenuBtn: type: item material: command display name: Server Wide Commands lore: - Owner Power Abuse? I don't think so! :D ############################## ## Purchase Items ############################## ############################## ## Purchase Items Buttons ############################## ############################## ## Purchase Money ############################## ############################## ## Purchase Money Buttons ############################## ############################## ## Purchase Commands ############################## ############################## ## Purchase Commands Buttons ##############################