-
Posts
4,647 -
Joined
-
Last visited
-
Days Won
57
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by imthenewguy
-
They are inbuilt loot tables. Dictionary<string, List<LootItems>> GetUnderwaterLoot() { Dictionary<string, List<LootItems>> result = new Dictionary<string, List<LootItems>>(); List<LootItems> items = new List<LootItems>(); foreach (var item in ItemManager.GetItemDefinitions().Where(x => x.category == ItemCategory.Component)) items.Add(new LootItems(item.shortname, 1, 3)); result.Add("assets/bundled/prefabs/radtown/crate_underwater_basic.prefab", items); result.Add("assets/bundled/prefabs/radtown/underwater_labs/crate_normal_2.prefab", items); result.Add("assets/bundled/prefabs/radtown/underwater_labs/crate_normal.prefab", items); foreach (var item in ItemManager.GetItemDefinitions().Where(x => x.category == ItemCategory.Electrical || x.category == ItemCategory.Weapon || x.category == ItemCategory.Attire)) { if (item.category == ItemCategory.Attire || item.category == ItemCategory.Weapon) items.Add(new LootItems(item.shortname, 1, 1)); else items.Add(new LootItems(item.shortname, 1, 3)); } result.Add("assets/bundled/prefabs/radtown/crate_underwater_advanced.prefab", items); result.Add("assets/bundled/prefabs/radtown/underwater_labs/crate_elite.prefab", items); return result; } crate_underwater_basic, underwater crate_normal_2 and underwater crate_normal all have the chance of giving players with the perk who open them (assuming they are the first to open the crate), any component. crate_underwater_advanced and crate_elite have the same components as the above, in addition to any electrical item, weapon item or attire item. The reason there is no config for this is due to the sheer size that it would add to the config, including all of these items. Shark loot simply includes all items in the game List<LootItems> GetSharkLoot() { List<LootItems> loot = new List<LootItems>(); foreach (var item in ItemManager.GetItemDefinitions()) loot.Add(new LootItems(item.shortname, 1, item.isWearable ? 1 : item.isHoldable ? 1 : UnityEngine.Random.Range(2, 5))); return loot; }
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 279 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
Have patched it for next release. Just waiting a short while before I upload to catch any other bugs that reveal themselves. I just tested using your config and I am getting the proper amount (see pic here). It could be another plugin that is using the OnCollectiblePickup hook and is returning a non-null value, or is modifying the item amount. My suggestion to test this would be to unload all plugins, reload ImageLibrary, then reload SkillTree and test. Crack horses, as I like to call them! Vehicle speed or turbos is something I definitely something I want to add. Nothing exists for it at the moment, only for horses and boats.
- 1,531 comments
-
- 3
-
-
-
- #leveling
- #progression
- (and 19 more)
-
- 93 comments
-
- 1
-
-
- #recycler
- #monetization
- (and 5 more)
-
- 1,531 comments
-
- 5
-
-
-
- #leveling
- #progression
- (and 19 more)
-
- 93 comments
-
- #recycler
- #monetization
- (and 5 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
Use the following chat command while in game: /addtestpermsnode This will add and save a test perms node to your config called "Test Perms node" under the "Cooking" tree. This will give you an example of how you can create your own permission based nodes. It is set to be disabled by default, so you won't see it in the tree unless you edit the config.
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 279 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
The current version has the ability to set the language option. Look for "LevelReward" and change it from "You received {0} {1} for reaching level {2}." to "You received {0} J-Dollars for reaching level {2}." Let me know if it doesn't work. I will look at adding a cap to the rested xp. Will probably get rid of the /xp command because its not required.
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 279 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
- 1,531 comments
-
- #leveling
- #progression
- (and 19 more)
