created mod

master
rocketslime11 2014-02-21 12:13:38 -05:00
commit 8ce1484e41
6 changed files with 16046 additions and 0 deletions

12
README.md Normal file
View File

@ -0,0 +1,12 @@
=== Mob Pack Mod for Minetest ===
This is a mod for Minetest that adds more simple mobs.
Created by ExcaliburZero / Rocketslime_1_1
Licenses:
Code is liscenced CC0
Textures are liscenced CC0
Dependencies:
Simple Mobs

1
depends.txt Normal file
View File

@ -0,0 +1 @@
mobs

54
dragon.lua Normal file
View File

@ -0,0 +1,54 @@
dofile(minetest.get_modpath("mobs").."/api.lua")
-------------------
-------------------
------Dragon-------
-------------------
-------------------
mobs:register_mob("mobpack:dragon", {
type = "monster",
hp_max = 8,
collisionbox = {-3, -3, -3, 3, 3, 3},
visual = "mesh",
mesh = "mobpack_dragon.x",
textures = {"mobpack_dragon.png"},
visual_size = {x=5, y=5},
makes_footstep_sound = false,
view_range = 15,
walk_velocity = 1,
run_velocity = 3,
damage = 4,
drops = {},
armor = 100,
drawtype = "front",
light_resistant = true,
water_damage = 1,
lava_damage = 1,
light_damage = 0,
attack_type = "dogfight",
animation = {
stand_start = 0,
stand_end = 40,
walk_start = 41,
walk_end = 61,
run_start = 62,
run_end = 103,
punch_start = 104,
punch_end = 113,
speed_normal = 62,
speed_run = 103,
},
})
minetest.register_craftitem("mobpack:dragon", {
description = "Dragon",
inventory_image = "default_wood.png",
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.above then
minetest.env:add_entity(pointed_thing.above, "mobpack:dragon")
itemstack:take_item()
end
return itemstack
end,
})

3
init.lua Normal file
View File

@ -0,0 +1,3 @@
modpath=minetest.get_modpath("mobpack")
dofile(modpath.."/dragon.lua")

BIN
models/mobpack_dragon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

15976
models/mobpack_dragon.x Normal file

File diff suppressed because it is too large Load Diff