-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't attach power conversion mod to e-ink tablet PC #76717
Comments
Is there still charge left? I had the same problem, but once I drained all the charge, I was able to install the mod. |
Yep, it's 86/86, but it shouldn't be a problem since by modding either the battery should be removed, or the connector replaced. In both options you don't need to drain the charge, hence I believe it's a bug. |
Of course it is a bug, I just wanted to mention a possibility of working around it. :) |
I tried doing this yesterday, and I found out (same with smartphones too actually) that attaching a battery mod doesnt allow you to use batteries to reload it |
i suspect tool_mod require tool being empy, and having charges inside a tool makes it think it is not empty |
Do you mean when something is even partially charged? I turned on the tablet for the entire night while I was sleeping, so it could drain its entire battery, so that i can install the mod. so it showed up as being E-ink tablet +1. if i kept it charged at all, it wouldnt attach. I suspect it's because that installing a battery mod has the process of trying to unload the physical battery from the item. This works with items that don't have a internal battery, or any battery slots (Flashlights and Hotplates for example). Meanwhile, you can't unload the battery from E-ink Tablets or smartphones as it is integrated, and thus, you can't remove the previous battery connection. For the e-ink tablet, this shows up as having no acceptable form factors for batteries. Smartphones also don't have this, and asfaik, still need a ups connection to recharge (I haven't been able to test whether the actual capacity has changed afterwards) |
Lines 5364 to 5369 in 5f6f5e0
As i told, trying to install gunmod check is there any ammo inside tool, but because !p->unload( loc ) fails (because battery charges has NO_UNLOAD), it simply refuses to install oneIn theory one just need to add a code here, that checks if tool has NO_UNLOAD flag |
This also prevents you from attaching a battery mod to your tool (the kind that lets you use replaceable batteries). Very annoying on my No Vehicles/Wayfarer run! |
Simply makes it possible to attach mods to tools. fixes CleverRaven#76717
Describe the bug
I'm trying to attach bionic pcm to my e-ink tablet, but receive the following:
Attach save file
Nairn-trimmed.tar.gz
Steps to reproduce
Expected behavior
Able to attach mods to tools
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
Mind Over Matter [mindovermatter],
Stats Through Kills [stats_through_kills],
SpeedyDex [speedydex]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: