Browse Source

add deer and ostrich merged upstream, improve layer naming

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
359be0e11d
  1. 145
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/deer.lua
  2. 41
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/install-to-HOME-Bucket_Game.sh
  3. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/models/codermobs_deer.b3d
  4. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/models/mob_ostrich_ostrich.b3d
  5. 15
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/ostrich-License.txt
  6. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_deer 2b.blend
  7. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_deer.xcf
  8. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_elk (HD).xcf
  9. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_elk.xcf
  10. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_ostrich.blend
  11. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_ostrich.xcf
  12. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer (WIP HD).xcf
  13. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer fell_texture.xcf
  14. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer for unpatched Irrlicht (still glitters).xcf
  15. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer2a (still separate neck).blend
  16. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_deer_female_mesh.png
  17. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_deer_male_mesh.png
  18. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_m_item.png
  19. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_f_item.png
  20. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_mesh.png
  21. BIN
      patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_saddle_mesh.png

145
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/deer.lua

@ -0,0 +1,145 @@
-- Deer. Descended from Sapier version.
-- ===================================================================
-- License for "deer" media.
--
-- You may copy, use, modify or do nearly anything but remove this
-- copyright notice. Of course, you're not allowed to pretend you've
-- created or written the Sapier-specific pieces.
--
-- CC-BY-SA 3.0. Attribution: Sapier and Poikilos.
-- ===================================================================
local lcname = "deer"
local ucname = "Deer"
local msname = "codermobs_" .. lcname
local obj_name = "codermobs:" .. lcname
-- ===================================================================
mobs_param = {
lcname = lcname ,
ucname = ucname ,
obj_name = obj_name ,
aoc = 2 ,
obr = 1 ,
day_mode = true ,
min_light = 14 ,
max_light = 20 ,
min_height = 0 ,
max_height = 200 ,
spawn_chance = 50000 ,
spawn_type = "animal" ,
spawn_nodes = {
"default:dirt_with_grass" ,
"ethereal:green_dirt" ,
"ethereal:green_dirt_top" ,
"ethereal:grove_dirt" ,
"mg:dirt_with_dry_grass" ,
} ,
spawn_by = {
"default:oak_trunk" ,
"flowers:mushroom_brown" ,
} ,
add_egg = true ,
egg_image = "wool_pink.png" ,
}
-- ===================================================================
codermobs.adjust_param()
-- ===================================================================
mobs_param.core_param = {
type = mobs_param.spawn_type ,
makes_footstep_sound = true ,
armor = 200 ,
attack_npcs = false ,
attack_type = "dogfight" ,
damage = 2 ,
fear_height = 3 ,
group_attack = true ,
hp_max = 15 ,
hp_min = 5 ,
jump_height = 6 ,
jump = true ,
owner_loyal = true ,
passive = false ,
pushable = true ,
reach = 2 ,
rotate = 270 ,
run_velocity = 3 ,
stepheight = 0.6 ,
type = "animal" ,
view_range = 10 ,
walk_velocity = 2 ,
lava_damage = 5 ,
light_damage = 0 ,
water_damage = 0 ,
collisionbox = { -0.70, -1.10, -0.70, 0.70, 0.80, 0.70 } ,
mesh = msname .. ".b3d" ,
visual = "mesh" ,
textures = {
{ msname .. "_male_mesh.png" } ,
{ msname .. "_female_mesh.png" } ,
},
sounds = {
},
follow = { "default:apple", "farming:potato" } ,
drops = {
{
name = "animal_materials:meat_venison" ,
chance = 1, min = 1, max = 1 ,
} ,
{
name = "animal_materials:antlers" ,
chance = 1, min = 1, max = 1 ,
} ,
{
name = "animal_materials:fur_deer" ,
chance = 4, min = 1, max = 1 ,
} ,
{
name = "animal_materials:bone" ,
chance = 4, min = 1, max = 1 ,
} ,
} ,
animation = {
walk_start = 0 ,
walk_end = 60 ,
stand_start = 61 ,
stand_end = 120 ,
speed_normal = 15 ,
} ,
on_rightclick = function (self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then
return
end
end,
}
-- ===================================================================
codermobs.setup_mob()
codermobs.log_done()
-- ===================================================================
-- End of file.

41
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/install-to-HOME-Bucket_Game.sh

@ -0,0 +1,41 @@
#!/bin/bash
echo
echo
customDie() {
echo
echo "ERROR:"
echo "$1"
echo
echo
}
if [ ! -f deer.lua ]; then
customDie "No deer.lua, so can't patch."
fi
my_bucket_game=$HOME/minetest/games/Bucket_Game
my_codermobs_codermobs=$my_bucket_game/mods/codermobs/codermobs
my_codermobs_init=$my_codermobs_codermobs/init.lua
if [ ! -f "$my_codermobs_init" ]; then
customDie "$my_codermobs_init does not exist."
fi
echo "* patching $my_codermobs_init..."
if [ -z "`cat $my_codermobs_init | grep deer.lua`" ]; then
echo 'dofile (mp .. "/deer.lua" )' >> "$my_codermobs_init"
else
echo " Your codermobs/codermobs/init.lua already loads deer.lua."
fi
if [ -f "$my_codermobs_codermobs/deer.lua" ]; then
echo "* removing old $my_codermobs_codermobs/deer.lua..."
rm $my_codermobs_codermobs/deer.lua || customDie "Cannot remove old $my_codermobs_codermobs/deer.lua"
fi
echo "* copying to $my_codermobs_codermobs/deer.lua..."
cp deer.lua "$my_codermobs_codermobs/" || customDie "Cannot copy to $my_codermobs_codermobs/deer.lua"
echo "* copying over $my_codermobs_codermobs/textures/..."
cp textures/* "$my_codermobs_codermobs/textures/" || customDie "Cannot copy to $my_codermobs_codermobs/textures/"
echo "* copying over $my_codermobs_codermobs/models/..."
cp models/* "$my_codermobs_codermobs/models/" || customDie "Cannot copy to $my_codermobs_codermobs/textures/"
echo "Done."
echo
echo

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/models/codermobs_deer.b3d

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/models/mob_ostrich_ostrich.b3d

Binary file not shown.

15
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/ostrich-License.txt

@ -0,0 +1,15 @@
Licenses
Everything not mentioned:
CC-BY-SA 3.0, Author sapier and Poikilos
URL: http://creativecommons.org/licenses/by-sa/3.0/de/legalcode
## 2019-04-06
### Changes
(OldCoder)
* added feather pattern to feather area
(Poikilos)
* texture expanded to avoid edge glitter
* re-exported mesh with github.com/minetest B3D Exporter
* added eyes

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_deer 2b.blend

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_deer.xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_elk (HD).xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_elk.xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_ostrich.blend

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/codermobs_ostrich.xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer (WIP HD).xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer fell_texture.xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer for unpatched Irrlicht (still glitters).xcf

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/unused/codermobs_deer2a (still separate neck).blend

Binary file not shown.

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_deer_female_mesh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_deer_male_mesh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_m_item.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_f_item.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_mesh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 KiB

BIN
patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/textures/codermobs_ostrich_saddle_mesh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Loading…
Cancel
Save