Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions code/game/objects/structures/crates_lockers/crates.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand All @@ -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

/*
Expand Down
7 changes: 7 additions & 0 deletions html/changelogs/FastCrate.yml
Original file line number Diff line number Diff line change
@@ -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."
Loading