Files
crystall-punk-14/Content.Server
nikthechampiongr 2ffd616c41 Replace the teleportation logic on the SCRAM implant! (#26429)
* Replace the teleportation logic on the SCRAM implant!

Now instead of just trying to pick a random tile in range 20 times, the
scram teleportation logic now:

- Gets a list of grids in range
- Until a suitable tile is picked it picks a random grid
- From that grid it picks a random tile.
- If the tile is suitable, then it is set as the target and the user
  will be teleported there.
- Grids and tiles are randomly picked as outlined above until a valid
  tile is found, or all valid grids and tiles are exhausted.
- Should no suitable tile be found then they get teleported to the same
  position they are at. Effectively not teleporting them.

* Actually make the defaults sane which I forgor in the last commit

* Extract tile section to its own function. Bias selection for current grid. Use proper coords for box.

* Address reviews as much as possible

* Address reviews
2024-04-01 17:31:36 +11:00
..
2023-09-23 18:49:39 +10:00
2024-03-19 14:30:56 +11:00
2024-03-29 17:26:30 +11:00
2024-02-29 17:25:10 +11:00
2024-03-28 17:28:45 +11:00
2024-03-30 14:59:16 +11:00
2023-12-17 02:55:40 -07:00
2024-03-24 10:39:53 -05:00
2024-02-23 18:12:23 +11:00
2023-11-27 22:12:34 +11:00
2023-11-27 22:12:34 +11:00
2024-02-16 18:54:44 -08:00
2023-12-28 01:30:03 -04:00
2023-11-27 22:12:34 +11:00
2024-03-24 16:33:45 +11:00
2024-03-13 20:03:12 +11:00
2024-03-31 16:49:51 -04:00
2024-03-27 17:48:37 -07:00
2024-01-14 21:18:47 +11:00
2024-03-24 16:33:45 +11:00
2024-03-28 13:22:19 +11:00
2024-03-19 23:27:02 -04:00
2024-02-21 15:53:46 -05:00
2024-01-06 17:53:13 +11:00
2024-02-29 17:25:10 +11:00
2024-03-24 03:34:56 +11:00
2023-11-27 22:12:34 +11:00
2024-02-28 00:04:32 +11:00
2024-02-21 15:53:46 -05:00
2023-10-24 00:20:33 +11:00
2024-03-28 17:32:56 +11:00
2024-02-11 14:19:45 +11:00
2024-03-31 16:44:02 -04:00
2023-10-01 16:46:09 -04:00
2024-03-31 15:39:40 +11:00
2024-03-19 23:27:02 -04:00
2023-11-13 23:43:03 +11:00
2023-12-27 12:42:15 -08:00
2024-03-24 16:33:45 +11:00
2024-02-29 17:25:10 +11:00
2024-03-19 23:27:02 -04:00
2023-10-16 16:39:39 +11:00