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