Jump to content

change cash prizes


gregas1994
 Share

Recommended Posts

5 hours ago, alian62 said:

League settings or if in advanced rules the money section

<?xml version='1.0' encoding='utf-8'?>
<properties>

    <record id="bslp">
        <list id="fields">

      <!-- prize money -->
      <record>
        <translation id="name" translation_id="242347" type="use" value="Prize Money" />
        <flags id="type" value="record" />
        <boolean id="is_tab" value="true" />
        <list id="hidden_dependencies">
          <record field="use_game_rules" equals="active_comp" />
        </list>
        <list id="fields">

          <!-- win prize money -->
          <record>
            <flags id="field" value="win_prize_money" />
            <translation id="name" translation_id="344625" type="use" value="Prize Money For Win[COMMENT: editor; prize money field]" />
            <flags id="type" value="cash" />
            <boolean id="store_currency" value="true" />
            <translation id="hint" translation_id="294622" type="use" value="Cash given to teams for each win[COMMENT: Competition editor; field hint]" />
            <boolean id="is_optional" value="true" />
          </record>

          <!-- draw prize money -->
          <record>
            <flags id="field" value="draw_prize_money" />
            <translation id="name" translation_id="344622" type="use" value="Prize Money For Draw[COMMENT: editor; prize money field]" />
            <flags id="type" value="cash" />
            <boolean id="store_currency" value="true" />
            <translation id="hint" translation_id="294624" type="use" value="Cash given to teams for each draw[COMMENT: Competition editor; field hint]" />
            <boolean id="is_optional" value="true" />
          </record>

          <!-- defeat prize money -->
          <record>
            <flags id="field" value="defeat_prize_money" />
            <translation id="name" translation_id="344621" type="use" value="Prize Money For Defeat[COMMENT: editor; prize money field]" />
            <flags id="type" value="cash" />
            <boolean id="store_currency" value="true" />
            <translation id="hint" translation_id="294626" type="use" value="Cash given to teams for each defeat[COMMENT: Competition editor; field hint]" />
            <boolean id="is_optional" value="true" />
          </record>

          <!-- prize money -->
          <record>
            <flags id="field" value="prize_money" />
            <translation id="name" translation_id="300916" type="use" value="Prize Money[COMMENT - competition stage rules panel, heading]" />
            <flags id="type" value="list" />
            <boolean id="allow_column_sorting" value="true" />
            <translation id="hint" translation_id="293753" type="use" value="The prize money given to a team finishing in a specific position[COMMENT: Competition editor; field hint]" />
            <list id="hidden_dependencies">
              <record field="use_game_rules" equals="active_comp" />
            </list>
            <record id="list_item">
              <list id="fields">

                <!-- cash -->
                <record>
                  <flags id="type" value="cash" />
                  <boolean id="store_currency" value="true" />
                  <translation id="name" translation_id="293754" type="use" value="Cash" />
                  <translation id="hint" translation_id="293755" type="use" value="The amount of money that teams get[COMMENT: Competition editor; field hint]" />
                </record>

                <!-- position -->
                <record>
                  <flags id="field" value="position" />
                  <translation id="name" translation_id="227884" type="use" value="Position" />
                  <flags id="type" value="integer" />
                  <translation id="hint" translation_id="346795" type="use" value="Position of team which gets this money[COMMENT: Competition editor; field hint]" />
                  <integer id="min_value" value="1" />
                  <integer id="max_value" value="100" />
                  <integer id="width" value="100" />
                </record>
              </list>
            </record>
          </record>
        </list>
      </record>
        </list>
    </record>
</properties>

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...