room temperacher display

  • TwistedDragon
    9th Sep 2013 Member 0 Permalink

    Hi everyone, what if tpt had a room temp display that changed the background temp? Lets say you had a ice city, that city could stay cold thanks to the room tempuracher display.

     

     

    Please comment if you think this is useful.

    Edited 3 times by vepr2. Last: 9th Sep 2013
  • randalserrano
    10th Sep 2013 Member 3 Permalink

    It is called ambient heat.

  • Michael238
    10th Sep 2013 Member 0 Permalink

    It would be nice if there was an option or a command to change the ambient air temperature.

  • jacob1
    10th Sep 2013 Developer 2 Permalink
    sim.ambientAirTemp(newtemperature)

    No, this is not documented in the wiki, because the wiki is severely outdated in documenting the lua api ... you are much better off looking at the source. Although I know most of the functions, you can always ask me if something exists.
    Edited once by jacob1. Last: 10th Sep 2013
  • mniip
    10th Sep 2013 Developer 0 Permalink
    or you can ask src/cat/LuaScriptInterface.cpp and src/cat/LegacyLuaApi.cpp
  • boxmein
    10th Sep 2013 Former Staff 0 Permalink
    or..... http://boxmein.x10.mx/tptelements/lua/lua-reference.html (I think it doesn't have sim.ambientAirTemp tho)

    edit: :o
    Edited once by boxmein. Last: 10th Sep 2013
  • jacob1
    10th Sep 2013 Developer 0 Permalink
    @boxmein (View Post)
    no, that is where I found the name of the function, since I was too lazy to open the source.
  • TwistedDragon
    11th Sep 2013 Member 0 Permalink

    @jacob1 It would be nice if you could add or work on that background temp display that changes the temp of the whole room when ever you want it too; what I'm thinking of is a slide bar that sits at the top right of the screen.