Skip to content

Commit 67f313f

Browse files
authored
Mech Feature: Throw on punch (#4020)
<!-- IT'S NOT WIZDENS REPO, IF YOU WANT TO ADD YOUR CHANGES ON ALL SERVERS, CREATE PR TO WIZDENS REPO --> ## Short description Adds knockback to the punches of large mechs (i.e. not Vim or HAMTR), gorilla style. Also adds a special effect for the HONK :^). I also set the animation sprite to be the punch effect in line with the other PR I have up. The throw power I have to be pretty low for the industrial mechs, and ramped up for the combat mechs. Slightly higher values for comparative syndicate mechs. ## Why we need to add this <!-- What is the reason for adding these changes? Please post links to Discussions as well as Bug Reports here. Please describe how this will change the game balance. --> This was a pretty requested change back during those rework discussions last year. It adds some more flavor to mechs and makes them feel more powerful. ## Media (Video/Screenshots) <!-- If your PR contains in-game changes you must provide screenshots/videos of the changes. --> pictured: My cool OC do not steal being launched into the air by a HONK mech. <img width="353" height="274" alt="Screenshot from 2026-04-03 03-16-15" src="https://github.com/user-attachments/assets/980a33ba-3f64-4f9a-9fe1-a6c7e28c3152" /> ## Checks <!-- check boxes for faster reviewing of your PR --> - [x] I do not require assistance to complete the PR. - [x] Before posting/requesting review of a PR, I have verified that the changes work. - [x] I have added screenshots/videos of the changes, or this PR does not change in-game mechanics. - [x] I affirm that my changes are licensed under the [MIT License](https://github.com/ss14Starlight/space-station-14/blob/Starlight/LICENSE.TXT) and grant permission for use in this repository under its conditions. **Changelog** <!-- If you want the players to know about changes made in this PR, specify them using the template outside the comment. Short and informative. :cl: STARLIGHT TEAM - add: Added Starlight. - remove: Removed SS13. - tweak: Changed SS14. - fix: Fixed Rinary. --> :cl: neurovermi - add: Mechs now throw when punching with no equipment.
1 parent b09e30d commit 67f313f

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

  • Resources/Prototypes/Entities/Objects/Specific/Mech

Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
equipmentWhitelist:
2323
tags:
2424
- IndustrialMech
25+
# STARLIGHT BEGIN
26+
- type: MeleeThrowOnHit
27+
speed: 10
28+
distance: 1
29+
# STARLIGHT END
2530

2631
- type: entity
2732
id: SpecialMech
@@ -95,6 +100,11 @@
95100
- type: MeleeWeapon
96101
hidden: true
97102
attackRate: 0.75
103+
# STARLIGHT BEGIN
104+
angle: 0
105+
animation: WeaponArcFist
106+
wideAnimation: WeaponArcFist
107+
# STARLIGHT END
98108
damage:
99109
types:
100110
Blunt: 25 #thwack
@@ -447,6 +457,19 @@
447457
collection: FootstepClown
448458
params:
449459
variation: 0.17
460+
# STARLIGHT BEGIN
461+
- type: MeleeWeapon
462+
hidden: true
463+
attackRate: 1
464+
damage:
465+
types:
466+
Structural: 2
467+
soundHit:
468+
path: /Audio/Items/bikehorn.ogg
469+
- type: MeleeThrowOnHit
470+
speed: 1
471+
distance: 2
472+
# STARLIGHT END
450473
- type: Mech
451474
baseState: base
452475
openState: base-open
@@ -634,6 +657,11 @@
634657
types:
635658
Blunt: 30 #THWACK
636659
Structural: 180
660+
# STARLIGHT BEGIN
661+
- type: MeleeThrowOnHit
662+
speed: 15
663+
distance: 2.5
664+
# STARLIGHT END
637665
- type: MovementSpeedModifier
638666
# 🌟Starlight-start🌟
639667
baseWalkSpeed: 2 #All mechs walk at the same speed
@@ -695,6 +723,11 @@
695723
types:
696724
Blunt: 40
697725
Structural: 220
726+
# STARLIGHT BEGIN
727+
- type: MeleeThrowOnHit
728+
speed: 18
729+
distance: 4
730+
# STARLIGHT END
698731
- type: MovementSpeedModifier
699732
baseWalkSpeed: 2 #Starlight - All mechs walk at the same speed
700733
baseSprintSpeed: 2.8 #Starlight - No longer unusably slow
@@ -829,6 +862,11 @@
829862
types:
830863
Blunt: 60
831864
Structural: 400
865+
# STARLIGHT BEGIN
866+
- type: MeleeThrowOnHit
867+
speed: 20
868+
distance: 5
869+
# STARLIGHT END
832870
- type: MovementSpeedModifier
833871
baseWalkSpeed: 2 #Starlight - All mechs walk at the same speed
834872
baseSprintSpeed: 3.7
@@ -901,6 +939,11 @@
901939
types:
902940
Blunt: 30
903941
Structural: 200
942+
# STARLIGHT BEGIN
943+
- type: MeleeThrowOnHit
944+
speed: 15
945+
distance: 3
946+
# STARLIGHT END
904947
- type: MovementSpeedModifier
905948
baseWalkSpeed: 2 #Starlight - All mechs walk at the same speed
906949
baseSprintSpeed: 4.5 # 🌟Starlight-Change - Faster than regular Gygax
@@ -976,6 +1019,11 @@
9761019
types:
9771020
Blunt: 50
9781021
Structural: 400
1022+
# STARLIGHT BEGIN
1023+
- type: MeleeThrowOnHit
1024+
speed: 20
1025+
distance: 5
1026+
# STARLIGHT END
9791027
- type: MovementSpeedModifier
9801028
baseWalkSpeed: 2 #Starlight - All mechs walk at the same speed
9811029
baseSprintSpeed: 2.2 #Starlight - No longer unusably slow

0 commit comments

Comments
 (0)