Adds some extra toys to the arcade machine (#10637)

This commit is contained in:
Flipp Syder
2022-08-16 02:57:39 -07:00
committed by GitHub
parent ed8414c800
commit 0396f8eb9d
9 changed files with 85 additions and 61 deletions

View File

@@ -487,7 +487,7 @@
- type: BallisticAmmoProvider
whitelist:
tags:
- CartridgeRocket
- BulletFoam
capacity: 1
soundInsert:
path: /Audio/Weapons/drawbow2.ogg
@@ -648,3 +648,49 @@
size: 24
sprite: Objects/Fun/toys.rsi
heldPrefix: orb
- type: entity
id: ToySword
name: toy sword
description: New Sandy-Cat plastic sword! Comes with realistic sound and full color! Looks almost like the real thing!
components:
- type: EnergySword
isSharp: false
colorOptions:
- DodgerBlue
- type: Sprite
sprite: Objects/Weapons/Melee/e_sword.rsi
layers:
- state: e_sword
- state: e_sword_blade
color: "#FFFFFF"
visible: false
shader: unshaded
map: [ "blade" ]
- type: Item
size: 5
sprite: Objects/Weapons/Melee/e_sword.rsi
- type: UseDelay
delay: 1.0
- type: PointLight
netsync: false
enabled: false
radius: 2
energy: 2
color: white
- type: Appearance
- type: ToggleableLightVisuals
spriteLayer: blade
inhandVisuals:
left:
- state: inhand-left-blade
shader: unshaded
right:
- state: inhand-right-blade
shader: unshaded
- type: DisarmMalus
malus: 0
- type: MeleeWeapon
damage:
types:
Blunt: 0

View File

@@ -20,7 +20,7 @@
components:
- type: BallisticAmmoProvider
capacity: 40
proto: BulletDonkSoft
proto: BulletFoam
- type: Sprite
sprite: Objects/Fun/toys.rsi
state: foambox

View File

@@ -1,34 +1,14 @@
- type: entity
id: BaseBulletDonkSoft
id: BulletFoam
description: I hope you're wearing eye protection.
name: foam dart
parent: BaseItem
abstract: true
components:
- type: Tag
tags:
- Cartridge
- CartridgeRocket
- type: Projectile
damage:
types:
Blunt: 1
soundHit:
path: /Audio/Weapons/Guns/Hits/bullet_hit.ogg
- type: entity
id: BulletDonkSoft
name: foam dart
parent: BaseBulletDonkSoft
description: I hope you're wearing eye protection.
components:
- type: CartridgeAmmo
proto: BulletFoam
deleteOnSpawn: true
- type: Sprite
sprite: Objects/Fun/toys.rsi
layers:
- state: foamdart
- type: Projectile
damage:
types:
Blunt: 1
- type: Tag
tags:
- BulletFoam
- type: Ammo
- type: Sprite
sprite: Objects/Fun/toys.rsi
layers:
- state: foamdart

View File

@@ -323,24 +323,6 @@
intensitySlope: 1
maxIntensity: 10
- type: entity
id: BulletFoam
name: foam dart
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
sprite: Objects/Fun/toys.rsi
layers:
- state: foamdart
- type: Projectile
deleteOnCollide: true
damage:
types:
Blunt: 2
soundHit:
path: /Audio/Weapons/Guns/Hits/snap.ogg
- type: entity
id: BulletCap
name: cap bullet

View File

@@ -36,6 +36,9 @@
- type: Tag
id: Bottle
- type: Tag
id: BulletFoam
- type: Tag
id: CableCoil
@@ -307,7 +310,7 @@
- type: Tag
id: MailingUnitElectronics
- type: Tag
id: Medkit