mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 02:51:41 +00:00
## About The Pull Request Further continous organizing and cleaning the Icons folder. There are still some minior nitpicks left to do, but I reached my daily sanity expenses limit again, and the faster these get in the less issues for both me and others later. Also cleans some mess I caused by my blindness last PR. ## Why It's Good For The Game Saner spriters = better sprites
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
|