Skip to content
Permalink
Branch: master
Commits on Mar 16, 2019
  1. Benchmark: Reset run number correctly

    gitMarky committed Mar 16, 2019
  2. Benchmark: Print results as a final statistic

    gitMarky committed Mar 16, 2019
    This also revealed an error in the logic
Commits on Mar 14, 2019
  1. Benchmark: Enable the full setup

    gitMarky committed Mar 14, 2019
  2. Benchmark; Added more run scenarios

    gitMarky committed Mar 14, 2019
  3. Benchmark: Basic scenario

    gitMarky committed Mar 14, 2019
Commits on Mar 13, 2019
  1. Added some basic movement tests

    gitMarky committed Mar 13, 2019
Commits on Mar 11, 2019
  1. Refactor movement: Further cleanup, added new function (#88)

    gitMarky committed Mar 11, 2019
    Renamed variables and parameters for improved readability, extracted logic for digging to a separate function.
Commits on Mar 5, 2019
  1. Refactor movement code (#87)

    gitMarky authored and isilkor committed Mar 5, 2019
    Improve readability by adding appropriate parentheses and braces, and fixing misleading/confusing whitespace. Extract SolidMask removal to a function since it's used in several places.
Commits on Dec 27, 2018
  1. Added method for getting the connected object

    gitMarky committed Dec 27, 2018
  2. Pipe control: Begin integrating limits into the library

    gitMarky committed Dec 27, 2018
    Not sure about air pipes yet, those should theoretically be either
    source or drain, instead of a separate connection category?
    
    See also:
    https://bugs.openclonk.org/view.php?id=1871
  3. Renamed folder

    gitMarky committed Dec 27, 2018
  4. Renamed pipe control internals

    gitMarky committed Dec 27, 2018
  5. Renamed Library_Tank to Library_PipeControl

    gitMarky committed Dec 27, 2018
    The library did not depend on the Library_LiquidContainer script at all,
    removed that include and added it to the previous includers.
    Removed the IsLiquidTank() identifier, because it was unused.
  6. Fix smoke and gravity issue

    gitMarky committed Dec 27, 2018
    Smoke used to fly higher with gravity 40 than with gravity 10. Fixed
    this by using a start value. At default gravity, light smoke will fly
    rise a little higher now, and heavy smoke behaves the same.
    With higher gravity the smoke may fall to the ground now.
Commits on Dec 25, 2018
  1. Limit liquid input to the maximum available amount

    gitMarky committed Dec 25, 2018
  2. Collect cut pipes to Clonk inventory, if possible

    gitMarky committed Dec 25, 2018
  3. Formatted code

    gitMarky committed Dec 25, 2018
  4. Use new library in pump

    gitMarky committed Dec 25, 2018
  5. Library: Resource selection

    gitMarky committed Dec 25, 2018
    The resource/material selection from the pump was practical, maybe even
    applicable for cable cars and the like. Extracted a separate library for
    that.
Commits on Dec 21, 2018
  1. Extracted actual producer logic||Certain external projects have diffe…

    gitMarky committed Dec 21, 2018
    …rent systems and want to just use the logic on their own, without copy & paste of the file contents.
  2. Added version info to the docu

    gitMarky committed Dec 21, 2018
  3. Simplified logic for substitutes

    gitMarky committed Dec 21, 2018
    The production cost method returns an array of material cost arrays, but
    their format has changed. Instead of
      [<default resource>, <cost>, <substitute(s)>]
    it now returns an array of proplists
      [{Resource = optionA, Amount = costA}, {Resource = optionB, Amount =
    costB}]
    so that there are fewer cases to keep in mind: No "are there
    substitutes?", but you can simply check all variants and pick the best.
    This also allows different substitutions, for example "2 earth or 3
    sand" is now possible.
  4. Formatted code

    gitMarky committed Dec 21, 2018
  5. Added more producer tests

    gitMarky committed Dec 21, 2018
  6. Added producer test for substitute components

    gitMarky committed Dec 21, 2018
  7. Fix producer test

    gitMarky committed Dec 21, 2018
    Updating the values for substitutions was forgotten in 808e7fa, leading
    to a failing test 5.
  8. Formatted code, no change in functionality

    gitMarky committed Dec 21, 2018
    Brackets, protected/private func => func, whitespaces
  9. Fix the logic again

    gitMarky committed Dec 21, 2018
    Otherwise you can exit containers without an entrance area.
  10. Removed unused constants

    gitMarky committed Dec 21, 2018
    This was a weird menu thing that I added about 2 years ago, and it is
    not very useable, and not used :)
  11. Added option for ignoring contents in the interaction menu

    gitMarky committed Dec 21, 2018
    Also ignore Clonks as "inventory items" if they are contained.
Commits on Dec 20, 2018
  1. Fix not being able to exit a structure

    gitMarky committed Dec 20, 2018
    It seems that the default structures have the entrance close to the
    offset, so that there is an overlap and can_be_entered is true even
    inside the structure.
    
    In my case the structure offset and entrance area do not overlap, so you
    could unfortunately not leave the structure.
Older
You can’t perform that action at this time.