mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
ITT worst coder tries not to break everything and improve the code. fixes #29211 🆑 refactor: Legacy projectiles have been removed. Instead, all projectiles are now PIXEL PROJECTILES! rscadd: Reflectors can now be at any angle you want. Alt click them to set angle! /🆑 Also lets just fixes #18133 because the shortest path from point A to B is a straight line, when projectile ranges are "number of times moved/processed" ofcourse it's going to be shorter if you fire diagonally. It will be a problem as long as range is done like that or if range are in "pixels/tiles" moved without outright using get_dist.
8 lines
186 B
Plaintext
8 lines
186 B
Plaintext
PROCESSING_SUBSYSTEM_DEF(projectiles)
|
|
name = "Projectiles"
|
|
priority = 25
|
|
wait = 1
|
|
stat_tag = "PP"
|
|
flags = SS_NO_INIT|SS_TICKER|SS_KEEP_TIMING
|
|
var/global_max_tick_moves = 10
|