Skip to content
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

FN, Interface, and Weapon Fixes #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DarianLStephens
Copy link

This may slightly break some intended functionality, that being the removal of some vanilla recipes, but since Frackin Universe now requires they be in a specific order, that can't be done safely.
I changed it to just add Survivalist's recipes to the default unlocks, plus a failsafe for the telescope.

I also fixed shotguns and some invisible buttons with the interfaces (Armory, for example).
The damage type they referenced didn't exist, nor did the sounds, and the frames file was named incorrectly.
I changed it to default damage, to use the rifle sounds instead, and renamed the frames file appropriately.

The interfaces still need to be resized to fit their content properly, but the mod is at least usable again!

Seems to fix missing recipes (Torch, for example) with FU's research system.
Hopefully there are no bad effects, but this was the sort of thing recommended by the FU wiki.
It seems the default paths for some images were changed at some point in the game, so I've redirected them to the new location.
Still need to adjust the dimensions to fit the crafted items for some of these, but they no longer throw log errors or have invisible buttons!

Also, the shotguns were just broken. The damage type they referenced didn't exist, which seemed to make enemies immortal when hit, and the projectile was invisible.
Turns out the frames file had an errant 's', so I removed that and it works! I also changed the damage type to default, since the intended file doesn't exist.
The shotgun's sound was changed to the rifle, since the shotgun firing sound doesn't exist in the mod. This prevents the shotgun from just being silent, and could be fixed if the files are created/found at some point. I looked back in some commits, in case it DID exist and was accidentally deleted, but couldn't find it.
Forgot to remove a reference to the non-existent shotgun damage type
Since FU now has a research system that relies on the order recipes are in an array, replacing the start unlocks outright is a no-go.
I don't know if the game has a way to force-lock recipes in scripts, but that's what I'm looking in to.

It's not ideal, but it makes the progression possible for now!
Also added a failsafe for the telescope, so it automatically learns the matter book when the item is held instead of relying on the default unlocks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant