mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-22 15:41:41 +00:00
## About The Pull Request stop forgetting to include mapload, if you don't include it then every single subtype past it by default doesn't include it for example, `obj/item` didn't include mapload so every single item by default didn't fill in mapload  ## Regex used: procs without args, not even regex `/Initialize()` procs with args `\/Initialize\((?!mapload)((.)*\w)?` cleanup of things i didn't want to mapload: `\/datum\/(.)*\/Initialize\(mapload`
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/wiremod.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, "You [anchored?"secure":"unsecure"] [src].")
|
|
return TRUE
|