[space-age] allow player with inventory travel to space

Place to get help with not working mods / modding interface.
AcThPaU
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Feb 23, 2017 11:13 pm
Contact:

[space-age] allow player with inventory travel to space

Post by AcThPaU »

I find this "empty your inventory" thingy extremely annoying and QOL destroying. So I have decided to mod it out.

However, after a lot of grep, I could not find the new rocket-silo ui script in core in space-age or base.

The closest thing I found is

Code: Select all

data.raw["rocket-silo"]["rocket-silo"].launch_to_space_platforms = true
in base-data-updates.lua

The

Code: Select all

launch_to_space_platforms
keyword cannot be found anywhere else inside the data folder, so I assume this is hard coded.

Any ideas my fellow engineers? The next thing to do would be live debugging with x64dbg staring with a string search for the promote that you can only travel to space with empty inventory.

UPDATE: file tree comparison with/without space age DLC:
Screenshot 2024-11-07 234453.png
Screenshot 2024-11-07 234453.png (60.95 KiB) Viewed 789 times
The only differences are the executable(hard-coded) part and space age data modules. If it cannot be found in the space age data files, then it must be hard-coded.

If a dev happens to pass by, please let me know if it's hard-coded to save time dragging through data files or jumping into the assembler rabbit hole.
User avatar
undermark5
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu May 21, 2020 10:55 pm
Contact:

Re: [space-age] allow player with inventory travel to space

Post by undermark5 »

Not a dev, but considering the fact that the character's inventory can be massive, and hold a not insignificant amount of items, travelling to space with items is not allowed because it's a balance thing. Being able to carry an entire bootstrap base for any planet in the character's inventory would reduce a significant amount of the challenge.

Is it annoying? yes. Would it be better if there was some sort of storage associated with the silo for player inventories to automatically get emptied into? yes. Should this be something that can be modded? yes (at some point, the balance I describe is pretty irrelevant when rockets are basically free and you have platforms with significant amounts of storage), though there are further considerations that need to be made by the devs to even allow this to be modded, like how bots you've got in your inventory are going to function (would they try to fulfill construction requests even though they don't need to?), are items in your inventory going to be available for space platform building, and possibly some other things.
Post Reply

Return to “Modding help”