Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.

zomseffen

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

1 Neutral

About zomseffen

  • Rank
    Freshly Spawned

Profile Information

  • Location
  1. [Request API Feature]

    Yeah I can see why it was a resource hog. Basically it iterated through each block in a 15x7x15 block around you whenever it wanted to apply local heatsources. I will try another approach. I will let each heat source register itself to the chunk it is in. Then I will only need to look for the neighbouring chunks around the player and their registered heat sources, which will be, in most cases, less than 15x7x15 and therefore more effective.
  2. [Request API Feature]

    The code in TFC is not fuunctional as extraFoodConsumption and extraWaterConsumption never are set to anything other than 0 (see line 61 and 62 the computation is commented out). The worldgen would not be affected much (except around lava and hot springs maybe) as everything that would change the temperature from the standard equation i.e. campfires can only appear after it was generated(placed by players). Yes I want to make something like that, but it would make no sense to ignore the existing temperature mechanic as it would seem strange if a plant freezes to death in a room you heated up as to not freeze yourself.
  3. [Request API Feature]

    And just with this comment you said why light level doesn't work. Hot springs do not spread light. Also heat distribution in reality isn't as disturbed by non see-through materials as light. For the new heat mechanic to affect vegetation is actually one of the main reasons for my API request, since it as it is right now would be impossible.
  4. [Request API Feature]

    So I guess I will need to make my own fork... At least if I want to continue with my idea. It would not be that hard to extend the Temperature model. For the simplest extension, that features actual heat sources I would add a cache containing listed heat sources (i.e. when you build a campfire it registeres itself under its coordinates) and each check for temperature would include a check of nearby heatsources and a heat calculation with those. The calculation could be as simple as calculating the distance and multiplying this with a heat-factor.
  5. [Request API Feature]

    Hello, I'm currently trying my hands at a addon that would include a more complex enviromental temperature model, i.e. rooms can be warmed up by campfires ect. The problem with that is that currently there is no way, that I could find, to replace or alter the temperature calculation in a way that TFC's original blocks also use it. I would request a slight change to the class so that there is a protected set-able static instance of the class. All static methods of the class would refer to the instance and the original code would be shifted into a privat method. I would attach a file where I did exactly that, but I can't. If you want it I can send it, but I wouldn't bother with git as it is only one file and I changed a lot of other stuff in my worspace to test stuff. Thanks for reading.