Commit Graph

254 Commits

Author SHA1 Message Date
cora 5a25e42fd3 fix the 2nd nether dust warning ^^ 2022-05-09 12:06:28 +02:00
cora 61a999fe5a Fix warning in mcl_weather 2022-05-02 21:47:33 +02:00
kay27 dc4ccf91cc lift clouds to 384 in valleys mapgen
Valleys has a much higher average elevation than v7 often leading
to "normal" looking terrain being in the clouds. This lifts the
clouds up higher.
2022-04-19 10:23:10 +00:00
cora bb593159f1 mcl_weather: fix typo/crash 2022-04-08 06:23:14 +02:00
cora 7f1bb7af92 replace nether dust particles with p. spawners
mcl2 uses add_particle for nether dust resulting in a 10-fold
increase in network traffic when in the nether. Nether dust is not
configurable making it impossible to turn this off for server admins.
this commit replaces the add_particle method with particle spawners
2022-03-30 10:21:32 +00:00
cora 53715212a2 remove unnecessary on_dimensionchange 2022-03-30 10:21:32 +00:00
cora c146426c5c fix snow not being properly removed 2022-03-30 10:21:32 +00:00
cora dc24f45cfa add indoor detection for snow 2022-03-30 10:21:32 +00:00
cora d2861c5955 remove unneccessary particle logic 2022-03-30 10:21:32 +00:00
cora 1e4494e85d let rain and thunder use particlespawners 2022-03-30 10:21:32 +00:00
cora 4eae95fa47 let snow use particlespawners 2022-03-30 10:21:32 +00:00
Emojigit ca6469b959 mcl_weather 2022-02-23 23:58:05 +01:00
Emojigit fe3e80bc0e lightning 2022-02-23 23:58:05 +01:00
Emojigit 551bf917e2 mcl_void_damage 2022-02-23 23:58:05 +01:00
NO11 c757e98b4f Fix #1911, error in lightning callback 2021-11-17 00:37:11 +01:00
NO11 0584d16569 add lightning API support for mobs 2021-10-05 04:15:48 +00:00
NO11 03829dd518 fix typo 2021-10-05 04:15:48 +00:00
NO11 72ea9069bd correct lightning API.md a bit 2021-10-05 04:15:48 +00:00
NO11 9188467a6a add API.md for lightning mod 2021-10-05 04:15:48 +00:00
NO11 463fe2af5f use mcl_util.replace_mob function to simplify lightning code 2021-10-05 04:15:48 +00:00
NO11 8e3f9d2169 add basic lightning API 2021-10-05 04:15:48 +00:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 5f82e76862 fix many codestyle issues 2021-05-28 00:34:58 +02:00
AFCMS 3bedc81068 fix some code style issues in lightning 2021-05-28 00:07:06 +02:00
AFCMS 49044ac15e unify codestyle [2] 2021-05-25 13:18:12 +02:00
AFCMS b0a3cffad0 [lightning] fix warnings 2021-05-23 14:50:38 +02:00
AFCMS 9f41c6fc64 [mcl_moon] fix warnings 2021-05-23 14:48:52 +02:00
AFCMS 36dc18e9da [mcl_void_damage] fix warnings 2021-05-23 14:46:13 +02:00
AFCMS 5f8d79b37a [mcl_weather] fix warnings 2021-05-23 14:44:50 +02:00
Elias Fleckenstein f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Marcin Serwin 9666076cb4 Add polish translation of mcl_weather 2021-04-29 16:41:28 +02:00
Marcin Serwin 7f1cb7fc54 Add polish translation of mcl_void_damage 2021-04-29 16:38:23 +02:00
Marcin Serwin 87b5a7b7ad Add polish translation of lightning 2021-04-29 16:37:19 +02:00
Elias Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein 4e37cc114c Implement out_of_world damage type 2021-04-14 19:06:30 +02:00
Elias Fleckenstein 49e7def70a Implement lightning_bolt damage reason 2021-04-14 18:40:41 +02:00
kay27 66a64439c6 [mcl_weather] Fix crash on saving uninitialized data, https://git.minetest.land/MineClone2/MineClone2/issues/1361 2021-03-22 17:31:24 +04:00
AFCMS 6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS 5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
AFCMS 9eda34b0ff performance improvement in lightning
cache global functions used in globalstep
2021-03-15 00:12:59 +01:00
AFCMS 9d19c3db4b Update init.lua 2021-03-14 23:53:56 +01:00
AFCMS bb9df764c4 performances improvement in mcl_void_damage
cache global functions
2021-03-14 23:52:04 +01:00
Elias Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
AFCMS 35d55376a9 replace pairs() by ipairs() (3) 2021-02-18 15:26:09 +00:00
AFCMS 63d1661e08 replace pairs() by ipairs() (2) 2021-02-18 15:25:30 +00:00
AFCMS 9819b713c9 replace pairs() by ipairs() 2021-02-18 15:24:03 +00:00
epCode 903a29f949 Add charged creeper 2021-02-12 16:48:46 -08:00
kay27 5e65307819 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 17:55:33 +04:00
kay27 f20f9f9a88 Log weather changes according to https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 11:47:51 +04:00
kay27 1f18c2438c Minor weather code clean up, ref. https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 02:03:49 +04:00
kay27 fe33f172d4 Add player-friendly respawn place search algorithm, fix https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Wuzzy 30b915b5c2 Fix lightning being heard globally 2020-12-03 13:03:27 +01:00
kay27 9f98117328 Fix XP and Nether ashes 2020-10-26 01:06:35 +04:00
kay27 1965696829 Merge kay27_textures branch: more recongizable obsidian texture; better NP texture; Nether particles 2020-10-24 21:49:11 +04:00
kay27 8df2aebd31 Add moveresult variable passing to on_step() of mob entity, https://git.minetest.land/Wuzzy/MineClone2/issues/837 2020-09-21 11:30:29 +04:00
Wuzzy 1816324fe5 Tweak night vision conditions 2020-08-19 10:53:44 +02:00
Wuzzy b2ad6b79bd Fix night vision conflicting with weather skycolor 2020-08-19 10:39:44 +02:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy 56d49e08b8 Delay before calling get_connected_players 2020-06-04 16:36:53 +02:00
Wuzzy 1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy d13498e6f9 Rain now also extinguishes neighbor tiles 2020-05-09 16:03:07 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy 02b2ff7460 Fix mcl_weather crash 2020-05-02 19:08:55 +02:00
Wuzzy c81a18ac1a Refactor mcl_void_damage 2020-04-22 01:38:41 +02:00
Wuzzy 081366855d Tweak appearance of snowflakes 2020-04-11 04:06:37 +02:00
Wuzzy 0c271a2af9 Randomize initial moon phase 2020-04-08 22:07:05 +02:00
Wuzzy 32ae6b3140 Add moon phases 2020-04-08 21:32:37 +02:00
Wuzzy 17f611567c Spawn rain and snow particles higher 2020-04-07 02:41:40 +02:00
Wuzzy c9cc3651df Fix bad sky color definitions 2020-04-07 01:51:53 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy b2c75acd68 Use new set_sky API 2020-04-07 00:39:19 +02:00
Wuzzy 988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy ed336829b4 Fade out rain and fire sounds 2019-09-05 00:07:32 +02:00
Wuzzy c6e671376d Make lightning glow in the dark 2019-03-26 12:24:30 +01:00
Wuzzy 63d630a208 German translation: environment 2019-03-14 00:32:22 +01:00
Wuzzy 5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy db8d7af245 Fix lightning dealing way too much damage 2019-03-08 19:09:40 +01:00
Wuzzy d691490016 New translation system, part 2: Environment, help 2019-03-07 21:36:00 +01:00
Wuzzy c4558a31ab Update modpack meta files (MT 5.0.0) 2019-03-06 05:52:31 +01:00
Wuzzy 4c8433b41c Fix clouds speed parameter (MT 5.0.0) 2019-03-06 05:21:05 +01:00
Wuzzy 2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy 93c087997f Add /lightning command 2019-02-21 03:36:02 +01:00
Wuzzy 31668cdde5 Add brown mooshroom 2019-02-21 02:38:33 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy e051eae5bc Lightning no longer turns villagers to witches
Because witches are incomplete.
Also add villager TODOs.
2018-06-10 15:27:01 +02:00
Wuzzy 2f0987b529 Move mcl_void_damage to ENVIRONMENT 2018-05-31 15:13:16 +02:00
Wuzzy c2d0414255 Fix crash when obj tele's Nether→Overworld @ rain 2018-01-26 19:37:00 +01:00
Wuzzy b9686c2d9f Allow to disable weather changes 2018-01-25 03:55:08 +01:00
Wuzzy a3388e5288 Add duration parameter to weather command 2018-01-24 06:50:28 +01:00
Wuzzy 6a9a00b387 Add death message if player killed by lightning 2017-12-12 23:53:54 +01:00
Wuzzy b7518bcbcc Fix some mcl_weather crashes 2017-12-08 17:16:49 +01:00
Wuzzy 4ad7147123 Restore weather state when restarting server 2017-12-08 16:54:49 +01:00
Wuzzy ff1996c708 Merge branch 'river_water' 2017-12-05 23:01:05 +01:00
Wuzzy a5b213968c Fix failure to clear snow weather correctly 2017-12-01 16:02:29 +01:00
Wuzzy 74d5da78a1 Simplify water mixing rules in cauldron 2017-11-30 20:35:21 +01:00
Wuzzy 2a78471ef1 Fix cauldrons and rain 2017-11-30 19:57:06 +01:00
Wuzzy f8d5c23291 Fix another rain sound update bug 2017-11-24 04:21:10 +01:00
Wuzzy 2858fbb54a Update rain particles faster when teleporting 2017-11-24 04:05:12 +01:00
Wuzzy 6d609be8c7 Instant rain sound updates when changing dimension 2017-11-24 04:00:30 +01:00
Wuzzy b1d15fb667 Update sky instant if teleport between dimensions 2017-11-24 03:48:32 +01:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy 06ef86ddd3 Move entire sky color code into mcl_weather 2017-11-24 01:39:52 +01:00
Wuzzy d55928fe95 Fix lightnings in the End 2017-11-23 22:31:39 +01:00
Wuzzy 768c97205a Reduce fire extinguish sound 2017-11-22 03:10:01 +01:00
Wuzzy 6d727137c2 Rain puts out fire faster 2017-11-22 03:04:20 +01:00
Wuzzy 91c06fd77a Tweak snow sky 2017-11-22 02:59:09 +01:00
Wuzzy 1332ae683f Lightnings light up the surroundings as well 2017-11-22 02:19:04 +01:00
Wuzzy bbb6900d4a Fix rain sound failure when moving very fast 2017-11-22 02:01:40 +01:00
Wuzzy dd17e5ca9d Tweak rain sky color 2017-11-22 01:45:59 +01:00
Wuzzy bccc7fa957 Merge branch 'master' into day_night_ratio 2017-11-22 01:41:23 +01:00
Wuzzy c434a41dec Refactor and tweak sky light overwrite 2017-11-22 01:09:41 +01:00
Wuzzy 69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Wuzzy 547eb893af Refactor weather change code 2017-11-20 04:26:43 +01:00
Wuzzy aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy f0e0e754b0 Implement more logical weather transitions 2017-11-12 06:57:11 +01:00
Wuzzy e1d362d215 Increase weather duration 2017-11-12 05:27:18 +01:00
Wuzzy b220a07877 Fix more weather length issues 2017-11-12 05:14:25 +01:00
Wuzzy de6096f47a Fix pig→zombiepig lightning transform 2017-11-12 05:11:21 +01:00
Wuzzy f052f147b5 Tweak weather durations to be more MC-like 2017-11-12 05:03:26 +01:00
Wuzzy b7880529a8 Make everything dark for player when in weather (WIP) 2017-11-12 04:36:26 +01:00
Wuzzy 562bd6cd5a Reduce raindrop count in thunderstorms 2017-11-12 03:28:53 +01:00
Wuzzy 4f639b024d Lightnings cause damage, change pigs and villagers 2017-11-12 03:24:46 +01:00
Wuzzy c09ca3363d Rarely spawn skeletons (+s. horse) on lightning 2017-11-12 02:48:18 +01:00
Wuzzy b3ad5c7927 Generate more raindrops in thunderstorms 2017-11-12 02:10:22 +01:00
Wuzzy de45af5e79 Tweak sky color on rain and thunderstorm 2017-11-12 01:36:37 +01:00
Wuzzy 10a0819790 Fix hearable rain in Nether and End dimensions 2017-11-11 21:14:03 +01:00
Wuzzy c6a471e5a7 Weather_pack: os.time → minetest.get_gametime 2017-11-11 17:18:53 +01:00
Wuzzy fe31afc119 Disable weather in Nether and End and Void 2017-08-22 18:32:05 +02:00
Wuzzy a1ed8380c0 Weather overwrites sky in Overworld only 2017-08-18 14:19:43 +02:00
Wuzzy e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy 8773c4b52f Remove clouds when in void 2017-06-11 02:34:34 +02:00
Wuzzy 1f24b495d2 Fix rain cloud color 2017-06-06 00:18:20 +02:00
Wuzzy cf7fe5e611 Darker clouds while raining 2017-06-06 00:15:02 +02:00
Wuzzy 1320af31fc Customize clouds: Lower height, thinner, fly to -X 2017-06-05 23:35:45 +02:00
Wuzzy 37bcb9449d Remove weather override setting 2017-05-25 20:41:04 +02:00
Wuzzy d077e59ab5 Add toggledownfall command 2017-05-24 00:39:28 +02:00
Wuzzy da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy 7a64990ffa Add error handling for invalid /weather syntax 2017-05-14 22:04:38 +02:00
Wuzzy e4938ae8d1 Change /weather none to /weather clear 2017-05-14 21:57:25 +02:00
Wuzzy 2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy 194ec03b68 Lower chances to wetten soil at rain 2017-03-02 19:00:49 +01:00
Wuzzy 4d869497fa Make soil wet when raining 2017-03-02 18:24:19 +01:00
Wuzzy 39f2da10ee Play extinguish sound when rain extinguishes flame 2017-03-02 18:18:59 +01:00
Wuzzy df9f0d4c1c Fill cauldrons while raining 2017-03-01 19:06:16 +01:00
Wuzzy cf420a090c Make skycolor mod always active 2017-02-21 15:09:54 +01:00
Wuzzy cdd616f6b1 Fix lightning sky color issues 2017-02-21 15:00:16 +01:00
Wuzzy ae023dfe1f Fix rain sky not removed after /weather none 2017-02-21 14:44:04 +01:00