From 538eac8a155cce91b16d646fb400509101865f0b Mon Sep 17 00:00:00 2001 From: Swept Date: Tue, 1 Sep 2020 23:18:18 +0000 Subject: [PATCH] Adds random spawners for toys (#1979) --- .../Entities/Effects/Markers/toy_spawner.yml | 80 ++++++++++++++++++ .../Interface/Misc/markers.rsi/meta.json | 20 ++++- .../Misc/markers.rsi/spawner_figure.png | Bin 0 -> 672 bytes .../Misc/markers.rsi/spawner_toy.png | Bin 0 -> 840 bytes 4 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/Entities/Effects/Markers/toy_spawner.yml create mode 100644 Resources/Textures/Interface/Misc/markers.rsi/spawner_figure.png create mode 100644 Resources/Textures/Interface/Misc/markers.rsi/spawner_toy.png diff --git a/Resources/Prototypes/Entities/Effects/Markers/toy_spawner.yml b/Resources/Prototypes/Entities/Effects/Markers/toy_spawner.yml new file mode 100644 index 0000000000..3fb752e38c --- /dev/null +++ b/Resources/Prototypes/Entities/Effects/Markers/toy_spawner.yml @@ -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 diff --git a/Resources/Textures/Interface/Misc/markers.rsi/meta.json b/Resources/Textures/Interface/Misc/markers.rsi/meta.json index 3c58904297..0d8134ac63 100644 --- a/Resources/Textures/Interface/Misc/markers.rsi/meta.json +++ b/Resources/Textures/Interface/Misc/markers.rsi/meta.json @@ -528,6 +528,24 @@ 1.0 ] ] + }, + { + "name": "spawner_toy", + "directions": 1, + "delays": [ + [ + 1.0 + ] + ] + }, + { + "name": "spawner_figure", + "directions": 1, + "delays": [ + [ + 1.0 + ] + ] } ] -} \ No newline at end of file +} diff --git a/Resources/Textures/Interface/Misc/markers.rsi/spawner_figure.png b/Resources/Textures/Interface/Misc/markers.rsi/spawner_figure.png new file mode 100644 index 0000000000000000000000000000000000000000..ac87bd0a27d45f82772022dc59adbb8b0bd02715 GIT binary patch literal 672 zcmV;R0$=@!P)^DL!EOvjL6V{j zy&ZAz_=f;kJoEhriGhk@a8y)?GOROx4Jkn(QTHELn!u4zP%Q^x{#E=Ks$eM{Tb}wVG%!80K z5HY+6f^<5K(a}*`MD~%-xJrO4Lf3T~a^gJ$>#Ia1lS!dZqTxm&oAudK32;SZ#$w16 z#2?0AS7{wY1fLGmG=m9ve!kn%qpebMCWeSmMT2-dKR+*sP(`6dW~8M>9hjayc71y& zj9e~92!*x4aR1f-x>okm5^L|nrx{ZkF{yxBO|tidB6e{^oS9D1_TvjN-&9p&RcWa4ZwkU((+P$=Ibt~5Z@t8${ z<(rR;cbvSE-oE7z86aCkbSeJ#}NO=!%&%HgDj7bC-m&pYX8xm=NM zLP`M)Kgv)V5mKYT!?_)pcrbvuH)Z7<U}&Q_sa$P;)L83(}i$pbH6qnV2=+`XrCP(>RX}xEzc=ZYeJ$UeDJr zkVeCoQ)~S)!?+NXYs