Shall the player be able to sleep from 3 blocks away from bed (instead of 2) #3981

Open
opened 2023-10-27 08:52:51 +02:00 by Araca · 2 comments
Contributor

MineClone2 version: latest dev 0.85.0-SNAPSHOT

What happened?

Is there a technical reason for prevent player to sleep if bed is more than 2 blocks away. I feel this a bit too close.

What should happen:

I did some tests and I feel that putting it to 3 blocks is more friendly. If you agree, I could create the PR

Current code is that

		-- No sleeping if too far away
		if vector.distance(bed_pos, pos) > 2 and vector.distance(bed_pos2, pos) > 2 then
			return false, S("You can't sleep, the bed's too far away!")
		end
MineClone2 version: latest dev 0.85.0-SNAPSHOT ### What happened? Is there a technical reason for prevent player to sleep if bed is more than 2 blocks away. I feel this a bit too close. ### What should happen: I did some tests and I feel that putting it to 3 blocks is more friendly. If you agree, I could create the PR Current code is that ``` -- No sleeping if too far away if vector.distance(bed_pos, pos) > 2 and vector.distance(bed_pos2, pos) > 2 then return false, S("You can't sleep, the bed's too far away!") end ```
Araca added the
bug
unconfirmed
labels 2023-10-27 08:52:51 +02:00
the-real-herowl added
gameplay
#P6: low
annoying
needs discussion
and removed
bug
unconfirmed
labels 2023-10-27 16:26:08 +02:00
Author
Contributor

I thought again this issue, and maybe we should use the param mcl_hand_range to make the bed reachable as long as other blocks.

What do you think ?

I thought again this issue, and maybe we should use the param `mcl_hand_range` to make the bed reachable as long as other blocks. What do you think ?
Member

I really don't have an issue with this. 2 or 3 is fine with me. Then again, I find bed use to be rather irksome. lol. (getting into the bed, not the whole sleeping issue.)

I really don't have an issue with this. 2 or 3 is fine with me. Then again, I find bed use to be rather irksome. lol. (getting into the bed, not the whole sleeping issue.)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#3981
No description provided.