DayZ
89 оценки
ZenOpenCansRock
   
Награда
Добавяне към любими
В любими
Премахване от любими
Type: Mod
Mod Type: Mechanics
Размер на файла
Публикуван на
Обновен на
10.978 KB
27 авг. 2022 в 6:05
8 окт. 2023 в 17:29
4 бележки за промени ( преглед )

Абониране, за да се свали
ZenOpenCansRock

Описание
What Is This?

This simple mod adds the ability to break open cans of food on rocks.

Just walk up to any rock (one that you can mine with a pickaxe or create a bone knife out of) and use your can on it to break it open. Just be aware that you will lose somewhere between 50-80% of the contents by doing this and it will severely damage the can, so it should really only be used as a last resort.

To change the % lost when breaking the can open on rocks you can modify the code in ActionOpenCanEnv.c - specifically MIN_LOSS and MAX_LOSS which are the limits used when the script randomly calculates how much food to spill.

As with all my mods, this mod is open-source and repacking is allowed - do what you want with it.

Installation Instructions:

Install this mod like any other mod - copy it into your server folder and add it to your mods list. Make sure to copy the .bikey into your server keys.

Known Issues:
- Currently makes no sound when banging the can on the rock - will look into adding sound effects when I have time.
- Only works on vanilla food cans that require opening to consume - feel free to modify & repack for modded items.

Repack & Source Code:

Unfortunately due to lack of time I can't maintain all of my mods all of the time. I do my best, but these mods are offered as-is. If there's a problem, you have the source code and my permission to fix it yourself and upload a fixed version to the workshop without any credit necessary. It's all free.

You may repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.io

Buy Me A Coffee:

All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.

https://buymeacoffee.com/zenarchist

Enjoy!
22 коментара
coco 13 дек. 2024 в 6:08 
the smacking sound plays nonstop when you open a can on a rock.
Хохол_Нолыныч 4 дек. 2024 в 15:01 
@Zenarchist the smacking sound plays nonstop when you open a can on a rock.
KOVSH. 22 окт. 2024 в 22:27 
The sound playing when opening canned food on rocks are going non stop, is there anyway to fix this issue? :) sounds like a crackhead mining for rocks with a pickaxe tbh
🆅🅰🆉🅾 14 юли 2024 в 3:07 
thank you for your work, this is my L-C-T message. works fine on my server.
v0vassiN 9 май 2024 в 13:29 
Ти герой!:luv:
Чекаю такої функції в Dayz 10 років:lunar2019piginablanket:
R.Z 7 дек. 2023 в 9:02 
The sound playing when opening canned food on rocks are going non stop, is there anyway to fix this issue? :) sounds like a crackhead mining for rocks with a pickaxe tbh
randoAFK 14 окт. 2023 в 13:21 
Hey Zen, I messaged you in Discord... I need permissions and a little help
⎝⧹ xscr33m ⧸⎠ 3 май 2023 в 15:50 
Thank you for allowing to repack!
If you want to take a look: https://steamproxy.com/sharedfiles/filedetails/?id=2971041124
nixcraft 30 апр. 2023 в 13:46 
Another idea. i.e. It can be opened by heat (when reaches 100 celsius) in house fireplaces or on gas stoves and loses some % food by state of can itself
nurver 10 март 2023 в 3:52 
easy, use one of his other mod's bikey or sign it yourself.