Aeromesi 180 Posted July 28, 2016 File Name: Deckster the Deck Guy NPC File Submitter: Aeromesi File Submitted: 28 Jul 2016 File Category: Events & Games So who exactly is Deckster the Deck Guy NPC? Well he's a simple guy with a simple love for what you say? Guessing what number he's thinking in his head. Simply setup the rewards, the minimum as well as the maximum input for the total amount of numbers you can guess. Configure whether or not the player must pay a fee in order to use the NPC, as well as the fee Item ID/Amount in order to use the NPC. Located in the OnInit: $DeckMin = 1; // Minium number to input at the guessing game. $DeckMax = 25; // Maximum number to input at the guessing game. .DeckRewardID = 501; // Reward Item ID .DeckRewardAM = 50; // Reward Item Amount // Default: On setarray $DeckRewardList[0],501,502,503,504,505,506,507,508,509,510; $DeckMaxItems = 10; // IMPORTANT: Edit this value in accordance to how many items you have in the array "$DeckRewardList". $EnableFee = 1; // 0 = Off || 1 = On ( This allows a fee everytime you want to take a shot at Deckster! ) $FeeID = 502; // ID for Item Fee $FeeAM = 5; // Amount of the Item used for the fee $EnableLuckyDay = 1; // 0 = Off || 1 = On ( This allows the user to have a second chance, kind of like your lucky day ! ) $LuckyDayRate = 10; // 10% Chance to trigger a Lucky day to you by Deckster $DeckSetup = 1; // WARNING: IGNORE THIS DO NOT EDIT Now the cool thing, when a GM accesses the NPC, or types the command `@deckedit` they will literally be able to control every aspect that is in the first time setup configuration in the OnInit. The new features: GM Menu (Through contact with NPC or command <script data-cfhash='f9e31' type="text/javascript">/* */</script>`! Able to control the Minium and Maximum numbers a player can bet on. Want it 50-100, or 1-100, 1-1000? it's your choice. Control The Item Fee ID/Amount as well as enabling/disabling the fee for the NPC Control the Random Item Reward ID's ( IMPORTANT! PLEASE NOTE: if you want to edit the list of items, edit the array $DeckRewardItems and then count all the items you made and set $DeckMaxItems to the max amount of items the array of your rewards hold. Control the % rate as well as enabling or disabling the Lucky Day ( Second Chance option) in-case you want the players to have another crack at guessing! Click here to download this file 3 maczekiel, MikZ and Legend reacted to this Quote Share this post Link to post Share on other sites
Aeromesi 180 Posted July 30, 2016 An update coming once I fully test everything.Here's something to look forward to this simple yet addictive gambling type NPC xD GM Menu (Able to edit everything inside the NPC, the Minimum and Maximum Range of numbers you can choose to guess, The Fee ID/Amount (if you enable the fee option, can disable and enable the fee option too!) and you can directly access the player menu to test things through the GM Menu). Randomized rewards, and you'll be able to modify the Rewards too for this NPC in the GM Menu. Quote Share this post Link to post Share on other sites
maxine02 2 Posted August 2, 2016 Thanks! I will try this Quote Share this post Link to post Share on other sites
Aeromesi 180 Posted August 2, 2016 Well hold your horses, because an update's on its way! Quote Share this post Link to post Share on other sites
maczekiel 1 Posted August 3, 2016 hi bro ^^ nice release ^^ Quote Share this post Link to post Share on other sites
MikZ 5 Posted August 7, 2016 Nice script.If you accept suggestion. I suggest to have option after guessing the number. mes "Wrong number buddy, you chose "+.@CardChoice+" while I chose "+.deck+"."; mes "Better luck next time, haha!"; switch (select("Guess Again","Leave")) { I tried to modify but i can't . LOLso players won't click the NPC again after guessing. thanks! Quote Share this post Link to post Share on other sites