Player Experience Upgrade
version 2/111127 by Aaron Reed
Chapter - Allow for switching things in darkness
[If the player switches off something providing light and not held, allow them to switch it back on again. ]
Definition: a thing is switchable: if it provides the property switched on, yes.
After deciding the scope of the player when in darkness (this is the Small Kindnesses allow for switching things in darkness rule):
repeat with machine running through switchable things enclosed by location:
unless the holder of machine is a closed opaque container and the holder of machine is not the holder of player, place machine in scope.