mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] Ports TG Anomalies (#12105)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
e7feab24f7
commit
7971b00c5d
@@ -672,6 +672,9 @@ var/list/mining_overlay_cache = list()
|
||||
M.make_jittery(50) //SHAKY this used to be 1000(seizure) but I toned it to 50 to be less aggressive.
|
||||
if(prob(25))
|
||||
excavate_find(prob(25), finds[1])
|
||||
if(prob(2))
|
||||
var/anomaly = pick(FLUX_ANOMALY, GRAVITATIONAL_ANOMALY, PYRO_ANOMALY, HALLUCINATION_ANOMALY)
|
||||
generate_anomaly(get_turf(src), anomaly, 1, FALSE)
|
||||
else if(rand(1,500) == 1)
|
||||
visible_message(span_notice("An old dusty crate was buried within!"))
|
||||
new /obj/structure/closet/crate/secure/loot(src)
|
||||
|
||||
Reference in New Issue
Block a user