Hey does anyone know how to modify the “get” command in Inform 7? I wrote a bit in a game where a player is supposed to be unable to “take” a roadkill armadillo unless they’re holding a spatula:
instead of taking the roadkill armadillo for the first time:
if player is holding spatula, say “You jam the spatula between the asphalt and the armadillo and expertly flip it into the air like a flapjack. Nice, looks like you got it unstuck! You pocket the now loose armadillo.”;
if player is holding spatula, now player is holding armadillo;
if player is not holding spatula, say “It’s stuck to the asphalt; you’re not getting it loose without some sort of implement.”
Since Inform seems to understand “take” and “get” as synonymous, I stupidly assumed modifying one would automatically modify the other. But I guess it doesn’t. Yet trying to code in “instead of getting armadillo…” or “understand ‘get’ as taking” just breaks the whole game. Is there a way to disable getting?