aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/experimental
Commit message (Collapse)AuthorAge
* Add particle animation, glowsfan52017-01-18
| | | | | This is implemented by reusing and extending the TileAnimation code for the methods used by particles.
* Minimal game: Use field 'tiles' instead of 'tile_images'Rogier2016-12-24
|
* Minimal game: add /dummyball <count> commandKahrl2014-08-23
|
* Compress texturesDavid Gumberg2013-06-18
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
| | | | | | | | | | | On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
* unkn own block -> unkn own nodekhonkhortisan2013-04-05
|
* Improve inventory callbacks a bitPerttu Ahola2012-07-25
|
* Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola2012-07-25
|
* Detached inventoriesPerttu Ahola2012-07-24
|
* Add node timer test in minimal/experimentalPerttu Ahola2012-07-24
|
* Formspec button_exit[] and image_button_exit[]Perttu Ahola2012-07-22
|
* Add /test1 command to minimal for testing a more complicated player ↵Perttu Ahola2012-07-22
| | | | inventory form
* Actually fix facedir-rotated nodes placed using minetest.env:place_node()Perttu Ahola2012-07-21
|
* Allow defining player's inventory form in LuaPerttu Ahola2012-07-19
|
* Add experimental_tester_tool_1.png to minimal game (was accidentally left out)Perttu Ahola2012-06-08
|
* Allow groups in crafting recipesPerttu Ahola2012-06-06
|
* Add after_destruct and cache the existence of on_construct, on_destruct and ↵Perttu Ahola2012-06-05
| | | | after_destruct for quick skipping when a node does not have them
* place_node, dig_node and punch_node; an in-game tester tool; remove old codePerttu Ahola2012-06-05
|
* experimental:soundblock dig_immediate=3Perttu Ahola2012-04-06
|
* Make the minimal development test somewhat playable by adding ore generation ↵Perttu Ahola2012-04-05
| | | | and removing the player visual switch test
* Fix sound direction and add experimental:soundblock alias sb in minimal for ↵Perttu Ahola2012-04-04
| | | | testing
* initial_properties field in entity definitionPerttu Ahola2012-03-31
|
* Add minetest.get_connected_players()Perttu Ahola2012-03-30
|
* ObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on ↵Perttu Ahola2012-03-30
| | | | players too!
* Add minetest.after(time, func)Perttu Ahola2012-03-27
|
* Move games/minetest to games/minimal and update README.txtPerttu Ahola2012-03-26
ss="hl opt">:get_player_name() if name == "" then return end hud_ids[name] = nil end local function player_event_handler(player,eventname) assert(player:is_player()) local name = player:get_player_name() if name == "" then return end if eventname == "health_changed" then initialize_builtin_statbars(player) if hud_ids[name].id_healthbar ~= nil then player:hud_change(hud_ids[name].id_healthbar,"number",player:get_hp()) return true end end if eventname == "breath_changed" then initialize_builtin_statbars(player) if hud_ids[name].id_breathbar ~= nil then player:hud_change(hud_ids[name].id_breathbar,"number",player:get_breath()*2) return true end end if eventname == "hud_changed" then initialize_builtin_statbars(player) return true end return false end function core.hud_replace_builtin(name, definition) if definition == nil or type(definition) ~= "table" or definition.hud_elem_type ~= "statbar" then return false end if name == "health" then health_bar_definition = definition for name,ids in pairs(hud_ids) do local player = core.get_player_by_name(name) if player and hud_ids[name].id_healthbar then player:hud_remove(hud_ids[name].id_healthbar) initialize_builtin_statbars(player) end end return true end if name == "breath" then breath_bar_definition = definition for name,ids in pairs(hud_ids) do local player = core.get_player_by_name(name) if player and hud_ids[name].id_breathbar then player:hud_remove(hud_ids[name].id_breathbar) initialize_builtin_statbars(player) end end return true end return false end core.register_on_joinplayer(initialize_builtin_statbars) core.register_on_leaveplayer(cleanup_builtin_statbars) core.register_playerevent(player_event_handler)