Add 1 XP when punching chicken
parent
b30cf2319e
commit
2a0a1f8f4f
3
TODO
3
TODO
|
@ -11,7 +11,8 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
|
|||
|
||||
|
||||
* v0.0.2-4 (29 Dec. 2018 - ???) CLOC ???,???
|
||||
- (6) Removed owner meta data from doors
|
||||
- (7) Add 1 XP when punching chicken
|
||||
- Removed owner meta data from doors
|
||||
- Bump version to 0.0.2
|
||||
- Now earning XPs for technic ores
|
||||
- show_level mod works
|
||||
|
|
|
@ -69,8 +69,8 @@ mobs:register_mob("mobs_mc:chicken", {
|
|||
end,
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
minetest.log("error", "Chicken punched")
|
||||
|
||||
xpro.add_xp(hitter:get_player_name(), 1)
|
||||
return true
|
||||
end,
|
||||
|
||||
on_die = function(self, pos)
|
||||
|
|
Loading…
Reference in New Issue