Add more mobs with XPs
parent
6f1fe16c3c
commit
831e71a144
7
ROADMAP
7
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: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*
|
||||
Is there handled in the code. No we have to create it by ourselves
|
||||
|
@ -247,8 +248,12 @@ It's really fast. May be used on a website, to show the actual map.
|
|||
end,
|
||||
- [ ] Add to all mobs_mc mobs
|
||||
- added to cow+mushroom
|
||||
- Added to creeper, but can't find it in creative mode
|
||||
- Added wither
|
||||
- [ ] Another mob mod
|
||||
- [ ] *List all mobs from mobs_mc that can't be found*
|
||||
creeper, zombie_pigman, wither
|
||||
In fact we have to dofile them in init.lua
|
||||
Baby pigman can't be found
|
||||
- [ ] For player, see onpunchplayer
|
||||
- [ ] May remove chicken from mobs_animal mod (not used)
|
||||
**** TODO [fix_DoorProtection] Fix the door protection issue
|
||||
|
|
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 ???,???
|
||||
- (7) Add 1 XP when punching chicken
|
||||
- (8) Add more mobs with XPs
|
||||
- Add 1 XP when punching chicken
|
||||
- Removed owner meta data from doors
|
||||
- Bump version to 0.0.2
|
||||
- Now earning XPs for technic ores
|
||||
|
|
|
@ -64,6 +64,12 @@ COLISIONBOX in minetest press f5 to see where you are looking at then put these
|
|||
--
|
||||
--
|
||||
|
||||
-- Added later by Solebull (for a harder survival day)
|
||||
dofile(path .. "/creeper.lua")
|
||||
dofile(path .. "/zombiepig.lua")
|
||||
dofile(path .. "/wither.lua")
|
||||
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
minetest.log("action", "[MOD] Mobs Redo 'MC' loaded")
|
||||
end
|
||||
|
|
|
@ -71,6 +71,11 @@ mobs:register_mob("mobs_mc:wither", {
|
|||
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(), 2)
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
||||
mobs:register_arrow("mobs_mc:roar_of_the_dragon", {
|
||||
|
|
|
@ -54,6 +54,11 @@ local wolf = {
|
|||
lava_damage = 4,
|
||||
light_damage = 0,
|
||||
follow = mobs_mc.follow.wolf,
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 1)
|
||||
return true
|
||||
end,
|
||||
on_rightclick = function(self, clicker)
|
||||
-- Try to tame wolf (intentionally does NOT use mobs:feed_tame)
|
||||
local tool = clicker:get_wielded_item()
|
||||
|
|
|
@ -83,6 +83,11 @@ local zombie = {
|
|||
light_damage = 2,
|
||||
view_range = 16,
|
||||
attack_type = "dogfight",
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 2)
|
||||
return true
|
||||
end,
|
||||
}
|
||||
|
||||
mobs:register_mob("mobs_mc:zombie", zombie)
|
||||
|
|
|
@ -71,6 +71,11 @@ local pigman = {
|
|||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
view_range = 16,
|
||||
do_punch = function (self, hitter, time_from_last_punch,
|
||||
tool_capabilities, direction)
|
||||
xpro.add_xp(hitter:get_player_name(), 1)
|
||||
return true
|
||||
end,
|
||||
}
|
||||
|
||||
mobs:register_mob("mobs_mc:pigman", pigman)
|
||||
|
|
Loading…
Reference in New Issue