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

Serialize the player's inventory in save files #431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patowen
Copy link
Collaborator

@patowen patowen commented Oct 5, 2024

This completes part of #428.

Allows users to exit and re-open Hypermine while keeping the contents of their inventory, as previously, the inventory was cleared every time the game was loaded.

@patowen patowen requested a review from Ralith October 5, 2024 20:36
server/src/sim.rs Outdated Show resolved Hide resolved
server/src/sim.rs Outdated Show resolved Hide resolved
server/src/sim.rs Outdated Show resolved Hide resolved
@patowen patowen force-pushed the save-inventory branch 2 times, most recently from c1b6e2a to f59d7d3 Compare November 27, 2024 21:55
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.

2 participants