Crates now take half the time to put on tables and have a message (#21483)

As per the title.
This commit is contained in:
Casper3667
2025-10-16 13:35:58 +02:00
committed by GitHub
parent 53ce1691fa
commit 231daa308c
2 changed files with 13 additions and 2 deletions
@@ -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
/*
+7
View File
@@ -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."