Posts: 3,091
	Threads: 273
	Joined: Dec 2012
	
	
 
	
	
		Not sure i did the Topic call stuff right, but I'm ~95% confident in the pipe laying.
Currently works on plating and space tiles.
Lays down pipe as you pull/push it and attempts to auto connect pipes.
Can't handle junctions, trunks, etc., but this should help a lot for long distance projects or mass repairs.
prpr: UM-025
https://github.com/goonstation/goonstati...6/pull/166
	 
	
	
	
	
 
 
	
	
	
		
	Posts: 227
	Threads: 22
	Joined: Jul 2019
	
BYOND Username: saccharineChampion
	
 
	
	
		Pipe laying always struck me as one of those mechanics that is more clunky than it ought to be, and this definitely helps. +1 and high hopes for this!
	
	
	
	
	
 
 
	
	
	
		
	Posts: 38
	Threads: 2
	Joined: May 2019
	
BYOND Username: Couturier
	
 
	
	
		I quite like this feature.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 550
	Threads: 58
	Joined: Nov 2018
	
BYOND Username: adharainspace
Character Name: Ada O'hara & Porter Starboard
	
 
 
	
	
	
		
	Posts: 2,455
	Threads: 113
	Joined: Feb 2017
	
BYOND Username: Technature
	
 
	
	
		Finally, something that will convince people to actually fix those fucking garbage pipes!
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,091
	Threads: 273
	Joined: Dec 2012
	
	
 
	
	
		bumping this in the spirit off making station repairs more easier.
If it needs adjustments or anything before merge, please do lemme know
	
	
	
	
	
 
 
	
	
	
		
	Posts: 100
	Threads: 22
	Joined: Apr 2019
	
BYOND Username: Vengarr
	
 
 
	
	
	
		
	Posts: 140
	Threads: 16
	Joined: Jan 2020
	
BYOND Username: MarkNstein
	
 
	
	
		I too, greatly desire this patch.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,425
	Threads: 118
	Joined: Sep 2016
	
BYOND Username: Aft2001
	
 
	
	
		for the love of god please yes make this a thing
Who cares if it gives antags another tool to abuse? The only thing they can make is hilariously complicated death traps and those are always fun to watch, on top of this tool making station repairs 10000x times easier.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,091
	Threads: 273
	Joined: Dec 2012
	
	
 
	
	
		since this seems to be a point of confusion, the mobile pipe dispenser is an already existing item in 2020 code that is just a child of the regular dispenser butv with anchored = 0 and a different sprite.
This patch isn't waiting for sprites or code or anything, it can be copy pasted directly into the code block for the existing mobile pipe dispenser
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,386
	Threads: 161
	Joined: Sep 2012
	
	
 
	
	
		I actually brought up merging this patch in admin chat last week. It is really good, but the one issue we had with it was that the dispenser would lay pipes before the object actually got to the next tile which looked kinda weird.
There were two proposed solutions iirc. Use a spawn to make it place the pipe after the time it takes to move is complete. And place a pipe when the dispenser leaves a tile, not when it enters one.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,091
	Threads: 273
	Joined: Dec 2012
	
	
 
	
		
		
		02-05-2020, 03:34 PM 
(This post was last modified: 02-05-2020, 03:35 PM by UrsulaMejor. Edited 1 time in total.)
	
	 
	
		issue with it laying pipe as it leaves tile is that it needs information from the previous pipe it laid in order to do the with join; this is provided rather nicely with Move() right now since it naturally has new and old loc params. to do it when leaving a tile would require old old loc or something
I think it having a delay is appropriate; some kind of machine sound could also be added to make it a bit less magical" how it lays pipe
	
	
	
	
	
 
 
	
	
	
		
	Posts: 360
	Threads: 61
	Joined: Jul 2014
	
	
 
	
	
		I love this entire thing, the only question I DO have is, what about junction pipes?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,091
	Threads: 273
	Joined: Dec 2012
	
	
 
	
	
		you'll have to dispense those manually from it as you go; they're just too complicated to auto join as you drag
	
	
	
	
	
 
 
	
	
	
		
	Posts: 631
	Threads: 35
	Joined: Aug 2018
	
BYOND Username: pali6
	
 
	
	
		I merged this! And in the process of merging I rewrote most of it, sorry.