Travis: Indentation / list fixes (#1254)

Fixes the tools/indentation.awk script to not demand a comma at the end of perfectly valid comments.
Makes it report unnecessary commas in lists.
Readds it to the Travis build list.
This commit is contained in:
SoundScopes
2016-12-19 16:40:52 +02:00
committed by skull132
parent 7267ec826c
commit 97bb1e8e38
91 changed files with 483 additions and 440 deletions
+3 -3
View File
@@ -756,7 +756,7 @@ var/list/global/random_stock_large = list(
/obj/item/weapon/storage/pill_bottle/inaprovaline,
/obj/item/weapon/storage/pill_bottle/kelotane,
/obj/item/weapon/storage/pill_bottle/spaceacillin,
/obj/item/weapon/storage/pill_bottle/tramadol,
/obj/item/weapon/storage/pill_bottle/tramadol
)
var/newtype = pick(options)
new newtype(L)
@@ -1339,7 +1339,7 @@ var/list/global/random_stock_large = list(
"/obj/item/weapon/material/knife/butch" = 1,
"/obj/item/weapon/material/hatchet" = 1.5,
"/obj/item/weapon/material/hatchet/unathiknife" = 0.75,
"/obj/item/weapon/material/hatchet/tacknife" = 1,
"/obj/item/weapon/material/hatchet/tacknife" = 1
)
var/type = pickweight(blades)
@@ -1509,7 +1509,7 @@ var/list/global/random_stock_large = list(
"/obj/item/weapon/rig/ce" = 2,
"/obj/item/weapon/rig/hazmat" = 4,
"/obj/item/weapon/rig/medical" = 4,
"/obj/item/weapon/rig/hazard" = 3,
"/obj/item/weapon/rig/hazard" = 3
)
var/type = pickweight(rigs)