Files
Kano ae68667372 Ports large object transparency from TGMC (#21508)
Ports https://github.com/tgstation/TerraGov-Marine-Corps/pull/3528
Credit goes to original coders. This PR makes large objects transparent
when something important is behind it.

For now the list of large objects and the things make them transparent
by using this component as follows:

Large objects:

- Trees
- Cranes
- Old shipping containers (new ones doesn't allow anything to go behind
it)

The things make them transparent:
- Mobs
- Carts
- Portable generators
- Nuke

## Images


https://github.com/user-attachments/assets/a4f8ddfc-0fde-4b2d-8bd8-d15e1c6e8e0b

### Asset Licenses
The following assets that **have not** been created by myself are
included in this PR:

| Path | Original Author | License |
| --- | --- | --- |
| code/datums/components/large_object_transparency.dm | nemvar (TGMC) |
AGPLv3 |
2025-10-30 16:57:04 +00:00

52 lines
1.4 KiB
Plaintext

/obj/structure/beach_umbrella
name = "overhead beach umbrella"
desc = "A tightly secured beach umbrella which looks pretty elegant against the sun."
icon = 'icons/obj/structure/urban/misc_64x64.dmi'
icon_state = "umbrella"
anchored = TRUE
layer = 9
/obj/structure/beach_umbrella/alt
icon_state = "umbrella_alt"
/obj/structure/dock_structure
name = "docking tie"
desc = "A large, very secure tie-off point for a dock."
icon = 'icons/obj/structure/industrial/docks.dmi'
icon_state = "dock_tie"
anchored = TRUE
/obj/structure/dock_structure/rail
name = "docking rail line"
desc = "A large railing mechanism to lift vessels out of the water with ease."
icon_state = "rail"
/obj/structure/dock_structure/rail/start
icon_state = "rail_start"
/obj/structure/dock_structure/rail/end
icon_state = "rail_end"
/obj/structure/boat
name = "surface water craft"
desc = "A large boat floating steadily atop the water."
icon = 'icons/obj/structure/industrial/watercraft.dmi'
icon_state = "radio_ship"
anchored = TRUE
density = TRUE
layer = 9
/obj/structure/crane
name = "overhead guiding crane"
desc = "A towering crane for lifting industrial sized cargo."
icon = 'icons/obj/structure/industrial/cranes.dmi'
icon_state = "crane"
anchored = TRUE
density = TRUE
layer = 9
pixel_x = -16
/obj/structure/crane/Initialize()
. = ..()
AddComponent(/datum/component/large_transparency)