Cronenbrogues / cronenbroguelike

A body horror roguelike text adventure
GNU Affero General Public License v3.0
5 stars 3 forks source link

Make It Possible to Selectively Enable/Disable Commands #121

Open flosincapite opened 3 years ago

flosincapite commented 3 years ago

adventurelib uses (get|set)_context for something like this. Ideally, it would be possible to make certain commands only feasible when particular conditions are met. For complex interactions (e.g., supplying a predicate to a partial command), it would also be helpful to disable other generally available commands.