02-21-2020, 11:09 PM
(This post was last modified: 02-21-2020, 11:12 PM by Ryumi. Edited 1 time in total.)
So, we have those really nice light tube fixtures that automatically stick to walls when spawned! We do not however have them for small lights...
until now!!
![[Image: YPlRSAe.gif]](https://i.imgur.com/YPlRSAe.gif)
This basically just takes the code for those lights and turns it into a proc that all lights can use, and adjusts a couple variables so that it is more modular. This way we can have a newly-added line of small lights that autostick, and leaves a way to easily add more auto-sticking lights in the future!
I would like to give credit to whoever made the autostick code but I didn't see any names in the code. To whoever did it though, thank you!
(On a side note, I ended up making this so I could have an easier time mapping in Donut 3 but took the code into a separate patch for this 'cause I thought it'd be nice)
PR here!
until now!!
![[Image: YPlRSAe.gif]](https://i.imgur.com/YPlRSAe.gif)
This basically just takes the code for those lights and turns it into a proc that all lights can use, and adjusts a couple variables so that it is more modular. This way we can have a newly-added line of small lights that autostick, and leaves a way to easily add more auto-sticking lights in the future!
I would like to give credit to whoever made the autostick code but I didn't see any names in the code. To whoever did it though, thank you!
(On a side note, I ended up making this so I could have an easier time mapping in Donut 3 but took the code into a separate patch for this 'cause I thought it'd be nice)
![queen greater domestic space-bee queen greater domestic space-bee](https://forum.ss13.co/images/smilies/goonstation/bee-queen.gif)
PR here!