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

Wip/site rework #194

Merged
merged 34 commits into from
Nov 1, 2024
Merged

Wip/site rework #194

merged 34 commits into from
Nov 1, 2024

Conversation

Byte-Nova
Copy link
Owner

Short and concise description about my pull request:

  • A site rework for the mod.

TODOs:

  • - I confirm this PR has been previously tested by me and has no apparent issues.
  • - I confirm this PR is complying with this project's Contribution Guidelines.
  • - I confirm this PR is complying with this project's Syntax Ruleset.

Longer / More informative description about what my pull request does:

  • This PR includes a site rework for RimWorld together, initially made by @Erag0n001 and maintained / audited by me. It drastically changes the whole system, adding UI elements, new sites, better rewards, and an overall better experience using this game-play element.

Erag0n001 and others added 30 commits August 24, 2024 11:36
Added client side UI for sites
- Data still needs to be set manually.
- Personal sites were removed
- Sites now send rewards
- New UI for sites
- Added rewards, which is the server telling a def and an amount to give to a client.
- Owners will now properly keep their sites when leaving, deleting and creating factions
- Rewards now properly arrive at their destination.
- New update command to update from old sites to new sites.
- Fixed issue where good will wouldn't update properly when leaving and getting kicked from factions.
- Cleaned up some code
- Added descriptions to sites.
- Server now has "balanced" default values
- Server now remembers and uses the user's site config
- New client side button for config menu
- Fixed bug where rewards would be sometime doubled.
- Fixed bug where sites didn't update their factionfiles properly.
- Removed redundant variable in Sites.
- Fixed typos in config.
- Added a new site (it was for testing, but I already did the work so it stays)
- Added a few verbose logs for troubleshooting sake
- Fixed where faction members could destroy sites.
Issue came from windows being a dumb with case sensitivity. God I hate windows
- Rewards will now prompt an error when failing to find a def.
- Sites will now prevent opening the UI if the cost or rewards are non existent
- Sites will now exclude any non-existing rewards or cost defs.
- Configs now sync properly on server restarts
- Implemented new packet system
- Fixed reward managers having issues.
- Fixed issue with configs not being applied properly.
- Added DefOf instead of a bunch of static instances across the project.
@Byte-Nova Byte-Nova merged commit f908b7e into development Nov 1, 2024
1 check passed
@Byte-Nova Byte-Nova deleted the wip/site-rework branch November 1, 2024 13:07
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