Add more mc mobs with XPs
parent
53ad01123d
commit
09e92037d0
1
ROADMAP
1
ROADMAP
|
@ -222,6 +222,7 @@ It's really fast. May be used on a website, to show the actual map.
|
|||
[mg_villages] ERROR: Did not find a suitable replacement for cottages:barrel_lying (suggested but inexistant: cottages:barrel_lying). Building: chateau_without_garden.
|
||||
[mg_villages] ERROR: Did not find a suitable replacement for cottages:barrel (suggested but inexistant: cottages:barrel). Building: chateau_without_garden.
|
||||
**** [feature_XpMobs] kill_xp/ Gain XPs by killing mobs
|
||||
CLOCK: [2019-01-02 mer. 03:47]
|
||||
CLOCK: [2019-01-02 mer. 03:13]--[2019-01-02 mer. 03:23] => 0:10
|
||||
CLOCK: [2019-01-02 mer. 01:23]--[2019-01-02 mer. 02:33] => 1:10
|
||||
*We're not gaining XP while killing monsters : for example slimes*
|
||||
|
|
2
TODO
2
TODO
|
@ -11,4 +11,4 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
|
|||
|
||||
|
||||
* v0.0.2-5 (02 Jan. 2019 - ???) CLOC ???,???
|
||||
|
||||
- Add more mc mobs with XPs
|
||||
|
|
|
@ -93,6 +93,11 @@ mobs:register_mob("mobs_mc:enderdragon", {
|
|||
run_start = 0, run_end = 20,
|
||||
},
|
||||
blood_amount = 0,
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 3)
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -193,6 +193,11 @@ mobs:register_mob("mobs_mc:enderman", {
|
|||
},
|
||||
animation = select_enderman_animation("normal"),
|
||||
_taken_node = "",
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 2)
|
||||
return true
|
||||
end,
|
||||
do_custom = function(self, dtime)
|
||||
-- Take and put nodes
|
||||
if not self._take_place_timer or not self._next_take_place_time then
|
||||
|
|
|
@ -68,6 +68,8 @@ COLISIONBOX in minetest press f5 to see where you are looking at then put these
|
|||
dofile(path .. "/creeper.lua")
|
||||
dofile(path .. "/zombiepig.lua")
|
||||
dofile(path .. "/wither.lua")
|
||||
dofile(path .. "/ender_dragon.lua")
|
||||
dofile(path .. "/enderman.lua")
|
||||
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
|
|
|
@ -73,7 +73,7 @@ mobs:register_mob("mobs_mc:wither", {
|
|||
blood_amount = 0,
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 2)
|
||||
xpro.add_xp(hitter:get_player_name(), 3)
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue