Apples 1.0.2

   (0 reviews)

1 Screenshot

 

 At a configurable rate and amount setting , apple(s) can fall from a tree making it a little less hard to find food

Features :

  • Drops a set amount of apples after cutting down trees
  • Set the droprates (0 to 1) ea 0.25 would be 25% chance
  • Simple configuration
  • Permissions
  • Debug option for console logging

Permissions :

  • apples.drop : To give the player the chance to find the apples

Configuration :

{
  "Main config": {
    "Debug": true,
    "Chat Steam64ID": 0,
    "Chat Prefix": "[<color=orange>Apples</color>] : "
  },
  "Dropchance (0-1)": 1.0,
  "Min apples": 1,
  "Max apples": 3,
  "Put in Inventory (true/false)": true,
  "Excluded Tree Prefabs (full paths)": [
    "assets/bundled/prefabs/autospawn/resource/wood_log_pile/wood-pile.prefab"
  ]
}

Localisation :

{
  "Applesdrop": "{0} Apple(s) fell from the tree"
}

Edited by Krungh Crow


What's New in Version 1.0.2   See changelog

Released

1.0.1  	- Reformatted Debug check
1.0.2	- Added cfg option to put apples in the players inventory before tossing it on the ground.
		- Added cfg option to exclude certain tree prefabs (full path)
        - Set debug true to log the tree that has been cut down helping to find the trees you dont want the apples to drop from.

 

Copyright (c) 2022 Krungh Crow
No copying editing or reselling .Any additions can be asked for.
 Share


Krungh Crow's other works


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.