Files
Bubberstation/code/modules/vending
san7890 9dfee357f8 Fixes Weird Vending Machine Untipping Behavior (Cyborg Edition) (#70448)
* Adds an Adjacency Check for untipping Vending Machines

Hey there,

Basically, if you were a cyborg, you could untip a vending machine from halfway across the world. There was no adjacency check for pretty much anyone to untip a vending machine, and since a cyborg will always pass through on anything that interacts with an `/obj/machinery`, it would always untip no matter how far away the person was. In fact, we even have an `isAI` check down the line because I think AI's could remotely untip any vending machine (lol).

Let's just pass in an adjacency check for this. Phew.

* an even earlier return

* alright let's actually not override base behavior

* updates the check later on in the chain
2022-10-13 15:24:35 -04:00
..
2022-10-10 23:54:20 -03:00
2022-10-06 21:37:06 -07:00