mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[MIRROR] Weight Machines - Silicon messages and removes screentips [MDB IGNORE] (#22620)
* Weight Machines - Silicon messages and removes screentips (#76993) ## About The Pull Request Removes the hand screentips for weight machines, as it requires you to buckle yourself now, making it misinformation. There's no click+drag tooltip and I dunno if I should add one to something that is obviously a chair. Adds messages for Silicons using the weight machine, because I accidentally added this and thought it was funny enough to keep around. ## Why It's Good For The Game Less misinformation to players. Closes https://github.com/tgstation/tgstation/issues/76980 ## Changelog 🆑 spellcheck: Silicons using weight machines are now told how pointless the task was. spellcheck: Weight machine tooltips no longer lie about using LMB to use the machine. /🆑 --------- Co-authored-by: BlueMemesauce <47338680+BlueMemesauce@ users.noreply.github.com> * Weight Machines - Silicon messages and removes screentips --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: BlueMemesauce <47338680+BlueMemesauce@ users.noreply.github.com>
This commit is contained in:
co-authored by
BlueMemesauce
John Willard
parent
021a349be8
commit
4601f81a06
@@ -31,6 +31,12 @@
|
||||
"You feel robust!",
|
||||
"You feel indestructible!",
|
||||
)
|
||||
var/static/list/finished_silicon_message = list(
|
||||
"You feel nothing!",
|
||||
"No pain, no gain!",
|
||||
"Chassis hardness rating... Unchanged.",
|
||||
"You feel the exact same. Nothing.",
|
||||
)
|
||||
|
||||
/obj/structure/weightmachine/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -38,11 +44,6 @@
|
||||
weight_action = new(src)
|
||||
weight_action.weightpress = src
|
||||
|
||||
AddElement( \
|
||||
/datum/element/contextual_screentip_bare_hands, \
|
||||
lmb_text = "Work out", \
|
||||
)
|
||||
|
||||
var/static/list/tool_behaviors = list(
|
||||
TOOL_CROWBAR = list(
|
||||
SCREENTIP_CONTEXT_RMB = "Deconstruct",
|
||||
@@ -91,7 +92,10 @@
|
||||
START_PROCESSING(SSobj, src)
|
||||
if(do_after(user, 8 SECONDS, src) && user.has_gravity())
|
||||
user.Stun(2 SECONDS)
|
||||
user.balloon_alert(user, pick(finished_message))
|
||||
if(issilicon(user))
|
||||
user.balloon_alert(user, pick(finished_silicon_message))
|
||||
else
|
||||
user.balloon_alert(user, pick(finished_message))
|
||||
user.add_mood_event("exercise", /datum/mood_event/exercise)
|
||||
user.apply_status_effect(/datum/status_effect/exercised)
|
||||
end_workout()
|
||||
|
||||
Reference in New Issue
Block a user