Skip to content

Commit

Permalink
Double toy E-sword + balance changes + fix (#352)
Browse files Browse the repository at this point in the history
* Double toy E-sword + fix colors of the toy sword + balance for my previous items

* убрано отражение

* Update toys.yml
  • Loading branch information
Roudenn authored Nov 28, 2023
1 parent 14e95e0 commit 48c51d4
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-DoubleToySword = двухклинковый игрушечный меч
.desc = Новый пластиковый меч от Sandy-Cat! Теперь с двумя клинками!
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- type: Clothing
sprite: Backmen/Clothing/Belt/demoman.rsi
- type: Storage
maxSlots: 8
maxSlots: 10
whitelist:
tags:
- CableCoil
Expand Down
51 changes: 50 additions & 1 deletion Resources/Prototypes/Backmen/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,53 @@
bounds: "-0.2,-0.2,0.2,0.2"
density: 30
mask:
- ItemMask
- ItemMask

- type: entity
id: DoubleToySword
name: double bladed toy sword
description: New Sandy-Cat plastic sword! Now with 2 blades!
components:
- type: EnergySword
isSharp: false
litDisarmMalus: 0.7
- type: Wieldable
- type: Sprite
sprite: Objects/Weapons/Melee/e_sword_double.rsi
layers:
- state: e_sword_double
- state: e_sword_double_blade
color: "#FFFFFF"
visible: false
shader: unshaded
map: [ "blade" ]
- type: Item
size: Small
sprite: Objects/Weapons/Melee/e_sword_double.rsi
- type: UseDelay
delay: 1.5
- type: PointLight
enabled: false
radius: 2
energy: 2
color: white
netsync: false
- 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: StaminaDamageOnHit
damage: 12
- type: MeleeWeapon
attackRate: 1.5
damage:
types:
Blunt: 0
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@
orGroup: GiftPool
- id: ToySword
orGroup: GiftPool
- id: DoubleToySword # Backmen
orGroup: GiftPool
- id: RevolverCapGun
orGroup: GiftPool
- id: ToyRubberDuck
Expand Down Expand Up @@ -570,6 +572,8 @@
orGroup: GiftPool
- id: ToySword
orGroup: GiftPool
- id: DoubleToySword # Backmen
orGroup: GiftPool
- id: BalloonSyn
prob: 0.6
orGroup: GiftPool
Expand Down
2 changes: 0 additions & 2 deletions Resources/Prototypes/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,6 @@
components:
- type: EnergySword
isSharp: false
colorOptions:
- DodgerBlue
- type: Sprite
sprite: Objects/Weapons/Melee/e_sword.rsi
layers:
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Procedural/salvage_loot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
- proto: WaterTankHighCapacity
- proto: WeldingFuelTankHighCapacity
cost: 3
- proto: BluespacePillCanister
cost: 2
- proto: BluespacePillCanister # Backmen
cost: 1

# Mob loot table

Expand Down

0 comments on commit 48c51d4

Please sign in to comment.