From ad1e51610755cba018040ea5ee9d5b61690cb810 Mon Sep 17 00:00:00 2001 From: Wizardcrying Date: Mon, 9 Nov 2015 14:03:28 -0800 Subject: [PATCH] Janicart round 2. Now with proper grammar! --- code/game/objects/structures/janicart.dm | 17 ++++++++++------- html/changelogs/Wizardcrying.yml | 6 ++++++ 2 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 html/changelogs/Wizardcrying.yml diff --git a/code/game/objects/structures/janicart.dm b/code/game/objects/structures/janicart.dm index 60ee2a9f172..d433fce1d82 100644 --- a/code/game/objects/structures/janicart.dm +++ b/code/game/objects/structures/janicart.dm @@ -38,19 +38,22 @@ if((INFINITY * -1) to 0) user << "It appears completely unsalvageable" if(mybag) - user << "\A [mybag] is hanging on the pimpin' ride." + user << "\A [mybag] is hanging on \the [nick]." /obj/structure/bed/chair/vehicle/janicart/attackby(obj/item/W, mob/user) ..() if(istype(W, /obj/item/mecha_parts/janicart_upgrade) && !upgraded && !destroyed) user.drop_item(W) qdel(W) - user << "You upgrade the Pussy Wagon." + user << "You upgrade \the [nick]." upgraded = 1 - name = "upgraded janicart" + name = "upgraded [name]" icon_state = "pussywagon_upgraded" else if(istype(W, /obj/item/weapon/storage/bag/trash)) - user << "You hook the trashbag onto the pimpin' ride." + if(mybag) + user << "There's already a [W.name] on \the [nick]!" + return + user << "You hook \the [W] onto \the [nick]." user.drop_item(W, src) mybag = W @@ -58,16 +61,16 @@ if(istype(M)) if(reagents.total_volume >= 2) reagents.trans_to(M, 3) - user << "You wet the mop in the pimpin' ride." + user << "You wet the mop in \the [nick]." playsound(get_turf(src), 'sound/effects/slosh.ogg', 25, 1) if(reagents.total_volume < 1) - user << "This pimpin' ride is out of water!" + user << "\The [nick] is out of water!" return 1 /obj/structure/bed/chair/vehicle/janicart/attack_hand(mob/user) if(mybag) if(occupant && occupant == user) - switch(alert("Choose an action","Janicart","Get off the ride","Remove the bag","Cancel")) + switch(alert("Choose an action.","Janicart","Get off the ride","Remove the bag","Cancel")) if("Get off the ride") return ..() diff --git a/html/changelogs/Wizardcrying.yml b/html/changelogs/Wizardcrying.yml new file mode 100644 index 00000000000..2aa21cbf6ae --- /dev/null +++ b/html/changelogs/Wizardcrying.yml @@ -0,0 +1,6 @@ +author: Wizardcrying + +delete-after: true + +changes: + - bugfix: Disallows the destruction of a janicart's trashbag and its contents by putting on another trashbag. No atom smashing janicart for you, janitors. \ No newline at end of file