Just wrote some code (rule)

https://lemmy.blahaj.zone/post/332733

Just wrote some code (rule) - Blåhaj Lemmy

I swear its not for something lewd 😅. It just ended up like this due to some unfortunate naming decisions lmao. Also if anyone can guess the programming language they’ll get a cookie (🍪) :3.

Definitely gdscript, furthermore I'm going to guess you're making a Hotline Miami-like game

Here's your cookie 🍪

I’m going to guess you’re making a Hotline Miami-like game

What made you guess that?

One of the only function I could think of that would fit the name and structure is one that handles the cocking of a gun. I know that Godot is primarily for 2D games, and Hotline Miami-likes are probably the most common 2D shooters I've been seeing recently.
Oh wow you actually got pretty close then XD. It's not a Hotline Miami like game but the code is indeed for cocking a gun (or rather for playing the sound for it).