Skip to content
Snippets Groups Projects
  1. Mar 20, 2017
    • Auke Kok's avatar
      Screwdriver: simplify logic, allow wallmounted rotation. · ecf160d9
      Auke Kok authored
      - Allow rotation of wallmounted nodeboxes (signs) since they are
        now rotating properly.
      - Instead of testing `ndef` several times, do it once, correctly.
      - Simplify exception logic for nodes that have `on_rotate` set.
      - For simplicity, return itemstack, always.
      - Remove a useless nil check.
      ecf160d9
  2. Mar 19, 2017
  3. Mar 17, 2017
    • paramat's avatar
      Leafdecay: Change Aspen radius back to 3 · d2aae95c
      paramat authored
      Although the new aspen tree schematic only requires a radius of 2 the
      many existing aspen trees in a world require radius 3.
      d2aae95c
    • paramat's avatar
      Junglegrass: Prevent seeding of dirt_with_grass · 02921baa
      paramat authored
      Previously you could place junglegrass on dirt to convert that dirt to
      dirt_with_grass, but this is unsuitable now that rainforest has a
      surface of dirt_with_rainforest_litter.
      Remove junglegrass from the 'grass' group.
      02921baa
    • octacian's avatar
      Keys: Fix crash when using unconfigured default:key · 07e11427
      octacian authored
      Since meta secret field is blank on any keys (default:key) obtained using
      /give, the game will crash if you attempt to use one of these. This follows
      along the principle that the game should never have any reason to crash.
      07e11427
    • paramat's avatar
      Biomes: Add and auto-select mgv7 floatland biomes · 68212967
      paramat authored
      A simple set of biomes for now: Ocean, coniferous forest, grassland,
      sandstone desert.
      Update biome lists for blob ores and decorations.
      
      Make sandstone desert filler 1 node deeper to match other deserts.
      68212967
  4. Mar 16, 2017
  5. Mar 15, 2017
  6. Mar 14, 2017
  7. Mar 12, 2017
  8. Mar 10, 2017
    • paramat's avatar
      Flint & steel sounds: Fix bugs caused by nil position · ad118ea9
      paramat authored
      Usage and tool break sounds were played at 'pointed_thing.above' which
      can be nil if not pointing at anything or at an entity. This caused
      sounds to be played to all players on a server non-positionally.
      
      Fallback to player pos for sounds if 'pointed_thing.above' is nil.
      
      Replace 'pt' variable with 'pointed_thing' in 'register_tool'.
      ad118ea9
    • paramat's avatar
      Mapgen: Use decoration sidelen 16 for jungletrees and junglegrass · c52ad140
      paramat authored
      Currently jungletrees and junglegrass use sidelen 80 for simplicity,
      but this results in a more uneven distribution of decorations. A more
      even distribution helps keep rainforest darker with a more unbroken
      canopy.
      This is also more consistent. 80 is based on the default mapchunk
      size, all other decorations use sidelen 16 or smaller to divide into
      any mapchunk size.
      c52ad140
    • paramat's avatar
      Tree schematics: Alter jungletree, aspen, pine, appletree · 0f0dd0f6
      paramat authored
      Denser jungletree for darker rainforest:
      Highest 'jungletree' nodes now prob 255.
      Add a 5th lower branch layer.
      Increase lower branch layer y-slice prob to 191.
      
      Aspen:
      Extend trunk upwards by 1 node to reduce leafdecay radius to 2.
      
      Pine:
      Make lower trunk 1 node longer so that lowest branches are more often
      higher off the ground, also to make pines taller.
      
      Appletree:
      Make 2 opposite branches prob 255, the other 2 prob 127, to avoid
      trees with 1 or 0 branches. Therefore also add random rotation.
      0f0dd0f6
  9. Mar 07, 2017
  10. Mar 05, 2017
  11. Mar 01, 2017
    • octacian's avatar
      Show title and author of book in description · c68b8274
      octacian authored
      Utilizes the new key-meta (as with nodes) and the ability to set the description of an itemstack with the `description` meta key. Includes code to convert old metadata to new key-meta.
      c68b8274
    • Auke Kok's avatar
      Allow interaction with nodes while wielding these items. · 78c632eb
      Auke Kok authored
      - beds
      - boats
      - carts
      - key/skeleton key
      - seeds
      
      All these had on_place handlers that did not allow nodes with
      an on_rightclick() handler to be used first (if not using
      sneak). This code is taken from the torches mod and applied
      everywhere.
      
      This allows all these items to e.g. be inserted into the `frame`
      mod's item frames.
      78c632eb
  12. Feb 28, 2017
    • paramat's avatar
      Biomes: New surface node for rainforest · d1b13255
      paramat authored
      Moist rainforest plant litter.
      Textures by npx.
      d1b13255
    • octacian's avatar
      Keys: Show owner in description · 9d3a5263
      octacian authored
      Utilizes several new features allowing the description of an item to be changed using the `description` meta key. This also moves keys from using the old single-value itemstack metadata system to the new node-like metadata system.
      9d3a5263
  13. Feb 25, 2017
    • paramat's avatar
      Corals: Smaller, less dense reefs · bb18eecc
      paramat authored
      bb18eecc
    • paramat's avatar
      Lavacooling: Return to chance = 2 · d5f1f964
      paramat authored
      Return to previous parameters interval = 1, chance = 2.
      Compensates for the increase in default active block radius.
      Large amounts of lava cooling at once is known to overload sound
      creation, producing error messages.
      d5f1f964
    • paramat's avatar
      Torches: Reduce light source level from 13 to 12 · 1ec31d84
      paramat authored
      As part of the original plan for a new lightcurve.
      
      With the old lightcurve lights were so dim all light sources had light
      source level 13 or 14 to compensate, resulting in almost no difference
      between torchlight and a maximum brightness light.
      
      The new lightcurve makes all light sources effectively much brighter by
      spreading visually-bright light further, torches are now slightly too
      bright. So now we can reduce the light source level of torches while
      actually making them effectively brighter than with the old lightcurve.
      This also creates a desirable difference between torchlight and a
      maximum-brightness light source.
      1ec31d84
    • MarkuBu's avatar
      Leafdecay: Node timer based implementation, API · 60e5b299
      MarkuBu authored
      This implements a node-timer based leafdecay mechanism, and exposes
      an API to use it in mods.
      
      The API is documented in game_api.txt.
      
      `default.register_leafdecay(leafdecaydef)`
      
      `leafdecaydef` is a table, with following members:
      {
      	trunks = { "default:tree"}, -- nodes considered trunks
      	leaves = { "default:leaves", "default:apple"}, -- nodes considered leaves
      	radius = 3, -- activates leafdecay this far from the trunk
      }
      
      The algorithm will drop `leaves` items in the area if no `trunks` are found
      in the `trunk_radius` sized area around the position of the leaf. If a node
      listed in `leaves` has a group `leafdecay_drop > 0`, then the item is dropped,
      otherwise the item is removed but not dropped.
      
      The algorithm also implements a value `default.leafdecay_speed` (default
      15) which can be modified to increase or decrease of the leaf decay. The
      algorithm will vary the actual speed a bit to introduce randomness.
      
      Leaf decay is randomized by 0.1 seconds to reduce the chance that
      decay happens many times on the same second interval. This requires
      nodetimer_interval to be set to values lower than 1.0 to have an
      effect.
      
      The leaves will decay between 2 and 10 seconds after digging the trunk,
      and happen at non-integer second intervals.
      
      -- The API was added by sofar.
      60e5b299
  14. Feb 21, 2017
  15. Feb 12, 2017
Loading