pests.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # tables
  2. - type: entityTable
  3. id: CalmPestEventsTable
  4. table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp
  5. children:
  6. - id: SnailMigrationLowPop
  7. - id: CockroachMigration
  8. - id: MouseMigration
  9. - type: entityTable
  10. id: SpicyPestEventsTable
  11. table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp
  12. children:
  13. - id: KingRatMigration
  14. - id: SnailMigration
  15. # events
  16. - type: entity
  17. id: MouseMigration
  18. parent: BaseStationEventShortDelay
  19. components:
  20. - type: StationEvent
  21. startAnnouncement: station-event-vent-creatures-start-announcement
  22. startAudio:
  23. path: /Audio/Announcements/attention.ogg
  24. earliestStart: 15
  25. weight: 6
  26. duration: 50
  27. - type: VentCrittersRule
  28. entries:
  29. - id: MobMouse
  30. prob: 0.02
  31. - id: MobMouse1
  32. prob: 0.02
  33. - id: MobMouse2
  34. prob: 0.02
  35. - id: MobMouseCancer
  36. prob: 0.001
  37. # Events always spawn a critter regardless of Probability https://github.com/space-wizards/space-station-14/issues/28480 I added the Rat King to their own event with a player cap.
  38. - type: entity
  39. id: KingRatMigration
  40. parent: BaseStationEventShortDelay
  41. components:
  42. - type: StationEvent
  43. startAnnouncement: station-event-vent-creatures-start-announcement
  44. startAudio:
  45. path: /Audio/Announcements/attention.ogg
  46. earliestStart: 15
  47. weight: 6
  48. duration: 50
  49. minimumPlayers: 30 # Hopefully this is enough for the Rat King's potential Army (it was not, raised from 15 -> 30)
  50. - type: VentCrittersRule
  51. entries:
  52. - id: MobMouse
  53. prob: 0.02
  54. - id: MobMouse1
  55. prob: 0.02
  56. - id: MobMouse2
  57. prob: 0.02
  58. - id: MobMouseCancer
  59. prob: 0.001
  60. specialEntries:
  61. - id: SpawnPointGhostRatKing
  62. prob: 0.001
  63. - type: entity
  64. id: CockroachMigration
  65. parent: BaseStationEventShortDelay
  66. components:
  67. - type: StationEvent
  68. startAnnouncement: station-event-vent-creatures-start-announcement
  69. startAudio:
  70. path: /Audio/Announcements/attention.ogg
  71. weight: 6
  72. duration: 50
  73. - type: VentCrittersRule
  74. entries:
  75. - id: MobCockroach
  76. prob: 0.03
  77. - id: MobMothroach
  78. prob: 0.008
  79. - type: entity
  80. id: SnailMigrationLowPop
  81. parent: BaseStationEventShortDelay
  82. components:
  83. - type: StationEvent
  84. startAnnouncement: station-event-vent-creatures-start-announcement
  85. startAudio:
  86. path: /Audio/Announcements/attention.ogg
  87. weight: 6
  88. duration: 50
  89. - type: VentCrittersRule
  90. entries:
  91. - id: MobSnail
  92. prob: 0.02
  93. - id: MobSnailSpeed
  94. prob: 0.002
  95. - id: MobSnailMoth
  96. prob: 0.002
  97. - type: entity
  98. id: SnailMigration
  99. parent: BaseStationEventShortDelay
  100. components:
  101. - type: StationEvent
  102. startAnnouncement: station-event-vent-creatures-start-announcement
  103. startAudio:
  104. path: /Audio/Announcements/attention.ogg
  105. earliestStart: 15
  106. weight: 6
  107. duration: 50
  108. minimumPlayers: 30
  109. - type: VentCrittersRule
  110. entries:
  111. - id: MobSnail
  112. prob: 0.02
  113. - id: MobSnailSpeed
  114. prob: 0.002
  115. - id: MobSnailMoth
  116. prob: 0.002
  117. - id: MobSnailInstantDeath
  118. prob: 0.00001 # ~ 1:2000 snails