Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Don't perform implicit actions for doomed tasks

    [Inspired by (but implemented differently from) the "Delicious, Delicious Rocks" example. Don't bother to try automatically taking something as a result of an EAT or WEAR command that can't possible work (because the noun isn't eatable or wearable).]

    Before eating an inedible thing (this is the Small Kindnesses don't implicitly take inedibles rule):
        stop the action with library message eating action number 1 for the noun.

    Before wearing a not wearable thing (this is the Small Kindnesses don't implicitly take unwearables rule):
        stop the action with library message wearing action number 1 for the noun.