Adds conditional spawners for ammunition.

Still needs to be mapped in.
This commit is contained in:
Víctor Aguilera Puerto
2020-08-16 18:18:42 +02:00
parent 83567c1bd9
commit 327c3b92ad
10 changed files with 179 additions and 1 deletions

View File

@@ -260,6 +260,139 @@
- ExGrenade
- GrenadeFlashBang
- SyndieMiniBomb
- GrenadeFlash
- GrenadeBlast
- GrenadeFrag
- GrenadeBaton
chance: 0.75
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Sniper Spawner
id: SuspicionSniperSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_sniper
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_sniper
- type: ConditionalSpawner
prototypes:
- SniperBoltGun
- SniperBoltGunWood
- SniperHeavy
chance: 0.75
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Rifle Ammo Spawner
id: SuspicionRifleMagazineSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_rifle_ammo
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_rifle_ammo
- type: ConditionalSpawner
prototypes:
- MagazineSRifle
- MagazineClRifle
- MagazineLRifle
chance: 0.95
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Shotgun Ammo Spawner
id: SuspicionShotgunMagazineSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_shotgun_ammo
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_shotgun_ammo
- type: ConditionalSpawner
prototypes:
- MagazineShotgun
chance: 0.95
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Pistol Ammo Spawner
id: SuspicionPistolMagazineSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_pistol_ammo
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_pistol_ammo
- type: ConditionalSpawner
prototypes:
- MagazinePistol
- MagazineHCPistol
- MagazinePistolSmg
- MagazineClRiflePistol
chance: 0.95
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Magnum Ammo Spawner
id: SuspicionMagnumMagazineSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_magnum_ammo
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_magnum_ammo
- type: ConditionalSpawner
prototypes:
- MagazineMagnum
- MagazineMagnumSmg
chance: 0.95
gameRules:
- RuleSuspicion
- type: entity
name: Suspicion Launcher Ammo Spawner
id: SuspicionLauncherAmmoSpawner
parent: BaseConditionalSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_launcher_ammo
- type: Icon
sprite: Interface/Misc/markers.rsi
state: spawner_launcher_ammo
- type: ConditionalSpawner
prototypes:
- RocketAmmo
- GrenadeFrag
chance: 0.95
gameRules:
- RuleSuspicion

View File

@@ -403,6 +403,24 @@
]
]
},
{
"name": "spawner_launcher_ammo",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_magnum_ammo",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_melee",
"directions": 1,
@@ -421,6 +439,15 @@
]
]
},
{
"name": "spawner_pistol_ammo",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_revolver",
"directions": 1,
@@ -439,6 +466,15 @@
]
]
},
{
"name": "spawner_rifle_ammo",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_shotgun",
"directions": 1,
@@ -448,6 +484,15 @@
]
]
},
{
"name": "spawner_shotgun_ammo",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "spawner_smg",
"directions": 1,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB