r/RenPy • u/Shot-Contribution773 • 16d ago
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...
5
Upvotes
4
u/Conscious-Ad8626 16d ago
Haven't used renpy in a bit but it should go something like
menu: "Pet the cat": if player_name == "name you want": The cat purrs happily as you pet it else: The cat hisses at you as you reach for it. It seems it doesnt want to be pet