Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
Tutorial explaining how to set asset advanced description modifiers in AdventureJS. tutorial, advanced, descriptions, stacking

Descriptions:Advanced Modifiers

To be written...

explain stacking and max_level_of_modified_descriptions_to_stack


DevGame.createAsset({
  class: "Liquid",
  name: "water",
  // description: "It's water. ",
  mixwith: {
    milk: "watery milk",
    ketchup: "ketchup water",
    mustard: "mustard water",
    sand: "gritty water",
  },
  descriptions: {
    touch: "It's a bit oily. ",
    // look: "It's a bit watery. ",
    look: {
      default: "It's a bit watery. ",
      "through pair of binoculars": "The water looks big! ",
      "through microscope": "Microscopic critters frolic in the water. ",

      "from uncomfortable looking bed":
        "{We} see the water in the chalice from the bed. ",

      "in chalice": "The water in the chalice glows and shimmers. ",

      "in chalice, through pair of eyeglasses":
        "Seen through the pair of eyeglasses, the water in the chalice glows and shimmers. ",

      "in chalice, from tree":
        "The water in the chalice glows and shimmers when see from up in the tree. ",

      "from tree, in chalice":
        "From up in the tree the water in the chalice glows and shimmers. ",

      "from tree": "Looking at water from a tree makes it look wateree! ",
    },
    in: {
      default: "You look in the water. ",
    },
  },
});