Timed mouse spawners (#7831)
This commit is contained in:
@@ -34,3 +34,28 @@
|
|||||||
intervalSeconds: 30
|
intervalSeconds: 30
|
||||||
minimumEntitiesSpawned: 2
|
minimumEntitiesSpawned: 2
|
||||||
maximumEntitiesSpawned: 4
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"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": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
@@ -21,6 +21,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "red"
|
"name": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "timed"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Resources/Textures/Markers/cross.rsi/timed.png
Normal file
BIN
Resources/Textures/Markers/cross.rsi/timed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 223 B |
Reference in New Issue
Block a user