GithubHelp home page GithubHelp logo

Comments (4)

MapleWheels avatar MapleWheels commented on July 29, 2024
  1. Is proper intended behaviour. #barodevmoment.
  2. Oil Filtration Life is listed as "Standard Oil Filter Service Life" as that was what it's original display name was in the old config. It's just mixed up, see 3.
  3. Is an error on my part, left the value empty so it autofilled to internal name.
    image
  4. Will need to be fixed in the next version of MTK. It's an issue caused by the vanilla GUI Slider.

from mechtrauma.

PeasantFoundry avatar PeasantFoundry commented on July 29, 2024
  1. Not quite:

-- oil Filtration Efficieny / Oil Deterioration Modifier GUI.TextBlock(GUI.RectTransform(Vector2(1, 0.05), category.Content.RectTransform), "Oil Filtration Efficiency Rating (%)", nil, nil, GUI.Alignment.Center, true).ToolTip = "This determines how long filtered oil will last in machines. A 100% efficiency rating will eliminate oil deterioration." -- oil Deterioration group local oilFiltrationEPG = GUI.LayoutGroup(GUI.RectTransform(Vector2(1.0, 0.1), category.Content.RectTransform), true, GUI.Anchor.TopLeft) --oil sprite local oilFiltrationES = ItemPrefab.GetItemPrefab("oil_can").InventoryIcon local image = GUI.Image(GUI.RectTransform(Vector2(0.1,1.0), oilFiltrationEPG.RectTransform), oilFiltrationES) image.ToolTip = "Oil Can" -- oil Deterioration Setting (multiplier) local oilFiltrationEP = GUI.NumberInput(GUI.RectTransform(Vector2(0.9,0.1), oilFiltrationEPG.RectTransform), NumberType.Float) oilFiltrationEP.valueStep = 1.0 oilFiltrationEP.MinValueFloat = 1.0 oilFiltrationEP.MaxValueFloat = 100.0 oilFiltrationEP.FloatValue = MT.Config.oilFiltrationEP oilFiltrationEP.OnValueChanged = function () MT.Config.oilFiltrationEP = oilFiltrationEP.FloatValue MT.Config.oilFiltrationM = MT.Config.oilFiltrationEP / 100 OnChanged() end

from mechtrauma.

MapleWheels avatar MapleWheels commented on July 29, 2024

Fixed in local dev
image

from mechtrauma.

PeasantFoundry avatar PeasantFoundry commented on July 29, 2024

Alright, everything seems to be going smoothly now!

from mechtrauma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.