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

fix: correct bed system behaviour #1831

Merged
merged 1 commit into from
Nov 16, 2023
Merged

fix: correct bed system behaviour #1831

merged 1 commit into from
Nov 16, 2023

Conversation

dudantas
Copy link
Member

@dudantas dudantas commented Nov 16, 2023

• Fixed a bug that prevented the item's name from appearing when looking at it after wrapping.
• Implemented a special check that only removes beds that are non-movable and do not have anyone sleeping in them.
• Fixed issue where the player could not "sleep" if the two parts of the bed were not "identical". What I did was use the "name" of the bed as a basis, using only the first word to compare the item name. I noticed that all beds have the first words in common, so this was used as a standard.
• Fixed rotate to from "verdant bed"

• Fixed a bug that prevented the item's name from appearing when looking at it after wrapping.
• Fixed a bug introduced in the last commit regarding beds, which caused beds with sleeping people to be removed from houses. I implemented a special check that only removes beds that are non-movable and do not have anyone sleeping in them.
• Also corrected an issue where the player could not "sleep" if the two parts of the bed were not "identical". What I did was use the "name" of the bed as a basis, using only the first word to compare the item name. I noticed that all beds have the first words in common, so this was used as a standard.
• Fixed rotate to from "verdant bed"
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas merged commit f1bf06f into main Nov 16, 2023
@dudantas dudantas deleted the fix-bed-system branch November 16, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants