Adds random spawners for toys (#1979)

This commit is contained in:
Swept
2020-09-01 23:18:18 +00:00
committed by GitHub
parent b132a4c2d9
commit 538eac8a15
4 changed files with 99 additions and 1 deletions

View File

@@ -0,0 +1,80 @@
- type: entity
name: Toy Spawner
id: ToySpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_toy
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_toy
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: TrashSpawner
rarePrototypes:
- CarvingHelpMe
- CarvingHello
- CarvingThankYou
- CarvingVeryGood
- CarvingImSorry
- FoamBlade
rareChance: 0.03
prototypes:
- PlushieBee
- PlushieNuke
- PlushieLizard
- PlushieNar
- PlushieCarp
- PlushieSlime
- PlushieSnake
- ToyMouse
chance: 0.5
offset: 0.2
placement:
mode: AlignTileAny
- type: entity
name: Figure Spawner
id: FigureSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_figure
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_figure
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: TrashSpawner
prototypes:
- ToyAi
- ToyNuke
- ToyAssistant
- ToyGriffin
- ToyHonk
- ToyIan
- ToyMarauder
- ToyMauler
- ToyGygax
- ToyOdysseus
- ToyOwlman
- ToyDeathRipley
- ToyPhazon
- ToyFireRipley
- ToyReticence
- ToyRipley
- ToySeraph
- ToyDurand
- ToySkeleton
chance: 0.5
offset: 0.2
placement:
mode: AlignTileAny

View File

@@ -528,6 +528,24 @@
1.0
]
]
},
{
"name": "spawner_toy",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_figure",
"directions": 1,
"delays": [
[
1.0
]
]
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B