<name>Well of +2 Luck</name>
<profession>This water runs deep</profession>
<dialogue>
  <greeting>
    <reply>
      <text></text>
      <script>
        <sound>well</sound>
      </script>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Drink from the well.</text>
      <npc>
        <reply>
          <if><attribute>15|Luck</attribute></if>
          <text>Refreshing!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><number>!wellofluck</number></if>
          <text>You feel lucky!</text>
          <script>
            <attribute>2|Luck</attribute>
            <number>7|wellofluck</number>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <if><number>!0|wellofluck</number></if>
          <text>You feel lucky!</text>
          <script>
            <attribute>2|Luck</attribute>
            <number>=-1|wellofluck</number>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <text>Refreshing!</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Turn away.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>