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.

It has just now occurred to me that maybe i should only have given a cookie to the first person that guessed it, ooops 😅.
Don't you mean a cockie 😋
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).
Looks like GDScript to me. Pretty sure that's a screenshot from the Godot code editor
It’s the G’Doe Game Engine (GDScript)
🍪
Thanks lol Godot developers rise up
I can tell it's godot script _simply_by_the_snake_case