mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-17 20:47:29 +00:00
Hello everybuddy, your number three rated coder-failure here to clean up some mess. This PR accomplishes some of the more major structural clean up changes I wanted to do with /obj/ folder, but decided to wait on until wallening gets merged, and so, time has come. Several things to still be done, although I know these cleaning PR's are quite a load, so will wait for this one to get done with first. ## Why It's Good For The Game Saner spriters, better sprites, less annoyance. Also deleted a whole load of redundancy this time around, a lot of sprites which existed simultaniously in two places now got exit their quantum superposition.
23 lines
728 B
Plaintext
23 lines
728 B
Plaintext
/obj/item/wallframe/light_fixture
|
|
name = "light fixture frame"
|
|
desc = "Used for building lights."
|
|
icon = 'icons/obj/machines/lighting.dmi'
|
|
icon_state = "tube-construct-item"
|
|
result_path = /obj/structure/light_construct
|
|
wall_external = TRUE
|
|
|
|
/obj/item/wallframe/light_fixture/small
|
|
name = "small light fixture frame"
|
|
icon_state = "bulb-construct-item"
|
|
result_path = /obj/structure/light_construct/small
|
|
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT)
|
|
|
|
/obj/item/wallframe/light_fixture/try_build(turf/on_wall, user)
|
|
if(!..())
|
|
return
|
|
var/area/local_area = get_area(user)
|
|
if(!local_area.static_lighting)
|
|
to_chat(user, span_warning("You cannot place [src] in this area!"))
|
|
return
|
|
return TRUE
|