-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Allow shooting out lights in the lab. #35724
Conversation
Co-Authored-By: Anton Burmistrov <Night_Pryanik@mail.ru>
Maybe add some chance to hit instead of guaranteed? |
Gave it a 1 in 3 chance. At this point in the code there is no information about accuracy/distance/etc. available. |
This is allowing "overhead lights" to block shots intended for targets on the ground |
No? |
As far as I remember this only gets called when shooting at an empty tile or the monster was missed with the shot. |
I guess you missed your target, so you hit a terrain instead. It could happen with other terrains too. |
SUMMARY: Features "Allow shooting out lights in the lab."
Purpose of change
https://www.reddit.com/r/cataclysmdda/comments/dz1e8x/as_someone_who_spent_a_lot_of_time_in_labs/
Describe the solution
Added entry for
t_thconc_floor_olight
terrain to huge if else block.Describe alternatives you've considered
Moving that whole if else mess into json. Was too lazy to do so.
Testing
Shot at light. Light dead.