From 231daa308cbfe008b67b5efbbe783e9a1cd06dcc Mon Sep 17 00:00:00 2001 From: Casper3667 <8396443+Casper3667@users.noreply.github.com> Date: Thu, 16 Oct 2025 13:35:58 +0200 Subject: [PATCH] Crates now take half the time to put on tables and have a message (#21483) As per the title. --- code/game/objects/structures/crates_lockers/crates.dm | 8 ++++++-- html/changelogs/FastCrate.yml | 7 +++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/FastCrate.yml diff --git a/code/game/objects/structures/crates_lockers/crates.dm b/code/game/objects/structures/crates_lockers/crates.dm index 0e13a491398..1fd2eb1cb98 100644 --- a/code/game/objects/structures/crates_lockers/crates.dm +++ b/code/game/objects/structures/crates_lockers/crates.dm @@ -192,9 +192,9 @@ else //Add time based on mass of contents for (var/obj/O in contents) - timeneeded += 3* O.w_class + timeneeded += 1.5* O.w_class for (var/mob/M in contents) - timeneeded += 3* M.mob_size + timeneeded += 1.5* M.mob_size if (timeneeded > 0) user.visible_message("[user] starts hoisting \the [src] onto \the [table].", "You start hoisting \the [src] onto \the [table]. This will take about [timeneeded * 0.1] seconds.") @@ -204,6 +204,10 @@ else forceMove(get_turf(table)) set_tablestatus(ABOVE_TABLE) + var/loudness = "thunk." + if(timeneeded * 0.1 > 10) + loudness = "loud THUNK!" + visible_message("[user] puts \the [src] onto \the [table] with a [loudness]", "[user] puts \the [src] onto \the [table].", intent_message = THUNK_SOUND) return TRUE /* diff --git a/html/changelogs/FastCrate.yml b/html/changelogs/FastCrate.yml new file mode 100644 index 00000000000..583ab33a8c2 --- /dev/null +++ b/html/changelogs/FastCrate.yml @@ -0,0 +1,7 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - rscadd: "Crates now takes half as long to hoist up on tables." + - rscadd: "Crates now have a message when put on a table."