Luck

$13.99

Sold by: Wrecks

Luck is a Fallout-inspired system that adds a dynamic luck mechanic to influence gameplay. This system tracks and adjusts a player’s luck based on in-game actions, such  as using the “Luck Item” you choose to customize or loss of luck on death..With this mechanic, players’ chances of finding valuable loot, triggering varying rarity of drops depending on your configuration.

Categories: , ,

Description

Works with Skill Tree

Skill Tree

 

Overview

  • Luck Tracking: The plugin tracks each player’s luck, which can increase with the luck item use or decrease based on death if config is set to do so.
  • Luck Items: Special items called “4 Leaf Clover” (Configurable) can be added to loot containers and collectables.
  • These items affect the player’s luck positively when used.
  • Loot Integration: Luck items can be configured to appear in various loot containers and collectable resources with specific probabilities.
  • Minimum Luck Needed to even trigger a luck event can be set.
  • Items loot table for loot containers or collectibles, can set a required min luck needed to even consider that item.
  • You can set whatever prefab path you need, to provide items to get very specific with your loot table.

OPTIONAL UI DEMO / IMAGE LIBRARY REQUIRED

UI Demo

COMMANDS

Command: /checkluck

Description: Allows a player to check their current luck level.
Command: /checkplayerluck

Description: Allows players with luck.admin perm to check a certain players luck
Command: /resetplayerluck

Description: Allows players with luck.admin perm to reset a certain players luck
Command: /giveluckitems

Description: Allows an admin player to give themselves luck items.
Command: /resetallluck

Description: Allows an admin player to reset all player luck data via chat.
Command: resetallluck

Description: Allows an admin to reset all player luck data via Rcon.

 

CONFIG

{

“UI Config”: { “Enable UI”: true, “Image URL”: “https://www.dropbox.com/scl/fi/764qkv3764vn7tdcfh6zt/Clover.png?rlkey=1bdv2vqpn3jz5uydzsmq1xstq&st=28693fdf&dl=1” },

“Luck Item Settings”: {
“Luck Item Name”: “4 Leaf Clover”,
“Luck Item SkinID”: 3304398064,
“Add Item To Containers?”: true,
“Chance to add to Containers? (0-1)”: 1,
“Add Item To Collectables?”: true,
“Chance to add to Collectables? (0-1)”: 0.1,
“Min Amount to Add?”: 1,
“Max to Add?”: 2,
“Eligible Loot Containers”: [
“assets/bundled/prefabs/radtown/crate_elite.prefab”,
“assets/prefabs/npc/patrol helicopter/heli_crate.prefab”
],
“Eligible Collectables”: [
“assets/bundled/prefabs/autospawn/collectable/stone/sulfur-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/metal-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/stone-collectable.prefab”
]
},
“Notification Settings”: {
“Enable Notification on Luck Triggered?”: true,
“Found Effect Path”: “assets/prefabs/misc/easter/painted eggs/effects/eggpickup.prefab”,
“Enable Notification on Luck Added?”: true,
“Luck Added Effect Path”: “assets/bundled/prefabs/fx/item_unlock.prefab”,
“Enable Notification on Luck Lost?”: true,
“Luck Lost Effect Path”: “assets/prefabs/weapons/toolgun/effects/repairerror.prefab”
},
“Luck Settings”: {
“Max Luck”: 100,
“Lose Luck On Death?”: true,
“Amount of Luck Lost On Death?”: 5,
“Amount of Luck Gained On Item Use?”: 2,

“Award SkillTree XP on Successful Luck Trigger?”: true,

“Amount of XP awarded on Successful Luck Trigger”: 50
},
“Luck Buff Settings”: {
“Min Amount of Luck needed to find extra items?”: 30,
“Min Amount of Extra Items Found in Containers?”: 1,
“Max Amount of Extra Items Found in Containers?”: 5,
“Min Amount of Extra Items Found on Ground during Collectable Pickup?”: 1,
“Max Amount of Extra Items Found on Ground during Collectable Pickup?”: 3
},
“Container Loot Tables”: [
{
“Items”: [
{
“Shortname”: “rifle.ak”,
“SkinID”: 0,
“Eligible Loot Containers”: [
“assets/bundled/prefabs/radtown/crate_elite.prefab”,
“assets/prefabs/npc/patrol helicopter/heli_crate.prefab”
],
“Eligible Collectables”: null,
“Min Luck Needed for this Item”: 30,
“Probability (0-1)”: 0.1,
“Custom Name”: “Lucky Ak”,
“Minimum Amount”: 1,
“Maximum Amount”: 2
},
{
“Shortname”: “ammo.rifle”,
“SkinID”: 0,
“Eligible Loot Containers”: [
“assets/bundled/prefabs/radtown/crate_elite.prefab”,
“assets/prefabs/npc/patrol helicopter/heli_crate.prefab”
],
“Eligible Collectables”: null,
“Min Luck Needed for this Item”: 30,
“Probability (0-1)”: 0.2,
“Custom Name”: “Lucky Ammo”,
“Minimum Amount”: 10,
“Maximum Amount”: 30
}
]
}
],
“Collectable Loot Tables”: [
{
“Items”: [
{
“Shortname”: “wood”,
“SkinID”: 0,
“Eligible Loot Containers”: null,
“Eligible Collectables”: [
“assets/bundled/prefabs/autospawn/collectable/stone/sulfur-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/metal-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/stone-collectable.prefab”
],
“Min Luck Needed for this Item”: 30,
“Probability (0-1)”: 0.1,
“Custom Name”: “”,
“Minimum Amount”: 50,
“Maximum Amount”: 100
},
{
“Shortname”: “stones”,
“SkinID”: 0,
“Eligible Loot Containers”: null,
“Eligible Collectables”: [
“assets/bundled/prefabs/autospawn/collectable/stone/sulfur-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/metal-collectable.prefab”,
“assets/bundled/prefabs/autospawn/collectable/stone/stone-collectable.prefab”
],
“Min Luck Needed for this Item”: 30,
“Probability (0-1)”: 0.1,
“Custom Name”: “”,
“Minimum Amount”: 20,
“Maximum Amount”: 50
}
]
}
]
}

LANG

{

“MAXLUCK”: “[<color=yellow>Luck</color>] You are at the maximum <color=yellow>Luck</color> cap of {0}.”,

“LUCKGAINED”: “[<color=yellow>Luck</color>] You have gained <color=yellow>{0}</color> <color=yellow>Luck</color> for a total of <color=yellow>{1}</color> <color=yellow>Luck</color>.”,

“LUCKLOST”: “[<color=yellow>Luck</color>] You have lost <color=yellow>{0}</color> <color=yellow>Luck</color> on death.”,

“CHECKLUCK”: “[<color=yellow>Luck</color>] Your total <color=yellow>Luck</color> is <color=yellow>{0}</color>.”

}

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.

Version 1.0.8 | Updated September 22, 2024
  • Updated Added Config option to set More "Luck Items" via Config. Be sure to Backup old Config, and Delete to Handle these changes.
Version 1.0.7 | Updated September 4, 2024
  • Updated UPDATE FOR 9/5 POOLING CHANGES DO NOT UPDATE BEFORE
Version 1.0.6 | Updated August 20, 2024
  • Updated Hook Change
Version 1.0.5 | Updated August 12, 2024
  • Added Options to Award SkillTree Xp on Successful luck Trigger.
Version 1.0.4 | Updated August 12, 2024
  • Added Optional Customizable UI PopUp on Successful luck Trigger.
  • Added CheckPlayerLuck Command to check total luck of a player.
  • Added ResetPlayerLuck Command to reset total luck of a player.
  • Added luck.admin permission to use commands.
Version 1.0.3 | Updated August 10, 2024
  • Updated Cooldown Patch
Version 1.0.2 | Updated August 9, 2024
  • Fixed Custom Name of Luck Item when Given
  • Updated Logic for handing out Luck Items to help build luck
Version 1.0.1 | Updated August 8, 2024
  • Added Added Option to Clear Luck Stat On Wipe

Discussions

There are no discussions yet.

Leave a reply

Your email address will not be published. Required fields are marked *

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product