mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 08:34:23 +00:00
- Removes supply order crates from shuttle loan events. These were pretty unintuitive, as you needed to accept the crates separately. - Adds a new shuttle loan event: Centcom wants you to help in a virus research program. I feel this is a more controlled way of bringing diseases on the station compared to the disease outbreak event. - Fixes camera failure event - Fixes spanish flu, adds spanish flu culture bottle
22 lines
522 B
Plaintext
22 lines
522 B
Plaintext
/datum/round_event_control/camera_failure
|
|
name = "Camera Failure"
|
|
typepath = /datum/round_event/camera_failure
|
|
weight = 100
|
|
max_occurrences = 20
|
|
alertadmins = 0
|
|
|
|
/datum/round_event/camera_failure
|
|
startWhen = 1
|
|
endWhen = 2
|
|
announceWhen = 0
|
|
|
|
/datum/round_event/camera_failure/tick()
|
|
var/iterations = 1
|
|
var/obj/machinery/camera/C = pick(cameranet.cameras)
|
|
while(prob(round(100/iterations)))
|
|
while(!("SS13" in C.network))
|
|
C = pick(cameranet.cameras)
|
|
if(C.status)
|
|
C.deactivate(null, 0)
|
|
iterations *= 2.5
|