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

[MIRROR] Dice roll messages now properly detect if the die was rolled inhand or thrown #2461

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1504
Original PR: tgstation/tgstation#81977

About The Pull Request

Currently, dice will give the same message directly to the user, regardless of if they were thrown or rolled in hand. This means you can throw a die far off screen or even out into space, and still know exactly when the die landed and what was rolled despite not being able to see it. This PR fixes that.

It also rearranges the code for dice a little bit, since for some reason all the important procs were defined like, halfway down the file from the initial /obj/item/dice definition.

Why It's Good For The Game

Fixes a bug and something potentially exploitable

Changelog

🆑 Momo8289
fix: You can no longer determine the result of a dice roll from off-screen.
/:cl:

… inhand or thrown (#1504)

* Dice roll messages now properly detect if the die was rolled inhand or thrown (#81977)

## About The Pull Request
Currently, dice will give the same message directly to the user,
regardless of if they were thrown or rolled in hand. This means you can
throw a die far off screen or even out into space, and still know
exactly when the die landed and what was rolled despite not being able
to see it. This PR fixes that.

It also rearranges the code for dice a little bit, since for some reason
all the important procs were defined like, halfway down the file from
the initial `/obj/item/dice` definition.
## Why It's Good For The Game
Fixes a bug and something potentially exploitable
## Changelog
:cl:
fix: You can no longer determine the result of a dice roll from
off-screen.
/:cl:

---------

Co-authored-by: san7890 <[email protected]>

* Dice roll messages now properly detect if the die was rolled inhand or thrown

---------

Co-authored-by: Nick <[email protected]>
Co-authored-by: san7890 <[email protected]>
@ReezeBL ReezeBL merged commit 730164f into master Mar 18, 2024
24 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1504 branch March 18, 2024 13:54
AnywayFarus added a commit that referenced this pull request Mar 18, 2024
Iajret pushed a commit that referenced this pull request May 21, 2024
* MODsuit life support failure damage is stopped by stasis

* Allow emergency entombed reactivation via strip menu

* Ensure entombed MOD pieces always return to the suit and unset NODROP if the unit drops somehow

* Satisfy linters

* Return after component qdel & nullcheck just in case

* Update modular_nova/master_files/code/modules/entombed_quirk/code/entombed_mod.dm

---------

Co-authored-by: Bloop <[email protected]>
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.

3 participants