summaryrefslogtreecommitdiff
path: root/games
Commit message (Collapse)AuthorAge
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
| | | | | Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy2020-10-03
| | | | | | | Allows catching a chatcommand call just after the command and the parameters are parsed but before its existence is checked and before the corresponding function is run. Returning `true` from a callback function will prevent default handling of the command leaving mods to handle the command manually.
* Devtest: Extend tooltips of many items and tools (#10312)Wuzzy2020-09-04
| | | Also show error message when using tools wrong
* Scale inventory image for scaled allfaces nodes (#10225)Wuzzy2020-09-04
| | | The inventory image size of the inventory image of nodes with drawtype allfaces (and related) is scaled as well if visual_scale is set (previously, the inventory image size was always the same)
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-29
|
* Load media from subfolders (#9065)DS2020-08-20
|
* Fix precision not working in hud_change (#10186)Lars Müller2020-08-12
|
* content_cao: Support texture animation for upright_sprite (#10020)sfan52020-07-30
|
* Fix undeclared global in devtest (#10133)Wuzzy2020-07-02
|
* Make shading of CAOs optional (#10033)Danila Shutov2020-06-16
|
* devtest: Improve tool and formspec usabilitysfan52020-06-08
| | | | also fix the yawsprite test entity
* Devtest: Fix missing/incorrect liquid properties (#9955)Wuzzy2020-05-30
|
* Add disable_jump check for the player's feetMoNTE482020-05-29
|
* Add minetest.is_creative_enabledWuzzy2020-05-29
|
* Devtest game: Update biome registrations (#9936)Paramat2020-05-26
|
* Devtest: Fix crash in player unittest (#9937)Wuzzy2020-05-26
| | | Happened if player unittests run when player has exactly 3 HP
* Rename “Minimal development test” to “Development Test” (#9928)Wuzzy2020-05-26
|
* Replacement for Minimal Development Test (PR) (#9450)Wuzzy2020-05-24
|
* Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross2020-05-02
| | | | * Add padding and content_offset style properties to buttons
* Apply a scrollbar's default value to scroll containers (#9699)DS2020-04-18
| | | Fixes #9691.
* Add scroll_container formspec element (redo) (#9101)DS2020-04-13
| | | | | | | | | New formspec elements: - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]` - `scroll_container_end[]` Other elements can be embedded in this element. Scrollbar must be placed manually.
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* Formspecs: Add starting frame to `animated_image` (#9411)v-rob2020-03-16
|
* Add multiple element selection to `style` and `style_type` (#9380)v-rob2020-03-01
|
* Add animated_image[] formspec element (#9258)Hugues Ross2020-02-15
|
* Add 9-slice background support to button formspec elements (#9290)Hugues Ross2020-01-26
|
* StaticText/EnrichedString: Styling support (#9187)SmallJoker2020-01-22
| | | | | | | | * StaticText/EnrichedString: Styling support * Fix tooltip fg/bgcolor * Fix default color for substr(), add unittests
* Refactor to centralize GUIButton styling/rendering code (#9090)Hugues Ross2019-12-09
|
* Change some rough/inappropriate language in comments (#9061)random-geek2019-10-24
|
* Add 4 missing fallback/default textures (#8845)Wuzzy2019-10-23
| | | Processed using 'optipng -o7 -strip all '
* Add more visual feedback for button states (#8916)Hugues Ross2019-10-12
| | | | | | - Add style properties for overriding the the hovered/pressed state - By default, hovered buttons are a lighter version of the base color - By default, pressed buttons are a darker version of the base color - Add hovered bg image support for image buttons (style property)
* Fix some issues with minetest.clear_craft (#8712)Paul Ouellette2019-08-10
| | | | | | | | | | | * Fix some issues with minetest.clear_craft - Fix memory leak - Fix crafts with an output count not being cleared when clearing by input. - Fix recipe list being reversed when clearing by input. * Add CraftInput::empty()
* Add formspec testing to test mod in minimalrubenwardy2019-08-03
|
* minimal: Move get_craft_result tests to test modPaul Ouellette2019-07-27
|
* minimal: Fix crash due to assertion failANAND2019-05-03
|
* Add disable_repair group to prevent tool repair (#7381)Wuzzy2018-10-16
|
* Minimal: Disable disruptive formspec test by default (#7423)Wuzzy2018-06-14
| | | | | | | | | * Minimal: Explicit log levels * Minimal: Formspec test now disabled by default This is done because the formspec test was disruptive. This test can now be toggled with server command test_formspec first.
* CSM/SSM: Add on_mods_loaded callback (#7411)Loïc Blot2018-06-06
| | | | | * CSM/SSM: Add on_mods_loaded callback
* Minimal: Fix HP change crash (#7344)SmallJoker2018-05-16
|
* MetaDataRef: Add contains() and get() (#7214)rubenwardy2018-04-30
|
* Add player:get_meta(), deprecate player attributes (#7202)rubenwardy2018-04-06
| | | | * Add player:get_meta(), deprecate player attributes
* Load dependencies and description from mod.confAndrew Ward2018-03-28
|
* Add reasons to on_dieplayer and on_hpchangeAndrew Ward2018-03-28
|
* Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot2018-01-30
| | | | | | | | | | * Add minetest.bulk_set_node call + experimental mod unittest * Optimize set_node function to prevent triple lookup on contentfeatures Do only one lookup for old, and try to merge old and new lookup if node is same than previous node * Add benchmark function + optimize vector population to have real results
* Fix default item callbacks to work with nil users (#5819)raymoo2017-10-28
| | | | | | | | | * Fix default item callbacks to work with nil users * item.lua: Handle node drops for invalid players The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used. Remove redundant `local _, dropped_item`
* Real global textures (#6105)Vitaliy2017-10-15
| | | | | | | | * Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
* Implement mod communication channels (#6351)Loïc Blot2017-09-26
| | | | | | | | | | Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
* Remove nodeupdate completely (#6358)Rui2017-09-01
|
* Add LuaEntity on_death callback (#6177)Loïc Blot2017-07-27
| | | | | | Add LuaEntity on_death callback This fixes #5474
* Minimal: Add river water nodes (#5809)Paramat2017-05-24
| | | Is a base terrain node needed by any core mapgen with sloping rivers.