fix mod path, fix detection of doomed mod, fix missing lava mobs

* modpath current mod name getting only works well with minetest 5.X
  so hardcoded into code to property work in older engines
* missing loading of mese monsters
* detection of mobs_doomed must be at same time of dmobs, cos
  boths provides same mobs
* update information on readme
master
mckaygerhard 2024-03-31 16:53:09 -04:00
parent 011bcf1f64
commit 46cf68008b
2 changed files with 60 additions and 18 deletions

View File

@ -1,4 +1,4 @@
local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
local path = minetest.get_modpath("mobs_jam") .. "/"
-- Check for translation method
local S
@ -62,13 +62,14 @@ ddoo("penguin") -- D00Med
ddoo("panda") -- AspireMint
end
if not minetest.get_modpath("mobs_doomed") or not minetest.get_modpath("dmobs") then
if not minetest.get_modpath("mobs_doomed") and not minetest.get_modpath("dmobs") then
dofile(path .. "fox.lua") -- D00Med
dofile(path .. "owl.lua") -- D00Med
dofile(path .. "tortoise.lua") -- D00Med
end
if not minetest.get_modpath("mobs_monster") then
dofile(path .. "mese_monster.lua") -- PilzAdam (WTFPL)
dofile(path .. "fire_spirit.lua") -- tenplus1
dofile(path .. "oerkki.lua") -- Pavel_S and PilzAdam (WTFPL)
dofile(path .. "lava_flan.lua") -- Lava Flan by Zeg9 (additional textures by JurajVajda)

View File

@ -1,17 +1,57 @@
# minetest mod mobs_jam
IT add animals for farmin like cows, dogs chicken or cats.
Pack set like mobs, reduced, use if you dont want a buch of mods and only wants one that handles all
## Information
This mod is forked to improve compatibility backguard for 0.4 engine. It also provides some new translatins and ajustments
This mod is forked to improve compatibility and simplifycation, it combines/provide mobs from
"animal", "dmobs" and "monsters" **simplified in one load to reduce calculations on server**.
Reason is the nascisic and petty behaviour of mayority of minetest developers
![](screenshot.png)
## Technical information
It provides mobs:
* `mobs_animal` a mixed from original PilzAdam with the ones of tenplus1
* `bee`
* `chicken`
* `cow`
* `rat`
* `sheep`
* `panda`
* `penguin`
* `kitten`
* `warthog`
* `mobs_monster` disected from original PilzAdam, adapted to mobs_redo
* `fire_spirit`
* `oerkki`
* `mese_monster`
* `mobs_doomed` or `dmobs` from D00Med aka heiselong lazy one
* `fox`
* `owl`
* `tortoise`
It also has backguard compatibility for 0.4 engine. It also provides some new translatins and ajustments
**note** to gain performance equivalent compatibility with original mods are disabled by default,
this mod provides by default aliasing of all items and mobs for backguard compatibility, you
can enable it in settings
**warning** this provides aliasing only for entities that players interacts, not to the rest
by example what does the lava flan shot as attack is not the same as what original lava flan shots,
this is due breking compatibilty and easy mantain code rutines. If you need a mob you can use
the same cos mapgen only mantain the mobs not the items that they shots.
**caution** this mobs try to fit all the items that player handles into their inventory, for
compatibility, but you can diable it to gain performan by not registered so many items in engine.
### Depends
* mobs
* default
* farming
Optionally
@ -20,48 +60,38 @@ Optionally
## Animals:
**Note**: *After breeding, animals need to rest for 4 minutes and baby animals take 4 minutes to grow up, also feeding them helps them grow quicker...*
### Bee
Tends to buzz around flowers and gives honey when killed, you can also right-click a bee to pick it up and place in inventory. 3x bee's in a row can craft a beehive.
---
### Bunny
Bunnies appear in green grass areas (prairie biome in ethereal) and can be tamed with 4 carrots or grass. Can also be picked up and placed in inventory and gives 1 raw rabbit and 1 rabbit hide when killed.
---
### Chicken
Found in green areas (bamboo biome in ethereal) and lays eggs on flat ground, Can be picked up and placed in inventory and gives 1-2 raw chicken when killed. Feed 8x wheat seed to breed.
---
### Cow
Wanders around eating grass/wheat and can be right-clicked with empty bucket to get milk. Cows will defend themselves when hit and can be right-clicked with 8x wheat to tame and breed.
---
### Kitten
Found on green grass these cute cats walk around and can be picked up and placed in inventory as pets or right-clicked with 4x live rats or raw fish (found in ethereal) and tamed. They can sometimes leave you little gifts of a hairball.
---
### Rat
Typically found around stone they can be picked up and cooked for eating.
---
### Sheep
Green grass and wheat munchers that can be clipped using shears to give 1-3 wool when tamed. Feed sheep 8x wheat to regrow wool, tame and breed. Right-click a tamed sheep with dye to change it's colour. Will drop 1-3 raw mutton when killed.
---
### Warthog
Warthogs unlike pigs defend themselves when hit and give 1-3 raw pork when killed, they can also be right-clicked with 8x apples to tame or breed.
---
### Penguin
These little guys can be found in glacier biomes on top of snow and have the ability to swim if they fall into water.
---
### Panda
These monochrome cuties spawn in Ethereal's bamboo biome and can be tamed with bamboo stalks :) Remember they have claws though.
---
*Note: After breeding, animals need to rest for 4 minutes and baby animals take 4 minutes to grow up, also feeding them helps them grow quicker...*
### tortoise
These were extracted from dmobs mod from D00Med and its friendly but pretty slowww
@ -83,8 +113,19 @@ Found in dark areas like most monsters, Oerkki wander the caverns stealing away
### Fire Spirit
Fire Spirits will not tolerate players roaming around their domain and will fiercely attack until their dying puff of smoke. Th
ey will drop their spirit and some fire dust when using ethereal.
Fire Spirits will not tolerate players roaming around their domain and will fiercely attack until their dying puff of smoke.
They will drop their spirit and some fire dust when using ethereal.
#### Lucky Blocks: 20
## LICENSE
CC-BY-SA-NC unless permission of
* Copyright (C) 2022+ PICCORO Lenz MCKAY <mckaygerhard@mail.ru>
* Copyright (C) 2016-2020 tenplus1
* Copyright (C) 2004-2012 Sam Hocevar <sam@hocevar.net>
Check license.txt for art and models