This addon adds the ability to refill canteens LATEST MODDED EXES ARE REQUIRED
This addon adds the ability to refill canteens at various bodies of water and to then purify them, like in any self-respecting survival game.
To fill up canteen - look at the water and right click canteen in your inventory, you should see the fill prompt if you're close enough.
To purify water - buy purifying tablets at medics and drag and drop them over your canteen with filthy water.
Changes compared to old version:
- You can refill canteens without going into water because of new raycast-based system
- Sounds for filling up canteen
- New purifying pills available at medics that are much cheaper and usable (also don't conflict with addons that replace akvatabs i.e BHS)
- New boiled water that is still slightly dirty, now you need to use purifying pills to get fully clean water
- No longer touches base game files with the use of DLTX and custom functor auto inject
- FDDA support
- Food Poisoning support (Github.com) (dirty and boiled water add toxin build up)
Water pumps
Places water pumps on various bases, you can find them via markers on your map. To fill up your empty canteen - just press use key (F) on the water pump while you have an empty canteen in your inventory.
Requires latest Hideout Furniture
Reworked Arszi's Campfire Roasting
Rewritten version of Arszi's Campfire Roasting addon with the following changes:
- Fillable canteens support
- Refactoring
- Roast\Boil all right click options
- Usage of custom functor autoinject to not touch base game files
- Removed pass of time
- Easier extensibility via public table with all the food items and their results
This doesn't require the original addon and works standalone
Latest Modded Exes are required for the mod to work!
Addon makes use of the FOMOD installer and as such, MO2 is recommended for installation.
Maid - icons, testing
demonized - material ray and custom functor inject scripts
Arszi - original campfire roasting addon.
19/05/2024 - Fixed xml string inconsistency in roasting module
28/10/2023 - 2.0.2 - Fixed crash that occurs when dropping empty canteens
29/06/2023 - 2.0.1 - Added missing files for water pump map spot
29/06/2023 - 2.0.0 - Initial release.
Hotfix 2.0.1 - Added missing files for water pump map spot
Please redownload the addon if you're using water pump optional and apologies for the inconvenience
nice
Is it necessary to start a new game?
At least for water pumps
Water pumps will just not show up on the map on existing saves, we reached out to Aoldri to change this behavior, hoping it'll update soon enough
Yes! This is amazing, I've been using the older version and the changes are so much nicer! Also, water pumps! One thing though, I am unfortunately getting a crash on loading a save with the new update with this. This does only happen on a current save.
You probably used the one from dltx pack, that one became a separate version that added it's own water purifier tablets and other ****. If you don't want to start a new game, you need to manually merge those mods so that item will he in the new version
ok, tbh you don't have to merge those two mods. Follow my instructions because they work, I've tested it.
Find mod_animations_settings_fillable_canteens.ltx and mod_system_fillable_canteens.ltx from FILLABLE_CANTEENS_DLTX
COPY the content of mod_animations_settings_fillable_canteens.ltx and OVERWRITE it inside ea_addon_fillable_canteens.ltx (FILLABLE CANTEEN 2.0)
SAVE the file.
COPY the content of mod_system_fillable_canteens.ltx and paste it inside mod_system_fillable.ltx AFTER this code:
eat_alcohol = -0.15
eat_satiety = 0.005
eat_sleepiness = -0.01
eat_thirstiness = -1.15
and BEFORE this code:
[purification_tablet]:booster_multi
$spawn = "food and drugs\antirad"
visual = dynamics\equipments\medical\item_akvatab.ogf
SAVE the file. Tadah! You are good to go.
ALSO, remember to use CR3PIS icons because the one used here sucks.
Awesome, thank you for that!
u r welcome. just be careful when using the cr3pis icons because they have a different dispositions so you have to tweak the files inside the mod (different coordinates).
Apart that, happy gaming!
Say please, were i find this files? mod_animations_settings_fillable_canteens.ltx . mod_system_fillable_canteens.ltx.
FILLABLE_CANTEENS_DLTX
From mrdemonized DLTX version: Github.com
and Github.com
ОТЛИЧНЫЙ АДДОН!!! но я бы посоветовал изменить количество использований у фляги с водой и очищающих таблеток. слишком много использований - это слишком облегчает игру. у вас 10 использований грязной воды (предлагаю 5) , у вас 5 использований кипяченой воды и очищеной воды (предлагаю 2), у вас 5 использований таблеток (предлагаю 2 и снизить шанс спавна таблеток). МЫ хотим больше хардкора:)
Uses restore less thirst compared to vanilla, so it's more of flair thing.
ISSUE: unfortunately smaller (20% vs original 52%) thirst restore value now can result in a nasty issue when in (deep) red (bellow 0.28):
1. if thirst goes bellow 0.28 - any food/drink action can result in a blackout (forced sleep) = time passes = more thirst again;
2. if drink fails to bring value over 0.28 = blackout again;
Thus requires drinking something with thirst restore > 28% to get out of this state. (even beak (27%) is too low if thirst is 0)..
Dirty solution: a quick dbl-tap on flash can sometimes result in drinking x2 = 0.3 thirst = no blackout, then just drinking again to get out of red-clamp.
eat_thirstiness = -2.6 (45%) is around the value to avoid this (due x+rnd<y this can sometimes fail too, so might even go with -2.7).
ok
Can I safely remove the old one and use this in my old saves?
If you weren't using version from dltx pack - I think it should work. But waterpumps won't spawn. Hopefully Aoldri fixes his map object spawner soon enough.
I'm using the DLTX Pack's Cr3pis Icon Patch though. Going to test the addon later
just tweak a couple of files and those icons will work perfectly
experienced a crash when I dumped an empty canteen
Так, стоп. Когда поселения из четверки на кордон, а также даймонд сити?? Ещё не хватает лазерганов и Братства Стали.
hello
very good work. another great mod. 10/10.... i see that you have 10 uses with your bottle instead of 3. does this come with your mod?
Yes, that's part of the mod
:CatDrink:
I'm playing with EFPv4 and I get this error
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CInifile::Load::<lambda_f63366a1e4d3e064d01cfd5f7697b18a>::()::<lambda_8ff847804b34679ea0a148a1fcb21e5d>::operator ()
[error]File : Xr_ini.cpp
[error]Line : 366
[error]Description : fatal error
[error]Arguments : Duplicate section 'dirty_water' wasn't marked as an override.
Override section by prefixing it with '!' (![dirty_water]) or give it a unique name.
Check this file and its DLTX mods:
"c:/anomaly/bin/..\gamedata\configs\items\items\animations_settings.ltx",
file with section "ea_addon_fillable_canteens.ltx",
file with duplicate "mod_animations_settings_cant.ltx"
stack trace:
animations_settings.ltx has something to do with the mod [FeelFried] Food Drug and Drinks Animations FDDA [Haruka Update]
I recommend getting help with EFP on EFP discord server. Also it may be easier to wait for update that we will be releasing soon.
Apologies if I'm being bothersome, but there seems to be an issue that is happening with travelling to Cordon. I'm not really sure if it's 100% this mod, but trying this and the new HF update and it seemed that it wasn't HF.
Update the mod. I fixed it in hotfix
@HarukaSai would it be possible to add into the FOMOD a checkbox for those who are updating from previous version? i tried everything people suggested above but am getting an override error similar to MangAsar, only mine is for empty flask rather than dirty one.
or could you please explain what lines i could copy from canteens 2.0 over to the canteensDLTX files to get the canteens fillable without standing in the water, that is the main thing i am looking for :)
edit: I am using GAMMA if that matters
DLTX canteens are not my addon to begin with, it's a fork of 2021 version of my addon maintained by demonized, he can make a patch if he wants. For GAMMA problems - go on GAMMA discord, I'm not providing support for it.
alright it seems theres a crashes well im gonna wait for an update
Addon works with base anomaly, beyond that it's up to users to fix problems in their modlists.
crashes when you drop an empty canteen
are the wells a new source of water or do they carry the same rads etc as ground water ... which in the old version turned a filled canteen into something resembling the almighty anomalous bread LOL
Is it me or the water spot for Army Warehouse is all the way in the Bloodsucker village. Seems a bit weird to go through all the bloodsuckers for water
can I install pumps wherever I want using "HIDEOUT FURNITURE (HF) V2.2.1" ?
Yes you can
I have pumps not displayed in the furniture spawner menu (latest update 2.2.1) item Tool
привет! вы на связи? я не знаю почему но водяные насосы не работаю, их просто нет. я хочу добавить ваш аддон к себе, вас обязательно укажу как автора, но вот хотелось бы с насосами проблему решить, он не дает ошибок, он просто не работает, проверял на ванильном аномали 1.5.2
An error on Skadovsk in the radius of item spawn stack trace:at address 0x000000014029B9A7.
How can it be removed? Or is there another solution to the problem?
and pumps exist on old saves
Autor?
здравствуй автор. можешь сделать так чтоб грязная и кипяченая вода могла быть использована для рецептов еды. в некоторых рецептах (в ванильной аномалии) используется чистая вода. хотелось бы добавить рецепты с применением грязной и кипяченой воды. НЕ ЗАМЕНИТЬ а добавить!!!
Если речь именно о приготовлении - то индейская национальная народная изба. Там есть ограничение, не берусь точно сказать, скриптовое или движковое, но оно точно есть: одно блюдо - один рецепт.
Можно обойти с помощью крафта. Особенно если использовать соответствующий мод от Banjaji.
To get better icons from old versions of mod - take these 2 files from old mod ( Github.com ):
\gamedata\textures\ui\ui_water_pills.dds
\gamedata\textures\ui\ui_icon_fillable_canteens.dds
And add a DLTX mod file:
\gamedata\configs\mod_system_fillable_icons.ltx
With contents:
![purification_tablet]
icons_texture = ui\ui_water_pills ;ui\ui_canteens
inv_grid_x = 0 ;4
inv_grid_y = 0 ;0
![flask]
icons_texture = ui\ui_icon_fillable_canteens ;ui\ui_canteens
inv_grid_x = 1 ;0
inv_grid_y = 0 ;0
![empty_canteen]
icons_texture = ui\ui_icon_fillable_canteens ;ui\ui_canteens
inv_grid_x = 1 ;0
inv_grid_y = 1 ;0
![dirty_water]
icons_texture = ui\ui_icon_fillable_canteens ;ui\ui_canteens
inv_grid_x = 0 ;0
inv_grid_y = 0 ;0
![boiled_water]
icons_texture = ui\ui_icon_fillable_canteens ;ui\ui_canteens
inv_grid_x = 0 ;4
inv_grid_y = 1 ;0
Some useful additions like in old version - just adjust name "purification_tablet":
1. Besides trade_generic_medic and sakharov - should also add pill to:
\gamedata\configs\items\trade\mod_trade_stalker_sidorovich_fillable.ltx
\gamedata\configs\items\trade\mod_trade_generic_barman_fillable.ltx
\gamedata\configs\items\trade\mod_trade_stalker_loris_fillable.ltx
etc
Or use trader auto-inject script...
2. Cooking recipe for boiled_water to flask (just change to 10):
\gamedata\configs\items\settings\mod_cook_fillable_canteens.ltx
3. also adding as loot and treasure:
\gamedata\configs\items\settings\mod_death_generic_fillable_canteens.ltx
\gamedata\configs\items\settings\mod_treasure_manager_fillable_canteens.ltx
(mod_craft_fillable_canteens.ltx is now unnecessary)
drop the empty flask will cause CTD
Hi, great mod, can't believe this isn't a basic feature.
I've been looking around for 'purification pills', but the only ones I've encountered are Akvatabs (which have the same description as the pills used in the posted clip), and they don't seem to work on boiled water.
Sakharov doesn't sell them, and I haven't encountered a medic yet.
I didn't start a new game after installing the mod, might that be the problem? If so, is there any fix apart from starting all over again?
Any help is much appreciated, thanks!
EDIT: I thought Sakharov was the merchant in the newbie village, whoops. So not having encountered him or any medic yet, there might actually be no problem.
EDIT 2: Found Sakharov, he did indeed have the pills. Whoops.
Game seems to crash with an empty stack trace when I drop an empty canteen.
i have this issue too