From dc378dfe3f2a5afafc7b36938bf722dc3f05180a Mon Sep 17 00:00:00 2001 From: Max Piepenbrink Date: Mon, 4 Nov 2024 08:24:52 -0800 Subject: [PATCH] Update adding-a-simple-bikehorn.md spell aptly correctly --- src/en/ss14-by-example/adding-a-simple-bikehorn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/ss14-by-example/adding-a-simple-bikehorn.md b/src/en/ss14-by-example/adding-a-simple-bikehorn.md index e5a21071e..f0f8eb1cb 100644 --- a/src/en/ss14-by-example/adding-a-simple-bikehorn.md +++ b/src/en/ss14-by-example/adding-a-simple-bikehorn.md @@ -145,7 +145,7 @@ Those helpers can be thought of as handling **client click -> server** and **ser In the Space Station 14 codebase, Components & EntitySystems alike (along with other classes) go inside folders directly under the `Content.Server`, `Content.Shared`, or `Content.Client` projects. There are folders for `Atmos`, `Botany`, `Research`, `Storage`, and a lot more. If a suitable folder doesn't exist, create one! Never put files directly into the top directory of the project. ``` -Under the `Content.Server` project, there's a folder called `Sound`. This folder contains an apty named `Components` folder. That seems like a good place to put our new component (and in fact, this is where the real `EmitSoundOnTriggerComponent` is located). Let's call our version `PlaySoundOnUseComponent`. Note: if you just copy paste this code in, it may not work, as you'll need to import various classes. Your IDE can do this for you. +Under the `Content.Server` project, there's a folder called `Sound`. This folder contains an aptly named `Components` folder. That seems like a good place to put our new component (and in fact, this is where the real `EmitSoundOnTriggerComponent` is located). Let's call our version `PlaySoundOnUseComponent`. Note: if you just copy paste this code in, it may not work, as you'll need to import various classes. Your IDE can do this for you. Now let's just make the most basic component possible: