]> git.smokeofanarchy.ru Git - space-station-14.git/commit
LaunchOnTriggerComponent (#39871)
authorHannah Giovanna Dawson <karakkaraz@gmail.com>
Fri, 24 Oct 2025 21:18:08 +0000 (22:18 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Oct 2025 21:18:08 +0000 (21:18 +0000)
commit891f5a8f6ba76701dd447d6f33e27cc9029a673d
treeb4e6de8ab0327dbd562da33fe41ad713fc1292b7
parent5dc60b4eb3c27502f4ae9ca4e5818363ea0352c9
LaunchOnTriggerComponent (#39871)

* LaunchOnTriggerComponent

Launches an object when a trigger on that
object is caused. The launch will be a certain
amount of force. The direction of the force
will be in the direction the object is facing.

* Fire stationary objects in the direction they're facing

* EVIL

* LESS EVIL

* Resolve @ScarKy0 comments
Content.Shared/Trigger/Components/Effects/LaunchOnTriggerComponent.cs [new file with mode: 0644]
Content.Shared/Trigger/Systems/LaunchOnTriggerSystem.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Fun/toys.yml