Jump to content

imthenewguy

Curator
  • Posts

    4,647
  • Joined

  • Last visited

  • Days Won

    57

Everything posted by imthenewguy

  1. 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; }
  2. Have you modified the .cs file at all? o.O haven't seen those errors appear before, especially since all of those variables are being used.
  3. So long as the {0} {1} {2} {3} etc remain, you can change the english words to whatever you want.
  4. The next update will have a lang entry for the back and forward buttons on the menu so you can edit them for your server.
  5. Ill work out a way to add support. Will need to be done via the plugin.
  6. 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.
  7. The command is /recyclers not /recycleurs
  8. its /recyclers
  9. imthenewguy

    Cooking

    Ya I have updated it on my end. Will be included in the next release.
  10. 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.
  11. Thanks mate. Just updating the main page with all of the info. I highly recommend deleting your config and lang.
  12. Next update will have whitelist and blacklist for extra pockets, as well as the option for it to not wipe
  13. Yeah it does. It is the same as deploying a small storage box.
  14. I recommend watching the second video on the front page. Not sure if I will introduce "upgrading" if EpicScrap exists, but there could be potential for it.
  15. 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.
  16. Think the train tunnels are higher than 1000 below the player, but could potentially be if they are flying lol.
  17. Not sure if that is something I will add. Will keep it in mind though
2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.5k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.