DayZ
89 个评价
Tree Shake
   
奖励
收藏
已收藏
取消收藏
Type: Mod
文件大小
发表于
更新日期
12.599 KB
8 月 8 日 下午 6:12
9 月 1 日 下午 3:40
6 项改动说明 ( 查看 )

订阅以下载
Tree Shake

描述
Welcome to my Mod: Saga Tree Shake

What can this mod?
This mod allows you to shake fruit trees to get fruit.
It works with
plum trees
pear trees
apple trees

You can set the probability of fruit appearing in the configuration file
profiles/SagaShakeTree/

"settings_version": 4, // DON`T TOUCH THIS "apple_drop_chance": 0.10000000149011612, // DROP CHANCE OF APPLE 1.0 means 100% and 0.25 means 25% "plum_drop_chance": 0.10000000149011612, // DROP CHANCE OF PEAR 1.0 means 100% and 0.25 means 25% "pear_drop_chance": 0.10000000149011612, // DROP CHANCE OF PEAR 1.0 means 100% and 0.25 means 25% "shake_duration_seconds": 10.0, //Time the player must hold the action to shake. NEW: "tree_cooldown_minutes": 60, //Per-tree cooldown before it can be shaken again. "apple_min_count": 2, // Min/max number of apples spawned on a successful shake. "apple_max_count": 4, // Min/max number of apples spawned on a successful shake. "plum_min_count": 2, // Min/max number of plum spawned on a successful shake. "plum_max_count": 4, // Min/max number of plum spawned on a successful shake. "pear_min_count": 2, // Min/max number of pear spawned on a successful shake. "pear_max_count": 4, // Min/max number of pear spawned on a successful shake. "food_stage_enable": 1, //Enables optional food stages (dried/rotten) for spawned fruit. "food_dried_chance": 0.15000000596046449, //Probability a spawned fruit is “dried” (only if food_stage_enable = true). "food_rotten_chance": 0.05000000074505806 Probability a spawned fruit is “rotten” (only if food_stage_enable = true). it does mean: 1.0 (100%) you always get fruit when you shake it. lower like 0.5 or 0.25 (50% or 25%) you get less fruit when you shake it.

You can do, what u want! Repack is allowed! Feel free, to use the mod in your serverpack!
But please give me credit in your serverpacket and workshop page!


Github Link Open source:
https://github.com/hummigithub/SagaTreeShake

i am happy, you support me with a little tip! :-)
https://ko-fi.com/hummigummi


MY OTHER MODS:
Close Combat Movement
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3565207710

The Wish
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3549578911

The Purge
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3550185700

ATM Hacking
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3550831150

Its my car inventory
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3552554787

The Horde
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3586933449

60 条留言
HappyPants 9 月 14 日 下午 5:06 
totally understand! if i could figure out how to fix it I would to help gladly
hummigummi  [作者] 9 月 14 日 下午 3:50 
@HappyPants
oh sorry. thanks for report the error!
it´s on my "to do list".
but at the moment i make many mods.
It may take a while.
HappyPants 9 月 14 日 下午 1:35 
seems like no matter what I set it at the shake time remains 10 seconds. I've tried 0.0, 0.5, 1.0, 3.0, 5.0 etc. I was aiming for 3 seconds but can't seem to get anything to change from it taking 10 seconds or so to shake the tree. still loving the mod either way i just hadn't realized this was a problem due to my fast actions from admin tool lol
Pr.Sunrise 9 月 7 日 上午 5:05 
Лайк автору, подписка, и ссылка на мод.
Like the author, subscribe and link to the mod.
BeatrixKiddo 9 月 7 日 上午 12:32 
why would this wont work with Namalsk trees?
hummigummi  [作者] 9 月 3 日 上午 2:50 
@madskillz

you can find the code on my github. see in workshop description for the link.
madskillz 9 月 2 日 下午 4:15 
It's a pity that you closed PBO. Now I can't translate into my language :(
hummigummi  [作者] 9 月 2 日 下午 12:17 
@Sr_Corvo
Yes, see the changelog from 11 aug
Sr_Corvo 9 月 2 日 上午 8:01 
Has the function of being able to shake the tree when pointing at fruits been fixed?
hummigummi  [作者] 9 月 1 日 下午 3:37 
finish. now u can set a cooldown in minutes