Skip to content

Commit

Permalink
uncapped
Browse files Browse the repository at this point in the history
  • Loading branch information
BeagleGaming1 committed Aug 7, 2023
1 parent 68d49d6 commit e12cb3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/modules/shuttle/shuttles/escape_shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
rechargeTime = SHUTTLE_RECHARGE
ignitionTime = 8 SECONDS
ignition_sound = 'sound/effects/escape_pod_warmup.ogg'
/// The % chance of the escape pod crashing into the groundmap
/// The % chance of the escape pod crashing into the groundmap before lifeboats leaving
var/early_crash_land_chance = 75
/// The % chance of the escape pod crashing into the groundmap
var/crash_land_chance = 25
/// How many people can be in the escape pod before it crashes
var/max_capacity = 3

var/datum/door_controller/single/door_handler = new()
var/launched = FALSE
Expand Down Expand Up @@ -71,7 +74,7 @@
occupant_count++
for(var/obj/structure/machinery/cryopod/evacuation/cryotube in interior_area)
cryos += list(cryotube)
if (occupant_count > 3)
if (occupant_count > max_capacity)
playsound(src,'sound/effects/escape_pod_warmup.ogg', 50, 1)
sleep(31)
var/turf/sploded = return_center_turf()
Expand Down

0 comments on commit e12cb3c

Please sign in to comment.