Merge pull request #275 from ReoDaProtovali/FactorioFeeding

Industrial Feeding Tubes
This commit is contained in:
evilew
2024-10-06 15:07:19 +02:00
committed by GitHub
8 changed files with 490 additions and 2 deletions

View File

@@ -16,6 +16,10 @@
/obj/structure/disposaloutlet/Initialize(mapload, obj/structure/disposalconstruct/make_from)
. = ..()
//GS Add: Hacky Solution, but it works.
if(type == /obj/structure/disposaloutlet/industrial_feeding_tube)
return
//GS Add End.
if(make_from)
setDir(make_from.dir)
make_from.forceMove(src)

View File

@@ -264,6 +264,9 @@
var/obj/structure/disposaloutlet/O = locate() in T
if(O)
//GS add: Fixes a minor issue where the trunk gets linked to feeding tube improperly
if(O.type = /obj/structure/disposaloutlet/industrial_feeding_tube)
return
linked = O