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

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/e71d6c4fba5a51f99b81c295dcaec4fc2f58fb19/icons/mob/screen1.dmi",
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/e71d6c4fba5a51f99b81c295dcaec4fc2f58fb19/icons/mob/screen1.dmi - modified to add 'timed'",
"size": {
"x": 32,
"y": 32
@@ -21,6 +21,9 @@
},
{
"name": "red"
},
{
"name": "timed"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B