Commit Graph

56 Commits

Author SHA1 Message Date
Till Affeldt c23277284a Fix incorrect call to player_monoids 2023-04-02 12:41:26 +02:00
Till Affeldt 5448e04d85 Implement support for lighting_monoid 2023-04-02 10:57:55 +02:00
Till Affeldt 79233a2cb1 Fix broken translation call 2023-04-02 10:57:26 +02:00
Till Affeldt f3f0eaac2a Add missing warning translation 2023-04-02 10:54:55 +02:00
Till Affeldt 0dd5c74d42 tweak humidity to consider biome even more 2023-02-24 09:50:51 +01:00
Till Affeldt d1c70e904b make humidity timescale configurable via variable 2023-02-24 08:27:23 +01:00
Till Affeldt 7d299edb5b Rework humidity system, fix bug regarding global influences not registering 2023-02-24 08:22:53 +01:00
Till Affeldt bf2d4e09ca Try to disable MTG weather, reconfigure global cycle length, reformatting 2023-02-23 04:33:17 +01:00
Till Affeldt 4d0b080dd5
Merge pull request #8 from mazes-80/mazes-tweaks
Performance optimizations
2023-02-23 04:06:17 +01:00
mazes-80 eff85fbd2b Lower GSCYCLE: more cycles to skip 2023-02-22 09:32:08 +01:00
mazes-80 5635ab4daa Do nothing when no player online 2023-02-22 09:32:06 +01:00
mazes-80 e8f4048670 lib/trigger: remove unrequired tests 2023-02-22 09:32:04 +01:00
Till Affeldt dd769dfdd0 Fix bad mod.conf 2023-02-22 05:32:43 +01:00
Till Affeldt 710a1d717b Enable shadow registration, improve indoor check 2023-02-22 05:21:52 +01:00
mazes-80 59bf43aa28
Optimize code and modernize API calls
* Remove is_connected() and use minetest counterpart

* Less calls to minetest.get_connected_players()

* Deprecated: get_player_velocity

* Luacheck: unused assignements

* Luacheck: unused variable

* Luacheck: already declared variable

---------

Co-authored-by: mazes 80 <>
2023-02-22 03:10:33 +01:00
Till Affeldt a56116e8ab Merge branch 'master' of https://github.com/t-affeldt/climate_api 2020-10-08 22:24:55 +02:00
Till Affeldt cd98798880 Add improved indoors check 2020-10-08 22:02:38 +02:00
Till Affeldt a3d4dd446d Slow down weather changes 2020-10-08 15:43:13 +02:00
Till Affeldt 80d661f33a
Merge pull request #2 from tuedel/fix-typo
Fix wrong parenthesis in /set_weather chatcommand
2020-06-01 01:29:51 +02:00
Till Affeldt 5fe30aa051 Update issue templates 2020-06-01 01:28:50 +02:00
Till Affeldt db2c2ae001
Create CODE_OF_CONDUCT.md 2020-06-01 01:27:47 +02:00
tuedel beb75254bf Fix wrong parenthesis in /set_weather chatcommand 2020-06-01 01:16:43 +02:00
Till Affeldt dbce69be3b Add i18n support, add negative conditions 2020-05-29 21:52:45 +02:00
Till Affeldt 06f337b23e Fix crash when trying to apply weather to dead players 2020-05-17 22:13:09 +02:00
Till Affeldt 082c789d6e Fix bugs regarding disconnected players and unsanitized command input 2020-05-16 16:19:28 +02:00
Till Affeldt de512c172c Fix wrong POVA usage 2020-05-16 05:28:31 +02:00
Till Affeldt c35cacc08f Bump version number 2020-05-13 16:04:18 +02:00
Till Affeldt d4e00db432 Make wind dependent on height, add additional control commands, improve docu 2020-05-13 16:03:28 +02:00
Till Affeldt f42b4183e5 Various adjustments and fixes 2020-05-12 16:00:24 +02:00
Till Affeldt 4df9a61374 Move damage effect to API, add advanced damage checks, add dewpoint influence 2020-04-28 01:22:27 +02:00
Till Affeldt 9e0ed0c256 Tweak world cycle, add documentation 2020-04-26 18:11:38 +02:00
Till Affeldt bff54bfb74 Improve calculation performance, write helpful README 2020-04-25 15:49:53 +02:00
Till Affeldt 1057342ac6 Improve HUD shading, skybox merging, add new artwork 2020-04-24 19:55:24 +02:00
Till Affeldt e24b0340e5 Add skybox merging utility, remove date bases heat, tweak noise settings 2020-04-24 01:35:07 +02:00
Till Affeldt c9d0cfca21 Enable more options for particles, fix skybox reset, add new debug command, fix daylight influence 2020-04-22 00:56:34 +02:00
Till Affeldt d1bdf92937 Fix reset of skybox 2020-04-18 19:13:47 +02:00
Till Affeldt 0c5c9f0d15 Sound improvements 2020-04-18 17:24:59 +02:00
Till Affeldt a6cfca7745 Improve wind position for particles, add command to set wind, improve wind influences 2020-04-18 11:12:47 +02:00
Till Affeldt 241a0a82c1 Add API function to retrieve wind 2020-04-18 08:35:03 +02:00
Till Affeldt 18045b1943 Add influence registry, make sounds fade, add skybox feature detection 2020-04-18 08:01:36 +02:00
Till Affeldt f41d5f259c Implement ABM wrapper, allow environment checks for general positions 2020-04-16 19:12:20 +02:00
Till Affeldt 7f8f1a77f2 Add hud overlay effect, increase global tick cycle, improve skybox and sound effects 2020-04-16 08:05:16 +02:00
Till Affeldt f42f8481da Add chat commands for forcing weather presets 2020-04-15 00:12:44 +02:00
Till Affeldt 299d520af6 Implement sounds, enable start and stop events 2020-04-14 11:25:00 +02:00
Till Affeldt 2090aff6bd Fix countless bugs, implement chat commands 2020-04-14 05:44:46 +02:00
Till Affeldt fdc457bd09 Implement dynamic cloud sizes, adjust cycle lengths 2020-04-13 16:53:32 +02:00
Till Affeldt 47530bb07e Fix bugs, tweak weather configs, fix noise generator 2020-04-13 13:40:05 +02:00
Till Affeldt 49242573f2 Complete rewrite 2020-04-13 01:55:39 +02:00
Till Affeldt e188015be1 Add pollen effect 2020-04-10 05:28:06 +02:00
Till Affeldt 6481cf409a Add hail effect and date functions 2020-04-10 05:00:31 +02:00