ed minetest for gpcfs purposes
aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/knockback.lua
blob: b5c4cbc5a7706c30ff41ff6c88ae79db3eb2c7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
-- can be overriden by mods
function core.calculate_knockback(player, hitter, time_from_last_punch, tool_capabilities, dir, distance, damage)