From 034247bbcd8a8e6d609779e9795ca8384ee578a7 Mon Sep 17 00:00:00 2001 From: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com> Date: Thu, 26 Nov 2020 15:41:26 -0500 Subject: [PATCH] Update CONTRIBUTING.md (#10495) * Update CONTRIBUTING.md * Update CONTRIBUTING.md --- .github/CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 3a4b64ffd128..f00f527c8276 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -114,6 +114,15 @@ var/path_type = "/obj/item/baseball_bat" ### Use var/name format when declaring variables While DM allows other ways of declaring variables, this one should be used for consistency. +### Variable names must not be the same as a proc name +```DM +//Don't do this +/obj + var/block_attack = TRUE + +/obj/proc/block_attack() + return density +``` ### Tabs, not spaces You must use tabs to indent your code, NOT SPACES.