Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIX] Recursive Throw Patch
#2
(08-11-2016, 08:44 AM)SofiaD2 Wrote: So instead of a throw timer, this fixes recursive throw by adding a stamina cost to throwing, meaning you can only throw twice every 10 seconds. This should fix the recursive throw problems. This is only for humans, if you want to make it for other mob types please do so. If you want to balance it so you can throw more than twice, you're also welcome to do so.

It also makes the throwing mechanic more realistic by adding a stamina cost, I can't stand throwing a toolbox at a wall infinitely in real life, either.

https://github.com/SofiaD2/goonstation-2...66d8.patch
https://github.com/SofiaD2/goonstation-2...e5ccfa66d8

This doesn't actually fix the issue and is just a bandaid.

The real issue is that something broke in the throw code itself. You can hit a window with an object multiple times using a single throw. Furthermore, you can actually catch an item you throw at a window now due to the same (or possible another) bug. Neither of these were ever supposed to happen.

It'd be much better to actually just fix the bug in the throw code because it actually affects more things than just manual throwing including explosive shrapnel, wrestling knockback, and mass drivers.
Reply


Messages In This Thread
[FIX] Recursive Throw Patch - by SofiaD2 - 08-11-2016, 08:44 AM
RE: [FIX] Recursive Throw Patch - by Noah Buttes - 08-11-2016, 08:55 AM
RE: [FIX] Recursive Throw Patch - by ZeWaka - 08-14-2016, 10:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)