Timed mouse spawners (#7831)

This commit is contained in:
20kdc
2022-04-30 22:26:11 +01:00
committed by GitHub
parent 379283bd21
commit ad6abcfff6
3 changed files with 29 additions and 1 deletions

View File

@@ -34,3 +34,28 @@
intervalSeconds: 30
minimumEntitiesSpawned: 2
maximumEntitiesSpawned: 4
- type: entity
name: Mouse Timed Spawner
id: MouseTimedSpawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: blue
- texture: Mobs/Animals/mouse.rsi/icon-2.png
- state: timed
- type: TimedSpawner
prototypes:
- MobMouse
- MobMouse1
- MobMouse2
# round ~90m
# one spawner should only spawn ~5 mice for sanity reasons
# therefore 18m
# use 50% chance for randomness and balance with halved interval
chance: 0.5
intervalSeconds: 540
minimumEntitiesSpawned: 1
maximumEntitiesSpawned: 1