[MIRROR] Player-craftable Trapdoors [MDB IGNORE] (#15618)

* Player-craftable Trapdoors

* Update trapdoor.dm

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-08-13 22:05:53 -07:00
committed by GitHub
co-authored by RandomGamer123 Zonespace
parent 74a955565a
commit 4d913a19bd
7 changed files with 138 additions and 10 deletions
+2 -1
View File
@@ -674,6 +674,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
* ## trapdoor placer!
*
* This places an unlinked trapdoor in the tile its on (so someone with a remote needs to link it up first)
* Pre-mapped trapdoors (unlike player-made ones) are not conspicuous by default so nothing stands out with them
* Admins may spawn this in the round for additional trapdoors if they so desire
* if YOU want to learn more about trapdoors, read about the component at trapdoor.dm
* note: this is not a turf subtype because the trapdoor needs the type of the turf to turn back into
@@ -685,7 +686,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
/obj/effect/mapping_helpers/trapdoor_placer/LateInitialize()
var/turf/component_target = get_turf(src)
component_target.AddComponent(/datum/component/trapdoor, starts_open = FALSE)
component_target.AddComponent(/datum/component/trapdoor, starts_open = FALSE, conspicuous = FALSE)
qdel(src)
/obj/effect/mapping_helpers/ztrait_injector