Skip to content

Commit

Permalink
i love yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vanx committed Mar 5, 2025
1 parent 84daa7a commit 16e367d
Show file tree
Hide file tree
Showing 29 changed files with 206 additions and 40 deletions.
4 changes: 4 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Fun/toy_guns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@
- type: Appearance
- type: StaticPrice
price: 275
- type: Item # WWDP guns resize
storedRotation: -45
shape:
- 0,0,5,0 # Toy size
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- type: Item
size: Large
shape:
- 0, 0, 3, 1
- 0, 0, 7, 1 # WWDP weapons resize
# WD EDIT END
- type: Clothing
sprite: DeltaV/Objects/Weapons/Guns/Battery/energygun.rsi
Expand Down Expand Up @@ -308,3 +308,7 @@
steps: 5
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
map: [ "enum.GunVisualLayers.Base" ]
- type: Item
size: Huge
shape:
- 0,0,7,2 # Same as L6 SAW
- type: Gun
minAngle: 4
maxAngle: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 2
- type: Item # WWDP guns resize
size: Large
shape:
- 0,0,5,1 # Same as China Lake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
components:
- type: Item
size: Large
shape: # WWDP guns resize
- 0,0,5,1 # bullpup
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Rifles/jackdaw.rsi
layers:
Expand Down Expand Up @@ -183,7 +185,7 @@
components:
- type: BallisticAmmoProvider
whitelist:
tags:
tags:
- CartridgeMusket
capacity: 1
proto: CartridgeMusket
Expand All @@ -203,4 +205,4 @@
graph: WeaponRifleMusketGraph
node: musket
- type: UseDelay
delay: 0 #Straight up doesn't work for guns
delay: 0 #Straight up doesn't work for guns
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
size: Large
shape:
- 0,0,5,1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
sprite: DeltaV/Objects/Weapons/Guns/Shotguns/Adjutant.rsi
- type: Item
size: Large
shape: # WWDP guns resize
- 0,0,7,1
- type: Gun
fireRate: 1.5
selectedMode: SemiAuto
Expand All @@ -31,7 +33,7 @@

- type: entity
name: Kammerer
parent: BaseWeaponShotgun
parent: WeaponShotgunKammerer # WWDP fix
id: WeaponShotgunKammererNonLethal #Legacy name
description: When an old Remington design meets modern materials, this is the result. A favourite weapon of militia forces throughout many worlds. Uses .50 shotgun shells.
suffix: Beanbag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@
# node: start #Frontier
# deconstructionTarget: null #Frontier
- type: Wieldable # Frontier
- type: Item # WWDP guns resize
size: Small
shape:
- 0,0,5,1
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@
steps: 5
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1

- type: entity
name: laser rifle
Expand All @@ -300,6 +304,10 @@
- type: HitscanBatteryAmmoProvider
proto: RedLaser
fireCost: 62.5
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1

- type: entity
name: practice laser rifle
Expand Down Expand Up @@ -394,6 +402,10 @@
- type: Battery
maxCharge: 5000
startingCharge: 5000
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,5,1

- type: entity
name: pulse rifle
Expand Down Expand Up @@ -421,6 +433,10 @@
- type: Battery
maxCharge: 40000
startingCharge: 40000
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,5,1

- type: entity
name: laser cannon
Expand Down Expand Up @@ -453,6 +469,10 @@
bluntStaminaDamageFactor: 1.3333
- type: DamageOtherOnHit
staminaCost: 9.5
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1

- type: entity
name: portable particle decelerator
Expand Down Expand Up @@ -528,6 +548,10 @@
steps: 5
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1

- type: entity
name: disabler
Expand Down Expand Up @@ -611,8 +635,10 @@
id: WeaponDisablerSMG
description: Advanced weapon that exhausts organic targets, weakening them until they collapse.
components:
- type: Item
- type: Item # WWDP guns resize
size: Large
shape:
- 0,0,5,1
- type: Tag
tags:
- Taser
Expand Down Expand Up @@ -939,9 +965,9 @@
- proto: BulletDisablerSmgSpread
fireCost: 120
- type: Item
size: Large
size: Huge
shape:
- 0,0,3,1
- 0,0,7,1
sprite: Objects/Weapons/Guns/Battery/inhands_64x.rsi
heldPrefix: energy
- type: Tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
steps: 4
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,7,2 # Huge but not ginormous since it needs to fit into the bundle

- type: entity
name: L6C ROW
Expand Down Expand Up @@ -131,8 +134,9 @@
map: [ "enum.GunVisualLayers.Base" ]
- state: mag-3
map: [ "enum.GunVisualLayers.Mag" ]
- type: Item
size: Huge
- type: Item # WWDP guns resize
shape:
- 0,0,7,2 # Same a L6 SAW
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
proto: GrenadeFrag
soundInsert:
path: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: RPG-7
Expand Down Expand Up @@ -106,6 +109,9 @@
steps: 2
zeroVisible: false
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,7,1

- type: entity
name: multiple rocket launcher
Expand Down Expand Up @@ -141,6 +147,9 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,7,2

- type: entity
name: pirate cannon
Expand Down Expand Up @@ -173,6 +182,9 @@
proto: CannonBall
soundInsert:
path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: tether gun
Expand All @@ -183,7 +195,9 @@
description: Manipulates gravity around objects to fling them at high velocities.
components:
- type: Item
storedRotation: -90
size: Large # WWDP Guns resize
shape:
- 0,0,5,1
- type: TetherGun
frequency: 5
dampingRatio: 4
Expand Down Expand Up @@ -225,7 +239,9 @@
description: Manipulates gravity around objects to fling them at high velocities.
components:
- type: Item
storedRotation: -90
size: Large # WWDP Guns resize
shape:
- 0,0,5,1
- type: ForceGun
frequency: 15
dampingRatio: 4
Expand Down Expand Up @@ -294,6 +310,11 @@
unshaded:
True: { state: base-unshaded }
False: { state: base-unshaded-off }
- type: Item # WWDP Guns resize
size: Small
shape:
- 0,0,1,0
- 0,1,0,1

# Admeme
- type: entity
Expand Down Expand Up @@ -335,6 +356,10 @@
True: { visible: true }
False: { visible: false }
- type: GiftIgnore # WD EDIT
- type: Item # WWDP guns resize
size: Large
shape:
- 0,0,5,1

- type: entity
name: force gun
Expand Down Expand Up @@ -378,6 +403,10 @@
True: { visible: true }
False: { visible: false }
- type: GiftIgnore # WD EDIT
- type: Item # WWDP guns resize
size: Large
shape:
- 0,0,5,1

- type: entity
name: meteor launcher
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
abstract: true
components:
- type: Sprite
- type: Item
- type: Item # WWDP guns resize
size: Huge
shape:
- 0,0,7,1
- type: Clothing
sprite: Objects/Weapons/Guns/Rifles/ak.rsi
quickEquip: false
Expand Down Expand Up @@ -224,6 +226,8 @@
- type: Clothing
sprite: Objects/Weapons/Guns/Rifles/foam_rifle.rsi
- type: Item
shape: # WWDP guns resize
- 0,0,5,0 # Toy size
sprite: Objects/Weapons/Guns/Rifles/foam_rifle_inhand_64x.rsi
- type: BallisticAmmoProvider
whitelist:
Expand Down
15 changes: 15 additions & 0 deletions Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,3,1

- type: entity
name: C-20r sub machine gun
Expand Down Expand Up @@ -137,6 +140,9 @@
steps: 6
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: antique C-20r submachine gun
Expand Down Expand Up @@ -195,6 +201,9 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: Vector
Expand Down Expand Up @@ -243,6 +252,9 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: WT550
Expand Down Expand Up @@ -305,6 +317,9 @@
steps: 6
zeroVisible: true
- type: Appearance
- type: Item # WWDP guns resize
shape:
- 0,0,5,1

- type: entity
name: antique Wt550
Expand Down
Loading

0 comments on commit 16e367d

Please sign in to comment.