1 file changed
+4
-0
lines changedDiff for: mods/default/trees.lua
+4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
|
mods/default/trees.lua
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
|
4 commit comments
kilbith commentedon Oct 17, 2015
Try to choose a clearer variable name like
light_level
for not requiring a comment aside.ShadowNinja commentedon Oct 18, 2015
I'm guessing you tried to align these comments with a tab width of four. Don't do that -- it breaks with every other tab width. Instead put it before. It doesn't even make sense this way because "matches grass ..." isn't a comment about "return false".
paramat commentedon Oct 27, 2015
Yes, 'll' was only used to match the farming mod.
I agree the comments are sloppy.
I may have to clean this up.
0-afflatus commentedon Oct 28, 2015
👍 for readable variable names. I'm not keen on inline comments either.