It looks like sierra's space quest iii (or police quest 2 or larry 2) which means a son of xenon takes place some 20 years later and is technically more mature note:
44+ Space Quest 4 Xenon Code Background. Walk to the right twice. Xenon is a peaceful blue planet in the earnon solar system of the earnon galaxy.
The Sierra Chest Space Quest Iv Roger Wilco And The Time Rippers Easter Eggs from www.sierrachest.com
Space quest iv goes several steps further with its self awareness by sending roger through his thankfully the code is the same every time, so it's not too hard to temporarily save your game space quest iv presents an interesting dichotomy. Use the jar of slime on the lock in the center of the hatch. Look at the control on the right side of the tunnel.
Take the rope from the bottom of the screen.
Walk to the right twice. It is ruled by democracy. Read the hintbook to get the first 3 digits of a code and open the paper (from the nest) to get the second half. I finally settled on space quest iv.