1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-04 15:40:23 +02:00
Commit Graph

109 Commits

Author SHA1 Message Date
e6b73aa3d9 Update game_api.txt
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-26 18:58:43 +02:00
4f4d85a83c Update game_api.txt
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-26 18:58:14 +02:00
589bc4e5a4 default.log_player_action doesn't insert " at " before position 2022-04-26 16:35:41 +02:00
3c30d1328f Update game_api.txt 2022-04-22 19:11:51 +02:00
c3466dbd18 default.log_player_action supports a list of message parts (thanks appgurueu) 2022-04-22 18:24:36 +02:00
4e11628982 intuitive order of arguments for default.log_player_action() 2022-04-21 14:03:31 +02:00
26553bfaee Update game_api.txt (mention of non-player marker) 2022-04-21 13:16:05 +02:00
90591c5a49 change enable_non_player_action_log to log_non_player_actions 2022-04-21 12:43:24 +02:00
9159e5fd84 Update game_api.txt
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-21 12:28:28 +02:00
5455875512 Update game_api.txt
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-21 12:27:24 +02:00
e7341d005f rename default.log_action to default.log_player_action 2022-04-04 20:32:03 +02:00
adf5b53ec5 fix typo in game_api.txt 2022-04-04 20:14:11 +02:00
37783fe4a0 update game_api.txt 2022-04-03 00:22:14 +02:00
eb162e6c29 appgurueu's comments implemented 2022-04-02 11:29:44 +02:00
9efd64d881 update game_api.txt 2022-04-02 11:11:10 +02:00
659895c3ed Update game_api.txt 2022-03-23 11:36:46 +01:00
172b62f802 Add trapdoor/door model specification (#2371) 2022-01-30 13:54:37 +01:00
acc918436a Override local_animation settings for certain animations
This makes the lay/sit animation work on the local client (in third-person).
2022-01-20 22:48:59 +01:00
6623dec567 Redo player_api (#2745) 2022-01-17 21:49:28 +01:00
75f9575557 Allow to set use_texture_alpha when registering a door
Co-Authored-By: Gregor Parzefall <gregor.parzefall@posteo.de>
2022-01-14 19:41:26 +01:00
d775a9bdae Pull some parent node vars for stairs and slabs (#2911)
Fixes the sunlight propagation of glass stairs and slabs.

Co-authored-by: tenplus1 <tenplus1@users.noreply.github.com>
2021-12-12 16:38:54 +01:00
ddebdeccb1 Add open/close sound gains to the Doors API, balance sound levels (#2768) 2021-05-31 20:43:33 +01:00
4c145bf9aa Improve inner/outer stairs translation for external mods (#2584) 2020-09-21 23:38:49 +01:00
8d0fb34fb0 Player_api: Various maintenance (#2737)
Clear 'player_sneak' and 'player_api.player_attached' table values
when player leaves.
Remove unnecessary commas and whitespace.
Fix table name in 'game_api.txt'.
Clean up documentation in 'game_api.txt'.
2020-09-09 19:11:25 +02:00
6d2a897e1b creative: Update for compatibility with minetest.creative_is_enabled (#2691) 2020-06-07 00:15:35 +02:00
fb18a5b20d Make default.chest.register_chest() usable for other mods (#2127) 2020-04-13 20:26:44 +02:00
05fad37b3c Sort items into correct categories (#2612) 2020-04-06 15:15:50 +02:00
fbbc7fc996 player_api: Prevent knockback when player is set as attached
This is not directly related to player models but fits well
as a convenience feature in player_api.
2020-03-17 22:08:36 +01:00
1940961d63 Move duplicate recipe from books to default.register_craft_metadata_copy()
This allows mods to easily implement the same behaviour, e.g. for letters.
2020-01-04 00:09:58 +00:00
05375c0fd4 Fix glass panes sides (#2500) 2019-09-27 00:35:06 +02:00
b4c7522248 Fix more translation strings (#2487) 2019-09-18 20:38:27 +02:00
e4adb01fbf Fix and improve translation strings (#2471) 2019-09-12 19:03:10 +02:00
b701e500aa Support for icesheet dungeons in dungeon_loot 2019-07-16 22:26:35 +02:00
5c48c76aa2 Fix trapdoor side textures and orientations
Previously, opening a trapdoor caused the side textures to flip.

Fix the incorrect textures.
Also add a texture transform to a tile of the open trapdoor, such
that the closed trapdoor sides use the lower part of the texture
and the open trapdoor sides use the higher part.

Clean up some codestyle issues.
2019-05-03 23:49:07 +01:00
efd090228d fire: Document flammable group, a little code cleanup 2019-03-30 20:33:08 +00:00
bae58b3806 Doors: Allow on_rightclick to be overidden
Allow mods such as protection mods to over ride on_rightclick.
Usecase is creating shared doors without the need for keys.
2018-12-20 22:45:24 +00:00
1fa8180e7f Add sfinv.get_page() 2018-11-28 14:14:33 +00:00
ab1a79b13c Add blueberry bushes 2018-10-09 20:54:22 +01:00
5b3b609270 Stairs: Add field to determine world-aligned textures (#2219)
All stair/slab nodes with parent nodes that are rotatable (wood and bricks)
are reverted to not having world-aligned textures, to fix the breakage of
rotated stair/slab appearence in worlds.

Update, and add missing documentation to, game_api.txt.
2018-10-04 00:33:11 +01:00
5673a71752 Game_api.txt: Update and improve dye documentation 2018-08-28 19:12:10 +01:00
9318c71659 Biomes: Add pine bush to taiga and snowy grassland
Replaces 'bush' in snowy grassland.
2018-07-13 01:17:07 +01:00
5692c15b4d Disallow digging a bed if in use
Use a new table beds.bed_position to check if a bed is in use.
2018-06-19 22:07:01 +01:00
b0e55c52c8 Add formspec theming, remove sfinv's dependency on default 2018-03-28 18:28:26 +01:00
da877ccf57 Rename 'subgame' to 'game' 2018-03-13 20:00:29 +00:00
Tim
283636bfdb Bones: Iterate player inventory lists dynamically (#1229)
Avoid hard-coded player inventory lists.
Expose `bones.player_inventory_lists` for mods to look up or change,
which player inventory lists are being dropped or placed into bones.
2018-02-20 19:15:03 +01:00
faa088e2c5 Xpanes: Add optional 'use_texture_alpha' parameter to registration 2018-01-02 22:43:42 +00:00
b75a17984a Default: Expose open_chests and chest_lid_obstructed 2017-11-27 01:50:37 +00:00
d4e1bd053e Player API: Set eye height property for new player model
Correct the collisionbox height.
2017-11-06 15:40:14 +00:00
49cc4c7c63 Add loot to dungeons (#1921) 2017-10-27 13:34:41 +02:00
3ff296961e TNT: Add tnt.boom defaults
This adds def, def.radius and def.damage_radius defaults to the
tnt.boom() function if they aren't specified on call.
2017-10-10 22:55:49 +01:00