Paragraph
Also known as "scenes" in other Interactive Fiction engines/tools, VeinIF's "Paragraph" contains the content that describe the context on which the player will have to make a choice, the choices itself, items and more.
{
  id: 0,
  name: ``,
  content: ``,
  choices: [
    { id: 1, choiceCont: ``, nextName: `` },
  ],
},{
  id: 0,
  name: ``,
  content: ``,
  item: [
    { itemName: ``, description: ``, itemQty: -1, itemCode: ``, }
  ],
  choices: [
    { id: 1,
      choiceCont: ``,
      nextName: ``,
      precondition:
      {
        item: [
          { 
            itemName: ``, 
            description: ``, 
            itemQty: 1, 
            itemCode: ``, 
          },
        ],
        stat: [{ statName: ``, value: 1,}],
      },
      consequence: {
        item: [
        { itemName: ``, description: ``, itemQty: -1, itemCode: ``, }
        ],
        stat: [
          { statName: ``, value: 1, style: statStyle.show },
          { statName: ``, value: 1, style: statStyle.hide }
        ],
      },
    },
  ],
},Last updated
Was this helpful?