Bears and Wolves drop loot and have a static health and strength profile (random HP/Str)

Supported Games

The start of the return of RadAnimals dropping a backpack of loot.

Features

  • Wolf & Bears drop a backpack upon death with a % chance on drop (Just like in LegacyRust)
  • Health and Strength wil be randomised using min/max values.
  • Set Bear and Wolf Profiles (Health ,Strength ,Running speed and backpack droprate)
  • With option to print the spawns to console showing HP and Strength

Permissions

  • radtownloot.use -- To give permission to have Bear & Wolf drop a backpack upon death with loot
  • radtownloot.admin -- To give permission to use the chatcommand

Commands

  • /rad animals -- This will print out some info about the bear/wolf population and server settings if you have permission

Localization

{
  "RadTownLoot": "A {0} dropped something!"
}

Logs

11:25:52 AM] Krungh Crow[12345678910] killed a Radtown Bear and got some loot
11:26:24 AM] Krungh Crow[12345678910] killed a Radtown Wolf and got some loot

Console Logs

Example Console logs if set to true

[Rad Town Loot] A Bear spawned with 473 HP and 35 Strength
[Rad Town Loot] A Bear spawned with 374 HP and 34 Strength
[Rad Town Loot] A Bear spawned with 376 HP and 32 Strength
[Rad Town Loot] A Wolf spawned with 269 HP and 18 Strength
[Rad Town Loot] A Bear spawned with 353 HP and 35 Strength
[Rad Town Loot] A Bear spawned with 462 HP and 30 Strength
[Rad Town Loot] A Wolf spawned with 191 HP and 13 Strength
[Rad Town Loot] A Wolf spawned with 339 HP and 14 Strength
[Rad Town Loot] A Bear spawned with 394 HP and 39 Strength
[Rad Town Loot] A Wolf spawned with 151 HP and 22 Strength
[Rad Town Loot] A Wolf spawned with 219 HP and 17 Strength
[Rad Town Loot] A Wolf spawned with 310 HP and 16 Strength

Configuration

Droprate settings :

  • Bear droprate : Any value between 0.0/100.0 (0 means it will not spawn a backpack)
  • Wolf droprate : Any value between 0.0/100.0 (0 means it will not spawn a backpack)
  • Chat Steam64ID : Add your servers steampicture using the steam64ID.
  • Use random skins : true/false
  • Spawn min amount item : Minimum amount of items to spawn in the backpack.
  • Spawn max amount item : Maximum amount of items to spawn in the backpack.

If u want the item to be a Blueprint add .bp behind the item name (eg ammo.pistol.bp) then it will spawn as a blueprint.

Loottable settings :

  • shortname : The items shortname (eg ammo.pistol).
  • Amount : Max amount of the item to spawn in the backpack.
  • skin : Add the skin ID if u want it to contain a certan skin.
  • AmountMin : the minimum amount of this item to spawn in the backpack

You can change/add/remove lines to the lootprofile.

{
  "Bear settings": {
    "Change Bear stats on spawns": true,
    "Show Bear spawns in Console": true,
    "Bear Droprate 0-100": 10.0,
    "Minimum Health": 300,
    "Maximum Health": 500,
    "Minimum Strength (Att dmg)": 30,
    "Maximum Strength (Att dmg": 40,
    "Running Speed": 6.0
  },
  "Wolf settings": {
    "Change Wolf stats on spawns": true,
    "Show Wolf spawns in Console": true,
    "Wolf Droprate 0-100": 10.0,
    "Minimum Health": 150,
    "Maximum Health": 450,
    "Minimum Strength (Att dmg)": 13,
    "Maximum Strength (Att dmg)": 23,
    "Running Speed": 6.0
  },
  "Chat Steam64ID": 76561199090290915,
  "Use Random Skins": true,
  "Spawn Min Amount Items": 2,
  "Spawn Max Amount Items": 6,
  "Loot Table": [
    {
      "shortname": "ammo.pistol",
      "amount": 200,
      "skin": 0,
      "amountMin": 200
    }
.............................
}

Credits

  • nivex, for help with the loot system and coding assistance

MIT License


Copyright (c) 2020 sabby


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


Donate
6.2K downloads
20 watchers

animallegacyloot
Collaborators
  • nivex
    Contributor