-
Notifications
You must be signed in to change notification settings - Fork 64
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
Internal essence tanks (all types) can't reload their type of essence or have said essence inserted into them #304
Comments
Do vanilla tanks such as the gasoline fuel cell work? |
Yep. |
Hmmm, I'll see if there's any JSON changes to them that might affect it, not sure what could be different. |
For what it's worth, I tried messing around in the JSON files for the tanks, the essence, and quite a few other things, trying to see what was different from the vanilla tanks, and changing things to make the essence tanks function more like the vanilla ones. When that didn't fix it, I then tried changing it so that the tanks would reload with essence gems as magazines rather than just essence directly. That also didn't work. Hopefully, you have more success with fixing it than I did. |
Also, just to clarify, I'm using DDA, not BN. |
I don't see any JSON differences here that would explain it, yeah. My only guess here is that they broke handling of containers being loadable with solid fuels, since essences are solid while gasoline are liquid. |
Huh... I hadn't considered that. Any idea what should be done about it? |
I'm looking at it further, and I noticed that the battery loader has a different container type, counts as a magazine well for loading entire batteries into. So I'll test to see what happens if I rig it to work like the essence gems. |
So far no luck getting other methods to work, will test more when I get home. In the meantime it'd be a good idea to open an issue on their end pointing out that solid fuels seem to be broken, as I'm fairly certain at least one of their CBMs uses it, probably in Aftershock. |
Will do, though first I'll try asking if that's actually the case. |
Good luck, not yet sure how to fix it otherwise, though magitech essence batteries might be a workable hack... |
Might be. I take it essence gems have been ruled out, then? |
They aren't magazines in terms of item type, so don't think they'd be able to load in right off the bat. If I figured out how to make them both a magazine and have armor data perhaps... |
It looks like they did change it, according to the response I got here. EDIT: Replied to the wrong comment of yours. Still, we got confirmation of one thing, at least. |
The pull request that changed bionics: CleverRaven/Cataclysm-DDA#61049 Updating the cbm to work with the new DDA system should be pretty simple. Add new item that acts as container for the cbm fuel. Just a basic container with these flags: But making this mod work for both CDDA and BN would be much harder. Maybe you could have the item properties for both versions in the json but then CDDA would throw errors about invalid properties. |
That's already been done - the problem is that, even with the containers added by the bionic matching that new format to a t, they still can't accept the fuel that's supposed to go into them (essence and its variations). |
Not sure why this isn't displaying on this page despite me getting an email about you saying this, but meh. I just looked at the relevant files, and yeah, the essence does have a material listed, which matches up with contents in the mod's materials.json file. (Also, just to clarify, I'm not the one who created/maintains this mod. That would be Chaosvolt. I'm just some nerd who noticed a problem while playing CDDA with the Arcana mod.) |
Linked issue (CleverRaven/Cataclysm-DDA#62617) shows the main root problem, the "solid fuel won't work in container-type pockets" issue. As noted, manually inserting does not work either. The expected could would be the max volume of the container open, which I already made sure is larger than the size of the relevant essence items. If that can't be fixed, I'm...reasonably certain I might have to resort to hacks involving adding in magazines to store essence, like how Battery System works. This assumes bionic fueling via a magazine well doesn't have any special case hacks for the benefit of undroppable ammo (like battery units), otherwise it gets more complex.
Arcana already has a separate version for Bright Nights, and the CBM works fine in it currently, due to not tying CBM refueling to the pocket system. It still has some issues, mostly not playing nice with trying to treat a comestible as bionic fuel (I'm not sure DDA's system can easily parse trying to feed a CBM a comestible loaded as if it were ammo either, though), and not being able to use more than one fuel option without needing sub-bionics as seen here (less of an issue in DDA version since the containers can be unloaded, but 90% certain it'd still preclude mixing ammo types and thus you'd need multiple fuel tanks to actually use more than one fuel option). |
Apologies for the delays, I'll be busy tomorrow as well but will see if I can either look into tinering with other possible workarounds or acting on any advice that may come up if any other possible JSON fixes come up. I could've sworn mainline DDA had at least one example of a CBM that runs on solid fuel in one of the in-repo mods? Either way that does seem like something they'd have use for eventually. For example, if it doesn't already exist you'd expect Magiclysm to tinker with taking the same idea as the essence surge cell and implementing some way to get CBM power from crystallized mana. |
Hmm, so insert works? Does the XBM at least then use it for fuel afterward? |
Okay, so after messing around in-game a bit, I decided to just see what the pocket settings on the tanks were. I didn't see anything that immediately raised suspicion, but I did decide to just clear all settings for the pocket, and somehow that enabled me to insert essence into the tanks. Is there somehow something that automatically changes the settings for the tanks once the CBM is installed? |
There shouldn't be anything that'd do that, no. Sounds like yet more nonsensical nested container code behavior. :/ |
I tried using the regular essence surge cell, and it didn't do anything despite being activated and fueled, but my character's bionic power was close to full anyway, so that might be why. I then tried the dull variant, and that did end up using some dull essence, and in the process providing my character with more bionic power. |
Hmm, that still seems problematic if insert works but reload doesn't. Any news on a fix, should I assume that insert is the intended workaround, or should I work on a hacky workaround of my own involving adding magazines to load with essence? |
So I just tested this on the latest build. All four can have essence inserted into them by going to their item in the inventory menu and hitting the "insert" command. They all recharge as intended when turned on too, though the power values for blood essence, regular essence, and crystalized essence are all wildly off. |
Title says it all, pretty much.
The text was updated successfully, but these errors were encountered: