mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
Merge pull request #1252 from ScrawnyRonnie/hack-timer
Config Set Hack Timer
This commit is contained in:
commit
2b7648c1f0
|
|
@ -88,6 +88,9 @@ game {
|
|||
# Purchases timers for the battleframe robotics vehicles all update at the same time when either of them would update
|
||||
shared-bfr-cooldown = yes
|
||||
|
||||
# How long the countdown timer is when a facility (main overworld base) is hacked
|
||||
facility-hack-time = 15.minutes
|
||||
|
||||
# HART system, shuttles and facilities
|
||||
hart {
|
||||
# How long the shuttle is not boarding passengers (going through the motions)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import net.psforever.objects.vital.base.DamageType
|
|||
import net.psforever.objects.vital.etc.ExplodingRadialDegrade
|
||||
import net.psforever.objects.vital.prop.DamageWithPosition
|
||||
import net.psforever.types.{ExoSuitType, Vector3}
|
||||
import net.psforever.util.Config
|
||||
|
||||
import scala.collection.mutable
|
||||
import scala.concurrent.duration._
|
||||
|
|
@ -485,7 +486,7 @@ object GlobalDefinitionsMiscellaneous {
|
|||
repair_silo.TargetValidation += EffectTarget.Category.Vehicle -> EffectTarget.Validation.RepairSilo
|
||||
repair_silo.Damageable = false
|
||||
repair_silo.Repairable = false
|
||||
|
||||
|
||||
recharge_terminal.Name = "recharge_terminal"
|
||||
recharge_terminal.Interval = 1000
|
||||
recharge_terminal.UseRadius = 20
|
||||
|
|
@ -707,7 +708,7 @@ object GlobalDefinitionsMiscellaneous {
|
|||
capture_terminal.Name = "capture_terminal"
|
||||
capture_terminal.Damageable = false
|
||||
capture_terminal.Repairable = false
|
||||
capture_terminal.FacilityHackTime = 15.minutes
|
||||
capture_terminal.FacilityHackTime = Config.app.game.facilityHackTime
|
||||
|
||||
secondary_capture.Name = "secondary_capture"
|
||||
secondary_capture.Damageable = false
|
||||
|
|
|
|||
|
|
@ -163,7 +163,8 @@ case class GameConfig(
|
|||
doorsCanBeOpenedByMedAppFromThisDistance: Float,
|
||||
experience: Experience,
|
||||
maxBattleRank: Int,
|
||||
promotion: PromotionSystem
|
||||
promotion: PromotionSystem,
|
||||
facilityHackTime: FiniteDuration
|
||||
)
|
||||
|
||||
case class InstantActionConfig(
|
||||
|
|
|
|||
Loading…
Reference in a new issue