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

jsonize bionic slots #35508

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Nov 13, 2019

Summary

SUMMARY: Features "moves bionic slots from a hardcoded switch statement to json"

Purpose of change

i like having stuff in json because it's a lot easier to change data

Describe the solution

adds a new member to body_part_struct that stores the amount of bionic slots that body part can have

Testing

see comment below

Additional context

just thought about it in passing after seeing a comment on reddit, and ended up being able to do it in just a couple minutes

@KorGgenT KorGgenT added Mods Issues related to mods or modding Bionics CBM (Compact Bionic Modules) labels Nov 13, 2019
@KorGgenT
Copy link
Member Author

KorGgenT commented Nov 13, 2019

image
image
proof it works (tried to install an internal furnace, changed torso to 1 slot)

@KorGgenT KorGgenT marked this pull request as ready for review November 13, 2019 22:31
@kevingranade kevingranade merged commit d61abe8 into CleverRaven:master Nov 14, 2019
@KorGgenT KorGgenT deleted the jsonize-bionic-slots branch August 13, 2020 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bionics CBM (Compact Bionic Modules) Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants