Commit graph

22 commits

Author SHA1 Message Date
Lars Mueller
94af555fb6 Add get_textures and set_texture 2022-01-14 21:02:57 +01:00
Lars Mueller
1463475da0 Explain property classes 2020-12-06 11:32:33 +01:00
Lars Mueller
ec9c227062 Redo backwards compatibility hack 2020-12-06 11:28:28 +01:00
Lars Mueller
e03266dd4f Function calls on offline players workaround 2020-10-11 16:41:43 +02:00
Lars Mueller
c5e04b0e84 Fix error if no previous animation 2020-10-11 14:14:02 +02:00
Lars Mueller
01b7c9604f Style: Break long line 2020-10-11 14:06:43 +02:00
Lars Mueller
78d358c6d7 Defaults on registration, ID for comparison 2020-10-11 14:01:29 +02:00
Lars Mueller
cc57126bce Merge branch 'playerapi_redo' of https://github.com/appgurueu/minetest_game into playerapi_redo 2020-10-10 20:18:05 +02:00
Lars Mueller
de54ef5719 Only set properties if changed 2020-10-10 20:13:33 +02:00
Lars Müller
7a3809da7f
Other occurrences of f{...} -> f({...}) 2020-09-29 17:50:39 +02:00
Lars Müller
1e40fee2b6
f{...} -> f({...})
Co-authored-by: sfan5 <sfan5@live.de>
2020-09-29 17:48:26 +02:00
Lars Mueller
e1b1c2a921 Redo player_api 2020-09-26 09:51:43 +02:00
Paramat
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
orbea
695f98f213
player_api: Remove local variable (#2640) 2020-04-08 20:40:19 +02:00
Maksim
7d230fdbf8
Enable player animation when Right Click (#2622) 2020-04-06 15:22:08 +02:00
sfan5
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
sfan5
f87c3d05ae player_api: Set correct visual size for legacy player model 2019-10-06 14:06:02 +02:00
paramat
d4e1bd053e Player API: Set eye height property for new player model
Correct the collisionbox height.
2017-11-06 15:40:14 +00:00
paramat
77c9408721 Player API: Integrate settable player step height
Split some long lines.
Some nearby code cleanup.
2017-08-09 11:27:37 +01:00
paramat
b4abb07572 Player_api: Integrate settable player collisionbox 2017-08-06 01:54:47 +01:00
danielmeek32
271b2befaa Player API: Apply model default textures when passing nil to 'set_textures' 2017-08-06 01:53:53 +01:00
rubenwardy
5d19fd6923 Separate player code into new mod 2017-08-01 03:57:29 +01:00
Renamed from mods/default/player.lua (Browse further)