mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
Projectile hitscan effects moved to /effects/projectiles folder.
Most of projectile firing code and some of impact code refactored, and projectile hitscan effects refactored with ported TGcode (which is mostly TGcode I wrote anyways 😎)
Projectiles can now be fired at any angle, instead of just at the center of turfs!
Projectiles are now [in theory] 100% accurate down to 0.001 of a pixel.
13 lines
357 B
Plaintext
13 lines
357 B
Plaintext
var/datum/controller/subsystem/processing/projectiles/SSprojectiles
|
|
|
|
/datum/controller/subsystem/processing/projectiles
|
|
name = "Projectiles"
|
|
stat_tag = "PROJ"
|
|
priority = SS_PRIORITY_PROJECTILES
|
|
flags = SS_TICKER|SS_NO_INIT
|
|
wait = 1
|
|
var/global_max_tick_moves = 10
|
|
|
|
/datum/controller/subsystem/processing/projectiles/New()
|
|
NEW_SS_GLOBAL(SSprojectiles)
|