Modify research time, cost, chance.

Supported Games
GameServerKingsGameServerKings

Modify research time, cost , chance.

Console Commands

  • br.lvl <WorkBenchLevel (0~3)> <cost> <(cost amount)> - Modify the research cost of level N workbench items. e.g. : 'br.lvl 3 cost 750'
  • br.lvl <WorkBenchLevel (0~3)> <time> <(research Time)> - Modify the research time of level N workbench items. e.g. : 'br.lvl 3 time 2'
  • br.lvl <WorkBenchLevel (0~3)> <successChance> <(success chance)> - Modify the chance of research success of level N workbench items. e.g.: 'br.lvl 3 successChance 50'
  • br.lvl <WorkBenchLevel (0~3)> <scrapChance> [Chance of first failure] [Chance of second failure]... - Modify the chance of scrap consumed when research fails of level N workbench items. e.g.: 'br.lvl 3 scrapChance 50' or 'br.lvl 3 scrapChance 50 20'
  • br.lvl <WorkBenchLevel (0~3)> <scrapPercentage> [Percentage of first failure] [Percentage of second failure]... - Modify the percentage of scrap amount consumed when research fails of level N workbench items. e.g.: 'br.lvl 3 scrapPercentage 50' or 'br.lvl 3 scrapPercentage 50 20'
  • br.lvl <WorkBenchLevel (0~3)> <targetItemChance> [Chance of first failure] [Chance of second failure]... - Modify the chance of target item consumed when research fails of level N workbench items. e.g.: 'br.lvl 3 targetItemChance 50' or 'br.lvl 3 targetItemChance 50 20'

Configuration

{
  "Research Resource (Item Short Name)": "scrap",
  "Chat Settings": {
    "Use PopupNotifications": false,
    "Chat Prefix": "[BetterResearching]: ",
    "Chat Prefix Color": "#00FFFF",
    "Chat SteamID Icon": 0
  },
  "Research UI Settings": {
    "Research - Box - Min Anchor (in Rust Window)": "0.84 0.161",
    "Research - Box - Max Anchor (in Rust Window)": "0.94 0.204",
    "Research - Box - Background Color": "0.42 0.52 0.25 0.98",
    "Research - Text - Text Color": "0 0 0 1",
    "Research - Text - Text Size": 16,
    "Research - Text - Timeleft Text Size": 26,
    "ResearchCost - Box - Min Anchor (in Rust Window)": "0.847 0.4055",
    "ResearchCost - Box - Max Anchor (in Rust Window)": "0.947 0.515",
    "ResearchCost - Box - Background Color": "0 0 0 0.98",
    "ResearchCost - Text - Text Color": "1 0 0 1",
    "ResearchCost - Text - Text Size": 50
  },
  "Research Settings": {
    "arrow.fire": {
      "Can Research": true,
      "Display Name": "Fire Arrow",
      "Research Time": 10.0, //research time, 0 is instant.
      "Research Cost Amount": 20,
      "Research Success Chance": 100.0, //range 0~100
      "Item Consumed When Research Fails": {
        "1": {
          "Scrap Consumed Chance": 90.0, 
          "Percentage Of Scrap Amount Consumed": 50.0,  //The first failure consumes 100% of the scrap
          "Target Item Consumed Chance": 50.0
        },
        "2": {
          "Scrap Consumed Chance": 60.0,
          "Percentage Of Scrap Amount Consumed": 60.0,  //The second failure consumes 80% of the scrap
          "Target Item Consumed Chance": 60.0
        },
        "3": {
          "Scrap Consumed Chance": 80.0,
          "Percentage Of Scrap Amount Consumed": 70.0,
          "Target Item Consumed Chance": 80.0
        },
        "4": {
          "Scrap Consumed Chance": 100.0,
          "Percentage Of Scrap Amount Consumed": 80.0, //The fourth failure consumes 0% of the scrap, Five or more failures are the same as the fourth
          "Target Item Consumed Chance": 99.0
        }
    }
   }
  }

Localization

{
  "ResearchFailed": "Researching <color=#FF8C00>{0}</color> failed",
  "ResearchSuccess": "Researched <color=#7FFF00>{0}</color> successfully ",
  "ResearchCantAfford": "You don't have enough Scrap to research {0}. This item's research cost is {1} Scrap",
  "IsBlocked": "<color=#1E90FF>{0}</color> is blocked, cannot research",
  "CantResearch": "CANT RESEARCH",
  "CanResearch": "BEGIN RESEARCH",
  "ResearchFailedScrap": "Researching <color=#FF8C00>{0}</color> failed,Consumed {1} Scrap",
  "ResearchFailedTargetItem": "Researching <color=#FF8C00>{0}</color> failed,target item is consumed"
}

Thank for

glasiore: designed the icon for the plugin. Great man!!!**Arainrr **: Previous maintainer

MIT License


Copyright (c) 2019 Arainrr


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



21.4K downloads
37 watchers

researchunmaintained