![]() |
[Feature] Adds auto-positoning small lights - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30) +---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31) +---- Thread: [Feature] Adds auto-positoning small lights (/showthread.php?tid=13937) |
[Feature] Adds auto-positoning small lights - Ryumi - 02-21-2020 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!! ![]() 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! RE: [Feature] Adds auto-positoning small lights - mbc - 02-22-2020 merged |