Search the Community
Showing results for tags 'custom useable items'.
-
Version 1.0.3
19 downloads
Add some new Items to your server for your players to find, and take them on a trip on use REQUIRES IMAGE LIBRARY With this plugin, you can create as many "Drug Items" as you like. You aren't limited to my drug theme, you can create different drinks, medicine and more, Lang is also provided, for your customization needs. 5 base items are provided, Pills, Drink, Syringe, Smokeable, Edible. Each with their own respective base SFX on Use to match its theme. Each item has configurable metabolism effects, you can heal or damage on use, take calories or give, and much more, see config for more info. Each item has customizable in game effects, make the player shake, sway, scream, bleed, vomit upon item use. You can even add your own list and combine different effects as well as edit timing, to create your own curated effects. Each item has the ability to show custom images, maybe you want to make your player "Trip" and flash some Trippy image on screen. You can get as creative as you want, as you can add as many images as you want, you have control on transparency, fade in, stay, and fade out time to make the perfect experience for your players to enjoy. Items can spawn in specified containers, just add the prefab path you would like it to spawn in. To cancel that out, simply leave the prefab path as "". NOTE - WHILE IMAGES ARE SHOWING, OTHER DRUG USES ARE BLOCKED TO ALLOW IMAGE QUEUE TO HANDLE. THIS OVERRIDES COOLDOWN. BASE ITEM SHORTNAME IN CASE YOU WANT TO USE THEM OR CRAFT THEM FROM ANOTHER PLUGIN 1 - PILLS - ANTI RAD PILLS 2 - DRINK - BASIC SCRAP TEA 3 - SYRINGE - MEDICAL SYRINGE 4 - SMOKEABLES - SMALL LOOT BAG 5 - EDIBLE - MUSHROOM Command ADMIN - /GIVEDRUGS - SPAWNS ALL CUSTOM ITEMS INTO INVENTORY USEFUL FOR TESTING EFFECTS - REQUIRES DRUGS.ADMIN PERMISSION Demo Video videoplayback.mp4 (ALT LINK) Drugs Demonstration CONFIG { "The Dealer Integration": { "Enable Sales Via The Dealer? (The Dealer Plugin Is available Where you Purchased This Plugin)": true }, "Drugs": [ { "Base Item - 1 (Pills) - 2 (Drink) - 3 (Syringe) - 4 (Smokeables) - 5 (Edible) ": 1, "Item Name": "Hydros", "Skin ID": 3027373420, "Cooldown (Blocks Other Drug Uses)": 20, "Hydration Value (Negative Values Reduce)": -20, "Caloric Value (Negative Values Reduce)": -20, "Healing Value (Negative Values Reduce)": 20, "Temperature Value (Negative Values Reduce)": 0, "Radiation Value (Negative Values Reduce)": 0, "Minimum Amount To Spawn into a Container": 1, "Maximum Amount To Spawn into a Container": 3, "Chance out of 100% to Spawn into a Container (0 = 0% - 1 = 100%)": 0.2, "Container to Spawn this Item in": "assets/bundled/prefabs/radtown/crate_normal.prefab", "Custom Image Setup": [ { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 }, { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 } ], "Effects Setup": { "Enable Sway Effects": true, "Sway Effect Repeats": 3, "Time Between Sway Repeats": 1, "Time Before Sway Triggers": 2, "Enable Blood Effects": false, "Blood Effect Repeats": 3, "Time Between Blood Repeats": 2, "Time Before Blood Triggers": 1, "Enable Vomit Effects": false, "Vomit Effect Repeats": 1, "Time Between Vomit Repeats": 0, "Time Before Vomit Triggers": 3, "Enable Damage Effects": false, "Damage Effect Repeats": 2, "Time Between Damage Repeats": 2, "Time Before Damage Triggers": 0, "Enable Scream Effects": false, "Scream Effect Repeats": 2, "Time Between Scream Repeats": 3, "Time Before Scream Triggers": 4 }, "Custom Effects Setup": [ { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 2, "Time Between Custom Repeats": 3, "Time Before Custom Triggers": 5 }, { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 1, "Time Between Custom Repeats": 4, "Time Before Custom Triggers": 2 } ], "Marketable via The Dealer?": true, "Market Price": 100, "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": 0, "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 0 }, { "Base Item - 1 (Pills) - 2 (Drink) - 3 (Syringe) - 4 (Smokeables) - 5 (Edible) ": 2, "Item Name": "Codeine", "Skin ID": 3027539845, "Cooldown (Blocks Other Drug Uses)": 20, "Hydration Value (Negative Values Reduce)": 20, "Caloric Value (Negative Values Reduce)": 0, "Healing Value (Negative Values Reduce)": -20, "Temperature Value (Negative Values Reduce)": 0, "Radiation Value (Negative Values Reduce)": 0, "Minimum Amount To Spawn into a Container": 1, "Maximum Amount To Spawn into a Container": 2, "Chance out of 100% to Spawn into a Container (0 = 0% - 1 = 100%)": 0.1, "Container to Spawn this Item in": "assets/bundled/prefabs/radtown/crate_normal.prefab", "Custom Image Setup": [ { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 }, { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 } ], "Effects Setup": { "Enable Sway Effects": true, "Sway Effect Repeats": 3, "Time Between Sway Repeats": 1, "Time Before Sway Triggers": 2, "Enable Blood Effects": false, "Blood Effect Repeats": 3, "Time Between Blood Repeats": 2, "Time Before Blood Triggers": 1, "Enable Vomit Effects": false, "Vomit Effect Repeats": 1, "Time Between Vomit Repeats": 0, "Time Before Vomit Triggers": 3, "Enable Damage Effects": false, "Damage Effect Repeats": 2, "Time Between Damage Repeats": 2, "Time Before Damage Triggers": 0, "Enable Scream Effects": false, "Scream Effect Repeats": 2, "Time Between Scream Repeats": 3, "Time Before Scream Triggers": 4 }, "Custom Effects Setup": [ { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 2, "Time Between Custom Repeats": 3, "Time Before Custom Triggers": 5 }, { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 1, "Time Between Custom Repeats": 4, "Time Before Custom Triggers": 2 } ], "Marketable via The Dealer?": false, "Market Price": 0, "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": 0, "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 0 }, { "Base Item - 1 (Pills) - 2 (Drink) - 3 (Syringe) - 4 (Smokeables) - 5 (Edible) ": 3, "Item Name": "Heroin", "Skin ID": 3027374283, "Cooldown (Blocks Other Drug Uses)": 20, "Hydration Value (Negative Values Reduce)": -20, "Caloric Value (Negative Values Reduce)": 0, "Healing Value (Negative Values Reduce)": -40, "Temperature Value (Negative Values Reduce)": 20, "Radiation Value (Negative Values Reduce)": 0, "Minimum Amount To Spawn into a Container": 1, "Maximum Amount To Spawn into a Container": 2, "Chance out of 100% to Spawn into a Container (0 = 0% - 1 = 100%)": 0.3, "Container to Spawn this Item in": "assets/bundled/prefabs/radtown/crate_normal.prefab", "Custom Image Setup": [ { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 }, { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 } ], "Effects Setup": { "Enable Sway Effects": false, "Sway Effect Repeats": 3, "Time Between Sway Repeats": 1, "Time Before Sway Triggers": 2, "Enable Blood Effects": true, "Blood Effect Repeats": 3, "Time Between Blood Repeats": 2, "Time Before Blood Triggers": 1, "Enable Vomit Effects": false, "Vomit Effect Repeats": 1, "Time Between Vomit Repeats": 0, "Time Before Vomit Triggers": 3, "Enable Damage Effects": true, "Damage Effect Repeats": 2, "Time Between Damage Repeats": 2, "Time Before Damage Triggers": 0, "Enable Scream Effects": false, "Scream Effect Repeats": 2, "Time Between Scream Repeats": 3, "Time Before Scream Triggers": 4 }, "Custom Effects Setup": [ { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 2, "Time Between Custom Repeats": 3, "Time Before Custom Triggers": 5 }, { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 1, "Time Between Custom Repeats": 4, "Time Before Custom Triggers": 2 } ], "Marketable via The Dealer?": false, "Market Price": 0, "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": 0, "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 0 }, { "Base Item - 1 (Pills) - 2 (Drink) - 3 (Syringe) - 4 (Smokeables) - 5 (Edible) ": 4, "Item Name": "Bong Hit", "Skin ID": 3386543743, "Cooldown (Blocks Other Drug Uses)": 20, "Hydration Value (Negative Values Reduce)": 0, "Caloric Value (Negative Values Reduce)": -100, "Healing Value (Negative Values Reduce)": 30, "Temperature Value (Negative Values Reduce)": 0, "Radiation Value (Negative Values Reduce)": 0, "Minimum Amount To Spawn into a Container": 1, "Maximum Amount To Spawn into a Container": 2, "Chance out of 100% to Spawn into a Container (0 = 0% - 1 = 100%)": 0.5, "Container to Spawn this Item in": "assets/bundled/prefabs/radtown/crate_normal.prefab", "Custom Image Setup": [ { "Enable Custom Images": true, "Custom Image Path": "https://www.dropbox.com/scl/fi/6qmq7h815yhjx38xqn8g8/dec1.png?rlkey=3rhgv2e6n00y2dvgiw4fjfsrd&st=s3ar804p&dl=1", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 10, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 10 }, { "Enable Custom Images": true, "Custom Image Path": "https://www.dropbox.com/scl/fi/55ub2riuq31s3ap1kv75v/dec2.png?rlkey=h8uc974hqclz1gburbq5gdb1q&st=b8sp2tc2&dl=1", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 10, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 10 } ], "Effects Setup": { "Enable Sway Effects": true, "Sway Effect Repeats": 3, "Time Between Sway Repeats": 1, "Time Before Sway Triggers": 2, "Enable Blood Effects": false, "Blood Effect Repeats": 3, "Time Between Blood Repeats": 2, "Time Before Blood Triggers": 1, "Enable Vomit Effects": false, "Vomit Effect Repeats": 1, "Time Between Vomit Repeats": 0, "Time Before Vomit Triggers": 3, "Enable Damage Effects": false, "Damage Effect Repeats": 2, "Time Between Damage Repeats": 2, "Time Before Damage Triggers": 0, "Enable Scream Effects": false, "Scream Effect Repeats": 2, "Time Between Scream Repeats": 3, "Time Before Scream Triggers": 4 }, "Custom Effects Setup": [ { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 2, "Time Between Custom Repeats": 3, "Time Before Custom Triggers": 5 }, { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 1, "Time Between Custom Repeats": 4, "Time Before Custom Triggers": 2 } ], "Marketable via The Dealer?": false, "Market Price": 0, "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": 0, "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 0 }, { "Base Item - 1 (Pills) - 2 (Drink) - 3 (Syringe) - 4 (Smokeables) - 5 (Edible) ": 5, "Item Name": "LSD", "Skin ID": 3027375222, "Cooldown (Blocks Other Drug Uses)": 20, "Hydration Value (Negative Values Reduce)": -30, "Caloric Value (Negative Values Reduce)": 0, "Healing Value (Negative Values Reduce)": 25, "Temperature Value (Negative Values Reduce)": 0, "Radiation Value (Negative Values Reduce)": 0, "Minimum Amount To Spawn into a Container": 1, "Maximum Amount To Spawn into a Container": 2, "Chance out of 100% to Spawn into a Container (0 = 0% - 1 = 100%)": 0.5, "Container to Spawn this Item in": "assets/bundled/prefabs/radtown/crate_normal.prefab", "Custom Image Setup": [ { "Enable Custom Images": true, "Custom Image Path": "https://www.dropbox.com/scl/fi/aem7f55mlz4fa9khwjdu4/deb8.png?rlkey=zmnklt38ils1tycxqq9h2ix7j&st=dv6fgive&dl=1", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 10, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 10 }, { "Enable Custom Images": false, "Custom Image Path": "", "Custom Image Alpha": "1", "Time for Custom Image to Fade In": 1, "Time for Custom Image to Stay": 1, "Time Before Custom Image to FadeOut": 3 } ], "Effects Setup": { "Enable Sway Effects": true, "Sway Effect Repeats": 3, "Time Between Sway Repeats": 1, "Time Before Sway Triggers": 2, "Enable Blood Effects": false, "Blood Effect Repeats": 3, "Time Between Blood Repeats": 2, "Time Before Blood Triggers": 1, "Enable Vomit Effects": false, "Vomit Effect Repeats": 1, "Time Between Vomit Repeats": 0, "Time Before Vomit Triggers": 3, "Enable Damage Effects": false, "Damage Effect Repeats": 2, "Time Between Damage Repeats": 2, "Time Before Damage Triggers": 0, "Enable Scream Effects": true, "Scream Effect Repeats": 2, "Time Between Scream Repeats": 3, "Time Before Scream Triggers": 4 }, "Custom Effects Setup": [ { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 2, "Time Between Custom Repeats": 3, "Time Before Custom Triggers": 5 }, { "Enable Custom Effect": false, "Custom Effect Path": "", "Custom Effect Repeats": 1, "Time Between Custom Repeats": 4, "Time Before Custom Triggers": 2 } ], "Marketable via The Dealer?": false, "Market Price": 0, "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": 0, "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 0 } ] } Lang { "Overdose": "[<color=red>DRUGS</color>] Don't Overdose...", "Trip": "[<color=red>DRUGS</color>] You are still Tripping out...", "Trippy": "[<color=red>DRUGS</color>] That was Trippy..." } ATTRIBUTION vecteezy(.)com/free-vector/cannabis-leaf vecteezy(.)com/video/42542591-4k-smoke-motion-background-white-smoke-on-black-background vecteezy(.)com/png/21103956-realistic-smoke-effect$20.00- 6 comments
- 1 review
-
- 3