Commit Graph

213 Commits

Author SHA1 Message Date
Quentin Quaadgras
a624a6fabe Minor change to the sled message, hold sneak instead of press sneak! 2018-04-23 21:41:35 +12:00
Quentin Quaadgras
0c90b5dcf3 Use the nice new settings api. 2018-04-23 21:27:20 +12:00
Hybrid Dog
efbfa989d2 Fix snow placement bug due to levelled
Before, when placing snow one node above snow, the lower snow node grew and didn't turn into a snowblock

Also, test for protection
2018-03-20 14:13:33 +01:00
Hybrid Dog
1510ced771 Add old minetest_game snow texture to other_texures 2018-02-15 17:45:09 +01:00
Hybrid Dog
663b151dec Fix spawn_falling_node crash 2018-02-15 17:44:27 +01:00
Foz
898c7e313b Rewrite stairs code.
- Handle stairsplus stairs and MTG stairs in the same file.
 - Only create stairs using stairsplus or MTG stairs, not both.
 - Handle map switching from MTG stairs to stairsplus automatically.
 - If using stairsplus:
   - Move stairsplus nodes to proper namespace.
   - Alias stairsplus nodes that moved to a new namespace.
   - Alias duplicated ice and snowblock stairs and slabs to their new namespace.
   - Make ice_brick sawable too.
   - Unify stairsplus cut ice and default:ice texture brightness.
 - If using MTG stairs:
   - Move stairs and slabs to MTG stairs namespace.
   - Alias stairs and slabs that moved to the new namespace.
2018-01-15 18:05:19 +01:00
Hybrid Dog
0dcf9b5f0e Fix missing snow leaves and apple leavesdecay 2017-12-17 12:10:55 +01:00
Hybrid Dog
600eaa2313 Attempt to fix snow leaves leafdecay 2017-12-16 15:45:37 +01:00
Hybrid Dog
aec3bf2ed3 Remove redundant (and obsolete) nodeupdate 2017-12-16 15:29:27 +01:00
Hybrid Dog
fd111402d5
M  src/snowball.lua
2017-12-16 15:22:36 +01:00
Hybrid Dog
2df09a7ebb Fix pinetree leafdecay 2017-06-25 20:44:50 +02:00
Splizard
13ecf6a8b2 Merge pull request #26 from FozLand/master
Remove reference to undeclared global variable.
2017-06-19 13:33:24 +12:00
Foz
d962139358 Remove reference to undeclared global variable.
Fixes Splizard/minetest-mod-snow#24
2017-06-18 17:39:03 -04:00
Hybrid Dog
812b0f977e Use new setting functions 2017-06-18 12:39:05 +02:00
Hybrid Dog
f7b048a851 Also for christmas trees 2017-03-23 16:03:01 +01:00
Hybrid Dog
44ae0ab35d Add treecapitator support 2017-03-23 15:52:21 +01:00
SmallJoker
c72f56068f Should fix #25 2016-12-04 10:06:14 +01:00
HybridDog
da6a4b3361 buffer the perlin values
M  src/mapgen_v6.lua
2016-09-17 22:17:04 +02:00
HybridDog
bf113a15ff chulens does not need a z field
M  src/mapgen_v6.lua
2016-09-17 12:03:23 +02:00
HybridDog
9d657246c9 do not recreate perlin noise objects in every mapchunk
M  src/mapgen_v6.lua
2016-09-17 11:38:38 +02:00
HybridDog
48db038755 this should make ice generation faster
M  src/mapgen_v6.lua
2016-09-14 19:46:44 +02:00
HybridDog
7774eb3f7f streamline mapgen code: reduce index calculations
M  src/mapgen_v6.lua
2016-09-14 16:53:01 +02:00
HybridDog
9f73cc4778 short dofiles
M  init.lua
2016-09-06 08:24:05 +02:00
HybridDog
c9aaed23a5 inform about loading snow
M  init.lua
2016-09-06 08:20:54 +02:00
HybridDog
b1a7d12b90 round player position, #20 could be fixed
M  src/falling_snow.lua
2016-08-21 09:07:00 +02:00
HybridDog
6affec0a56 fix typo
M  src/falling_snow.lua
2016-08-21 09:00:16 +02:00
HybridDog
7080b2dbe0 show more information if #20 happens
M  src/falling_snow.lua
2016-08-19 11:52:32 +02:00
HybridDog
30b0dd9557 attempt to fix #20
M  src/falling_snow.lua
2016-08-16 10:30:08 +02:00
HybridDog
020ef2fa49 fix mistake
M  src/snowball.lua
2016-08-13 13:17:45 +02:00
HybridDog
d61a1d54ab edit comments
M  src/nodes.lua
2016-08-13 13:15:15 +02:00
HybridDog
92f5cb0fde move stairs dofiles to nodes.lua
M  init.lua
M  src/nodes.lua
2016-08-13 13:09:11 +02:00
HybridDog
1c1a5c11b7 move the snow redefinition to nodes.lua
M  src/nodes.lua
M  src/snowball.lua
2016-08-13 13:05:54 +02:00
HybridDog
6488a3b8f5 fix deprecated log and make snow walkable
M  src/snowball.lua
2016-08-13 13:01:34 +02:00
HybridDog
90e08fe0bc use after instead of globalstep
M  src/falling_snow.lua
M  src/snowball.lua
2016-08-01 11:03:39 +02:00
HybridDog
a5ae53fbeb fix deprecated messages
M  depends.txt
M  src/mapgen.lua
M  src/nodes.lua
2016-07-31 18:32:49 +02:00
HybridDog
850e5d9d33 fix ground_y searching bug
fixes #18

M  readme.txt
M  src/mapgen_v6.lua
2016-07-16 21:54:31 +02:00
HybridDog
990ace49d8 changes in falling.lua 2016-07-16 21:53:23 +02:00
HybridDog
b3cdf93212 make more tables weak 2016-04-29 18:05:04 +02:00
HybridDog
049349360e log when changing the falling snow setting and make the cache tables weak tables 2016-04-29 17:58:13 +02:00
HybridDog
9d2211b0b5 do not assume a fixed chunksize when generating map 2016-04-25 18:47:52 +02:00
HybridDog
745fca1c84 add missing brackets, might fix issue #15 2016-04-24 18:47:09 +02:00
HybridDog
dee9b5ada1 use the chunksize setting 2016-02-13 19:23:41 +01:00
HybridDog
b994bbc5fd abort mapgen if no nodes are set and execute collectgarbage to clean memory 2016-02-13 19:11:01 +01:00
Splizard
a6af64f3f1 Fix sled crash 2016-02-01 14:50:20 +13:00
HybridDog
8d78cb6867 play sound when the snowball hurts an object and make damage depend on velocity differrence 2015-12-30 11:31:38 +01:00
HybridDog
d8d79655af update abms and fix snowball entity, thanks to crabman77 2015-12-30 10:31:23 +01:00
HybridDog
0e52c53452 make snowballs damage entities, thanks to @LeMagnesium 2015-12-28 19:32:33 +01:00
HybridDog
afc578cb16 allow configuring the mapgen size, rarity and smooth without rejoining, which is actually a bad idea because of chunk corners 2015-11-22 01:21:21 +01:00
HybridDog
346a263761 update snow menu: sort settings and prepare for fixing changing settings with it (that no restart is needed) 2015-11-22 00:22:03 +01:00
HybridDog
4a30e67f46 use minetest. Get modpath less times, move stairsplus testing out of that file, update util.lua and make mapgen rarity and size better configurable 2015-11-21 23:37:28 +01:00