mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Meteor events are now direction biased.
When a meteor event triggers it now selects a main edge to arrive from, with a 20% probability to come from either neighboring edge. Will never arrive from the opposite edge. The meteor event end time is now made more useful, and is based on a longest delay between meteor waves scenario. The meteor event now supports multiple station Z-levels. Removes the meteor sounds, as they can rarely be heard over the explosions anyway.
This commit is contained in:
@@ -290,7 +290,7 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
|
||||
|
||||
|
||||
/proc/shake_camera(mob/M, duration, strength=1)
|
||||
if(!M || !M.client || M.shakecamera)
|
||||
if(!M || !M.client || M.shakecamera || M.stat || isEye(M) || isAI(M))
|
||||
return
|
||||
M.shakecamera = 1
|
||||
spawn(1)
|
||||
|
||||
Reference in New Issue
Block a user