Ok so i've been learning the BYOND code, specifcally space station 13 for the past week, and have been working on fiddling on my server making a gritty type of setting within a cave. However I have tried to look everywhere to figure out how you make it to where when a player enters dark areas with no light, they can't see 1x1 infront of them?
For example, player enters a completely dark area - however he can still see like 1 hex square in each direction around him. How do I make it to where it's completely dark unless he has a light source?
Any help would be greatly appreciated as I seem kinda stupidly stumped.
PS. I thought it would be a config setting but I can't seem to find it.
![]() Apr 8 2018, 2:53 pm
Best response
|
|
See "see_in_dark var (mob)". You'll want to set it to 0 on the player.
|