b23c44d980
Get rid of recursive call in default.dig_up ( #3133 )
2024-09-08 22:09:30 +02:00
061f4e76dd
Added can_grow function to plant definition ( #3131 )
2024-06-23 18:03:36 +02:00
91f6e5faec
Fix crafting for fences etc. starting with colon ( #3132 )
2024-06-22 12:54:27 +02:00
c60d8e4da0
Add API to control respawn logic and behavior
2024-05-12 14:46:12 +02:00
d1ba7c3db3
Add API to weather mod
...
Co-authored-by: Till Affeldt <t.affeldt@tu-braunschweig.de >
2024-05-12 14:39:16 +02:00
59da46c80b
Add sapling growth APIs ( #3053 )
...
---------
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com >
Co-authored-by: sfan5 <sfan5@live.de >
2023-09-12 15:43:41 +02:00
16b6bdde0a
default.set_inventory_action_loggers
: Hook (instead of replace) callbacks
2023-06-06 18:07:37 +02:00
2e8ac46120
Beds: Replace hardcoded values of day interval with constants ( #2990 )
2022-09-28 11:07:50 +02:00
0c2ee1e41d
Deduplicate player action logging, silence fake player actions ( #2941 )
2022-05-06 20:04:55 +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
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
fe67ffda7c
TNT: Add explode_center flag
...
Add 'explode_centre' flag which when false explodes as normal and when true runs on_blast on centre node as well as dropping items.
2017-08-26 22:14:44 +01:00
bb084294ce
TNT: Allow a custom explosion sound to be used
2017-08-18 18:41:15 +01:00
77c9408721
Player API: Integrate settable player step height
...
Split some long lines.
Some nearby code cleanup.
2017-08-09 11:27:37 +01:00
b4abb07572
Player_api: Integrate settable player collisionbox
2017-08-06 01:54:47 +01:00
5d19fd6923
Separate player code into new mod
2017-08-01 03:57:29 +01:00
e5189760b3
Default: Expose the formspec getter functions ( #1783 )
2017-07-16 14:31:34 +02:00