From 23f0284cabb338d8a27c91497c73e82bcd34ce21 Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:34:45 -0500 Subject: [PATCH] Adds some trailing commas to lists, fixes typo (#79422) ## About The Pull Request What it says on the tin. Another one of these PR's. Is there a reason why we don't use the linters to enforce trailing commas? ## Why It's Good For The Game Cleaner diffs ## Changelog :cl: code: added some trailing commas in lists that were missing them, fixed a typo in comments /:cl: --- code/modules/cargo/orderconsole.dm | 6 +++--- code/modules/shuttle/supply.dm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/cargo/orderconsole.dm b/code/modules/cargo/orderconsole.dm index 5dfcbe8076a..16e3be76f3f 100644 --- a/code/modules/cargo/orderconsole.dm +++ b/code/modules/cargo/orderconsole.dm @@ -152,7 +152,7 @@ "cost" = pack.get_cost(), "orderer" = order.orderer, "reason" = order.reason, - "id" = order.id + "id" = order.id, )) data["amount_by_name"] = amount_by_name @@ -177,7 +177,7 @@ "id" = pack, "desc" = P.desc || P.name, // If there is a description, use it. Otherwise use the pack's name. "goody" = P.goody, - "access" = P.access + "access" = P.access, )) return data @@ -266,7 +266,7 @@ orderer_ckey = ckey, reason = reason, paying_account = account, - coupon = applied_coupon + coupon = applied_coupon, ) working_list += order diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 969bb29efb0..a3948b0e26c 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -32,7 +32,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list( /obj/machinery/camera, /obj/item/gps, /obj/structure/checkoutmachine, - /obj/machinery/fax + /obj/machinery/fax, ))) /// How many goody orders we can fit in a lockbox before we upgrade to a crate @@ -185,7 +185,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list( if(!paying_for_this.adjust_money(-price, "Cargo: [spawning_order.pack.name]")) if(spawning_order.paying_account) paying_for_this.bank_card_talk("Cargo order #[spawning_order.id] rejected due to lack of funds. Credits required: [price]") - if(!spawning_order.can_be_cancelled) //only if it absolutly cannot be canceled by the player do we cancel it for them + if(!spawning_order.can_be_cancelled) //only if it absolutely cannot be canceled by the player do we cancel it for them rejected_orders += spawning_order continue