mirror of
https://github.com/Poikilos/mob_dragon.git
synced 2023-10-03 08:18:49 -07:00
convert to Blender 2.8 and add b3d version
This commit is contained in:
parent
6259bec5ac
commit
2d1923f6c6
16
changelog.md
Normal file
16
changelog.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [git] - 2017-06-20
|
||||
### Added
|
||||
- https://github.com/ExcaliburZero/mobpack
|
||||
- Blender 2.8 file (Append from old blend & set end frame & markers)
|
||||
- this changelog.md
|
||||
|
||||
### Changed
|
||||
- Rename to mob_dragon (change media naming to match)
|
||||
- Move non-game project files to a new src directory.
|
||||
- Make readme.md lowercase.
|
14
dragon.lua
14
dragon.lua
@ -5,13 +5,13 @@ dofile(minetest.get_modpath("mobs").."/api.lua")
|
||||
------Dragon-------
|
||||
-------------------
|
||||
-------------------
|
||||
mobs:register_mob("mobpack:dragon", {
|
||||
mobs:register_mob("mob_dragon:dragon", {
|
||||
type = "monster",
|
||||
hp_max = 8,
|
||||
collisionbox = {-3, -3, -3, 3, 3, 3},
|
||||
visual = "mesh",
|
||||
mesh = "mobpack_dragon.x",
|
||||
textures = {"mobpack_dragon.png"},
|
||||
mesh = "mob_dragon.b3d",
|
||||
textures = {"mob_dragon.png"},
|
||||
visual_size = {x=5, y=5},
|
||||
makes_footstep_sound = false,
|
||||
view_range = 15,
|
||||
@ -40,15 +40,15 @@ mobs:register_mob("mobpack:dragon", {
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mobpack:dragon", {
|
||||
minetest.register_craftitem("mob_dragon: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")
|
||||
minetest.env:add_entity(pointed_thing.above, "mob_dragon:dragon")
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
})
|
||||
|
4
init.lua
4
init.lua
@ -1,3 +1,3 @@
|
||||
modpath=minetest.get_modpath("mobpack")
|
||||
modpath = minetest.get_modpath("mob_dragon")
|
||||
|
||||
dofile(modpath.."/dragon.lua")
|
||||
dofile(modpath.."/dragon.lua")
|
||||
|
BIN
models/mob_dragon.b3d
Normal file
BIN
models/mob_dragon.b3d
Normal file
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
BIN
src/mob_dragon.blend
Normal file
BIN
src/mob_dragon.blend
Normal file
Binary file not shown.
BIN
src/mob_dragon.blend1
Normal file
BIN
src/mob_dragon.blend1
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user