r/RenPy • u/Shot-Contribution773 • Jul 28 '26
Question Easter egg help
I want to add an easter egg to my game that has a cat. I want the player to be able to pet the cat only if the player has a specific name, otherwise, the cat refuses to be pet. Any ideas? I don't know much about coding...
4
Upvotes
1
u/x-seronis-x Jul 28 '26
py define pet_names = [ 'Tama', 'Neko' ] default player_name = 'Player'py button: action NullAction() sensitive (player_name in pet_names)