Page 1 of 1

I've decided to get into coding

Posted: Mon Jan 30, 2023 12:06 am
by LEtranger135
𝘪 𝘮𝘢𝘺 𝘯𝘰𝘵 𝘣𝘦 𝘨𝘰𝘰𝘥 𝘢𝘵 𝘵𝘩𝘪𝘴, 𝘴𝘰 𝘪'𝘷𝘦 𝘣𝘦𝘦𝘯 𝘸𝘰𝘯𝘥𝘦𝘳𝘪𝘯𝘨 𝘢𝘣𝘰𝘶𝘵 𝘸𝘩𝘢𝘵 𝘤𝘰𝘶𝘭𝘥 𝘣𝘦 𝘴𝘰𝘮𝘦 𝘦𝘢𝘴𝘺 𝘪𝘴𝘴𝘶𝘦𝘴 𝘵𝘰 𝘧𝘪𝘹 𝘧𝘰𝘳 𝘎𝘉𝘗? 𝘪'𝘷𝘦 𝘢𝘭𝘴𝘰 𝘣𝘦𝘦𝘯 𝘸𝘰𝘯𝘥𝘦𝘳𝘪𝘯𝘨 𝘢𝘣𝘰𝘶𝘵 𝘸𝘩𝘦𝘳𝘦 𝘪𝘯 𝘵𝘩𝘦 𝘣𝘢𝘴𝘦𝘣𝘢𝘭𝘭 𝘣𝘢𝘵 "𝘳𝘦𝘧𝘭𝘦𝘤𝘵" 𝘤𝘰𝘥𝘦 𝘥𝘰𝘦𝘴 𝘪𝘵 𝘴𝘵𝘢𝘵𝘦 𝘸𝘩𝘪𝘤𝘩 𝘪𝘵𝘦𝘮𝘴 𝘢𝘳𝘦 𝘢𝘭𝘭𝘰𝘸𝘦𝘥 𝘵𝘰 𝘣𝘦 𝘳𝘦𝘵𝘶𝘳𝘯𝘦𝘥 𝘵𝘰 𝘴𝘦𝘯𝘥𝘦𝘳 𝘣𝘦𝘤𝘢𝘶𝘴𝘦 𝘪 𝘱𝘭𝘢𝘯 𝘵𝘰 𝘪𝘮𝘱𝘳𝘰𝘷𝘦 𝘵𝘩𝘢𝘵 𝘮𝘦𝘤𝘩𝘢𝘯𝘪𝘤 𝘵𝘰 𝘣𝘦 𝘤𝘰𝘮𝘱𝘢𝘵𝘪𝘣𝘭𝘦 𝘸𝘪𝘵𝘩 𝘰𝘵𝘩𝘦𝘳 𝘵𝘩𝘳𝘰𝘸𝘯 𝘪𝘵𝘦𝘮𝘴.

Re: I've decided to get into coding

Posted: Mon Jan 30, 2023 6:13 am
by Mice World
Anything with the "Good First Issue" label shouldn't be too hard to fix.

https://github.com/tgstation/tgstation/ ... st%20Issue

Re: I've decided to get into coding

Posted: Tue Feb 07, 2023 5:14 am
by Arcanemusic
Nobody started out good at this, so welcome aboard. :)

A good place to start, as you get comfortable with DM and with SS13 coding is to start breaking down parts of the code you're really familiar with. For me personally, I distinctly recall basically deconstructing stun baton code when I started out, since I had played enough security and enough of the game to know the mechanics behind stun batons inside and out. They turn on (In attack_hand), they stun you (in attackby), and they have a power cell that they have to manage. If you know what something does, you can work your way to where it lives in the code, and eventually find where it happens, and you'll learn a lot about the "how" and they "why" along the way.

A good trick for your baseball bat question, load up a local copy of the code, go and reflect something with a baseball on the local side, and find the chat message that goes off when you reflect. That's your first thread you can use to find the specifics on how that all goes down. Feel free to ask any questions as well in the tg discord #coding-general or in the coderbus server.

Cheers!