Skip to content
Snippets Groups Projects
  1. Aug 01, 2019
  2. Jan 02, 2019
  3. Dec 08, 2018
  4. Nov 16, 2018
  5. Oct 11, 2018
  6. Oct 09, 2018
  7. Oct 04, 2018
  8. Sep 03, 2018
    • 12Me21's avatar
      Stairs: Safer slab name check · aafe31c1
      12Me21 authored
      Before, it checked if the node name *contained* "stairs:slab_", which could detect
      things like "xxxxxstairs:slab_xxxx". Changed the pattern to "^stairs:slab_".
      aafe31c1
  9. Jul 01, 2018
  10. Jan 31, 2018
  11. Dec 11, 2017
  12. Nov 16, 2017
  13. Nov 05, 2017
  14. Oct 24, 2017
  15. Aug 14, 2017
  16. Jul 22, 2017
  17. Jul 08, 2017
  18. Jul 01, 2017
  19. Jun 22, 2017
  20. Jun 14, 2017
  21. May 24, 2017
  22. May 01, 2017
  23. Apr 11, 2017
    • MarkuBu's avatar
      Stairs: Improve stair and slab rotation on placement · e6d0d775
      MarkuBu authored
      Slabs are placed horizontal instead of vertical, even if they are
      placed on a wall.
      Slabs are rotated automatically if they are placed to another slab,
      no matter which material.
      Slabs are placed at the lower position if the placer points into
      the lower half of the pointed node and to the upper position if
      pointed to the upper half.
      Stairs are placed normal if the placer points to the lower half of
      the pointed node and rotated upside down if pointed to the upper half.
      e6d0d775
  24. Mar 29, 2017
  25. Mar 07, 2017
  26. Nov 02, 2016
    • cx384's avatar
      Add and edit fuel registrations · 23ba2d3a
      cx384 authored
      Edited fuels: fences, wooden ladder.
      New fuels:
      boat, paper, book, dry shrub, stick, vessels shelf, wooden tools,
      wooden door, trapdoor, fence gates, farming crops, stairs, slabs, beds.
      23ba2d3a
  27. Oct 25, 2016
  28. Sep 14, 2016
    • Auke Kok's avatar
      Stairs: Big simplification of slabs combination · b848e35c
      Auke Kok authored
      Combine slabs if identical based on orientations using a simple lookup
      table if the nodes are identical.
      
      Otherwise relies on place_node() to place the node, which properly
      handles rotation compared to adjacent nodes already, and can orient
      based on look_dir as well.
      
      Initial slabs placed are oriented based on (1) the orientation of
      the pointed "face" (assumes nodes are cubic, of course), and uses
      the player look direction to orient the node n/e/w/s if the slab
      is horizontal or upside-down. If placed against a vertical face,
      the slab is placed against the face without rotation around the axis
      perpendicular to that vertical face. This allows upside down placement
      and vertical placement without screwdriver.
      
      If a slab is placed on top of an upside down slab, or below a normally
      placed slab, the rotation is inverted so that no "floating" slab
      is created.
      
      Largely based on kilbith's #807 PR. Slab combining and place_node()
      usage by sofar.
      
      Since this relies entirely on `on_place` mechanics, this fails to
      combine slabs into a plain node if the space *above* is occupied.
      This is unavoidable due to the fact that on_place() happens after
      the checks required to see if pointed_thing.above is empty or not.
      b848e35c
  29. Aug 29, 2016
  30. Aug 09, 2016
  31. Jun 26, 2016
  32. Jun 22, 2016
  33. Jun 15, 2016
    • Auke Kok's avatar
      Stairs: Add mossy cobble slab and stair · 2199be51
      Auke Kok authored
      Allow water to turn cobble slab and stairs to turn into mossy versions.
      
      There is no crafting recipe for mossy stairs and mossy slabs, the
      stair/slab API has been modified to allow for a recipeitem that
      is `nil`, which will omit adding a crafting recipe for these two
      items. The API documentation is updated.
      
      The slabs and stairs will turn mossy when water is adjacent, just like
      cobblestone. You can either farm mossy versions by placing them in
      water for a while, then collecting them, or run water over your craft.
      2199be51
  34. May 06, 2016
  35. Feb 14, 2016
    • paramat's avatar
      Consolidate ABMs · 7d2dfe41
      paramat authored
      Spread ABM intervals evenly across 1 to 16 seconds
      16s ensures no nodes are missed when player walks past
      Adjust chance values to compensate, for identical action rates
      Combine lavacooling ABMs into one, return to chance = 1
      Grass growth: add 'neighbors = "air"' to avoid
      processing the thousands of underground dirt nodes
      Grass death: Reduce action rate to that of grass growth
      Fire: Use chance = 1 for flame extinguishing
      and flame removal when mod is disabled
      7d2dfe41
  36. Jan 26, 2016
    • Auke Kok's avatar
      Stair and Slab groups. · a5d40e13
      Auke Kok authored
      Organizing these in groups will allow mods to do several things
      easier:
      
      - create craft recipes using them as ingredients
      - manipulate map nodes based on group properties
      
      There are quite a few slab and stair blocks already, so automatically
      add these groups at registration time for all of those. Since most
      mods I've seen use the registration code in this submod, they will
      also benefit.
      a5d40e13
Loading