mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-19 06:03:14 +00:00
* Icons folder cleaning wave two * Merge conflict resolution * Modular path hell * hmm * Update 2022-10.yml * Another modular thing --------- Co-authored-by: YesterdaysPromise <122572637+YesterdaysPromise@users.noreply.github.com> Co-authored-by: Giz <vinylspiders@gmail.com>
25 lines
628 B
Plaintext
25 lines
628 B
Plaintext
/**
|
|
* # Server
|
|
*
|
|
* Immobile (but not dense) shells that can interact with
|
|
* world.
|
|
*/
|
|
/obj/structure/server
|
|
name = "server"
|
|
icon = 'icons/obj/science/circuits.dmi'
|
|
icon_state = "setup_stationary"
|
|
|
|
density = TRUE
|
|
light_system = MOVABLE_LIGHT
|
|
light_on = FALSE
|
|
|
|
/obj/structure/server/Initialize(mapload)
|
|
. = ..()
|
|
AddComponent(/datum/component/shell, null, SHELL_CAPACITY_VERY_LARGE, SHELL_FLAG_REQUIRE_ANCHOR|SHELL_FLAG_USB_PORT)
|
|
|
|
/obj/structure/server/wrench_act(mob/living/user, obj/item/tool)
|
|
set_anchored(!anchored)
|
|
tool.play_tool_sound(src)
|
|
balloon_alert(user, anchored ? "secured" : "unsecured")
|
|
return TRUE
|