Add the most anticipated gun in the game. Foam Force. (#29103)
* Foam Force * make it available somewhere * add clumsyproof and nuke dev item * reorganize * oopsy files * Strap! * woopsie layering * fix grammar to rerun tests for rogue unrelated test fail. * cleanup * I eepy layer forgetti spaghetti * For real last necessary commit * Oops I broke the law! feexed * Decided to just change it to the same source as the poster source in our repo for consistency.
@@ -158,6 +158,9 @@
|
||||
- id: WeaponTurretXeno
|
||||
prob: 0.01
|
||||
orGroup: Weapons
|
||||
- id: WeaponRifleFoam
|
||||
prob: 0.03
|
||||
orGroup: Weapons
|
||||
#clothing
|
||||
- id: ClothingUniformJumpsuitFamilyGuy
|
||||
prob: 0.05
|
||||
@@ -385,3 +388,12 @@
|
||||
- id: WeakKudzu
|
||||
prob: 0.01
|
||||
orGroup: NotUseful
|
||||
- id: MagazineFoamBox
|
||||
prob: 0.001
|
||||
orGroup: NotUseful
|
||||
- id: BoxDonkSoftBox
|
||||
prob: 0.008
|
||||
orGroup: NotUseful
|
||||
- id: GrenadeFoamDart
|
||||
prob: 0.001
|
||||
orGroup: NotUseful
|
||||
@@ -0,0 +1,12 @@
|
||||
- type: entity
|
||||
parent: MagazineLightRifleBox # It goes in a saw, its funny.
|
||||
id: MagazineFoamBox
|
||||
name: ammunition box (foam)
|
||||
components:
|
||||
- type: BallisticAmmoProvider
|
||||
mayTransfer: true
|
||||
whitelist:
|
||||
tags:
|
||||
- BulletFoam
|
||||
proto: BulletFoam
|
||||
capacity: 100
|
||||
@@ -4,12 +4,30 @@
|
||||
name: foam dart
|
||||
parent: BaseItem
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- BulletFoam
|
||||
- Trash
|
||||
- type: Ammo
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/toys.rsi
|
||||
layers:
|
||||
- state: foamdart
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape: !type:PolygonShape
|
||||
vertices:
|
||||
- -0.05,-0.15
|
||||
- -0.05,0.25
|
||||
- 0.05,-0.15
|
||||
- 0.05,0.25
|
||||
density: 20
|
||||
mask:
|
||||
- ItemMask
|
||||
restitution: 0.3
|
||||
friction: 0.2
|
||||
- type: Tag
|
||||
tags:
|
||||
- BulletFoam
|
||||
- Trash
|
||||
- type: Ammo
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/toys.rsi
|
||||
layers:
|
||||
- state: foamdart
|
||||
- type: EmbeddableProjectile
|
||||
removalTime: .2
|
||||
- type: ThrowingAngle
|
||||
angle: 180
|
||||
|
||||
@@ -186,3 +186,33 @@
|
||||
steps: 1
|
||||
zeroVisible: true
|
||||
- type: Appearance
|
||||
|
||||
- type: entity
|
||||
name: Foam Force Astro Ace
|
||||
parent: [BaseWeaponShotgun, BaseGunWieldable]
|
||||
id: WeaponRifleFoam
|
||||
description: A premium foam rifle of the highest quality. Its plastic feels rugged, and its mechanisms sturdy.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Guns/Rifles/foam_rifle.rsi
|
||||
- type: Clothing
|
||||
sprite: Objects/Weapons/Guns/Rifles/foam_rifle.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Weapons/Guns/Rifles/foam_rifle_inhand_64x.rsi
|
||||
- type: BallisticAmmoProvider
|
||||
whitelist:
|
||||
tags:
|
||||
- BulletFoam
|
||||
capacity: 10
|
||||
proto: BulletFoam
|
||||
- type: GunRequiresWield #remove when inaccuracy on spreads is fixed
|
||||
- type: Gun
|
||||
fireRate: 2
|
||||
selectedMode: SemiAuto
|
||||
availableModes:
|
||||
- SemiAuto
|
||||
soundGunshot:
|
||||
path: /Audio/Effects/thunk.ogg
|
||||
soundEmpty:
|
||||
path: /Audio/Weapons/Guns/Empty/empty.ogg
|
||||
clumsyProof: true
|
||||
|
||||
@@ -241,3 +241,22 @@
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
cluster-payload: !type:Container
|
||||
|
||||
- type: entity
|
||||
parent: GrenadeShrapnel
|
||||
id: GrenadeFoamDart
|
||||
name: foam dart grenade
|
||||
description: Releases a bothersome spray of foam darts that cause severe welching.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Grenades/foamdart.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["Base"]
|
||||
- state: primed
|
||||
map: ["enum.TriggerVisualLayers.Base"]
|
||||
- type: ClusterGrenade
|
||||
fillPrototype: BulletFoam
|
||||
maxGrenadesCount: 30
|
||||
grenadeType: enum.GrenadeType.Throw
|
||||
velocity: 70
|
||||
|
||||
|
After Width: | Height: | Size: 494 B |
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-NC-SA-3.0",
|
||||
"copyright": "Taken from goonstation at https://github.com/goonstation/goonstation/pull/13630",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "primed"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 377 B |
|
After Width: | Height: | Size: 323 B |
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 312 B |
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from at commit https://github.com/tgstation/tgstation/commit/f01de25493e2bd2706ef9b0303cb0d7b5e3e471b and modified from the foam force poster by IProduceWidgets (github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "bolt-open"
|
||||
},
|
||||
{
|
||||
"name": "equipped-BACKPACK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-SUITSTORAGE",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 824 B |
|
After Width: | Height: | Size: 876 B |
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from at commit https://github.com/tgstation/tgstation/commit/f01de25493e2bd2706ef9b0303cb0d7b5e3e471b sprite created from foam force poster by IProduceWidgets (github)",
|
||||
"size": {
|
||||
"x": 64,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 726 B |
|
After Width: | Height: | Size: 731 B |
@@ -22,4 +22,4 @@
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||