v0.5.0
This commit is contained in:
parent
b11c600b0c
commit
8cebfbdc63
20
README.md
20
README.md
@ -1,26 +1,26 @@
|
||||
### Mobs Ghost Redo
|
||||
<br>
|
||||
**_Adds a ghost mob._**
|
||||

|
||||
**_Adds ghosts._**
|
||||
|
||||
**NOTE:** This is Blockmen's CME Ghost mob ported to Mobs Redo, and tweaked.
|
||||
|
||||
**Version:** 0.4.1<br>
|
||||
**Source code's license:** GPL v3.0<br>
|
||||
**Version:** 0.5.0
|
||||
**Source code's license:** GPL v3.0
|
||||
**Media (Textures, Models, Sounds) license:** CC-BY-SA 4.0 International.
|
||||
|
||||
**Dependencies:** default, bones (found in Minetest Game), mobs (Mobs Redo)<br>
|
||||
**Supported:** mobs_others, moreores<br>
|
||||
**Dependencies:** default, bones (found in Minetest Game), mobs (Mobs Redo)
|
||||
**Supported:** mobs_humans, mobs_others, moreores
|
||||
|
||||
### Installation
|
||||
|
||||
Unzip the archive, rename the folder to mobs_ghost_redo and place it in<br>
|
||||
Unzip the archive, rename the folder to mobs_ghost_redo and place it in
|
||||
../minetest/mods/
|
||||
|
||||
If you only want this to be used in a single world, place it in<br>
|
||||
If you only want this to be used in a single world, place it in
|
||||
../minetest/worlds/WORLD_NAME/worldmods/
|
||||
|
||||
GNU+Linux - If you use a system-wide installation place it in<br>
|
||||
GNU+Linux - If you use a system-wide installation place it in
|
||||
~/.minetest/mods/
|
||||
|
||||
For further information or help see:<br>
|
||||
For further information or help see:
|
||||
https://wiki.minetest.net/Help:Installing_Mods
|
18
changelog.md
Normal file
18
changelog.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- no other features planned
|
||||
|
||||
|
||||
## [0.5.0] - 2018-07-18
|
||||
### Added
|
||||
|
||||
- spawn on mobs_humans:human_bones
|
||||
- damage from moreores:sword_mithril
|
||||
- changelog.md
|
@ -1,5 +1,6 @@
|
||||
default
|
||||
bones
|
||||
mobs
|
||||
mobs_humans?
|
||||
mobs_others?
|
||||
moreores?
|
@ -1 +1 @@
|
||||
Adds a ghost mob.
|
||||
Adds ghosts.
|
19
init.lua
19
init.lua
@ -1,7 +1,6 @@
|
||||
--[[
|
||||
Mobs Ghost Redo - Adds a ghost mob.
|
||||
Mobs Ghost Redo - Adds ghosts.
|
||||
Copyright (C) 2018 Hamlet
|
||||
Code based on BlockMen's <blockmen2015@gmail.com> CME Ghost mob.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -24,7 +23,6 @@
|
||||
|
||||
local ghost_daytime_check = minetest.settings:get_bool("ghost_daytime_check")
|
||||
local minetest_log_level = minetest.settings:get("debug_log_level")
|
||||
local mod_load_message = "[Mod] Mobs Ghost Redo [v0.4.1] loaded."
|
||||
|
||||
if (ghost_daytime_check == nil) then
|
||||
ghost_daytime_check = false
|
||||
@ -96,7 +94,8 @@ mobs:register_mob("mobs_ghost_redo:ghost", {
|
||||
{"default:sword_mese", 7},
|
||||
{"mobs_others:sword_obsidian", 7},
|
||||
{"default:sword_diamond", 8},
|
||||
{"moreores:sword_silver", 12}
|
||||
{"moreores:sword_silver", 12},
|
||||
{"moreores:sword_mithril", 9}
|
||||
},
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
@ -214,7 +213,7 @@ mobs:register_mob("mobs_ghost_redo:ghost", {
|
||||
--
|
||||
|
||||
mobs:spawn({name = "mobs_ghost_redo:ghost",
|
||||
nodes = {"bones:bones"},
|
||||
nodes = {"bones:bones", "mobs_humans:human_bones"},
|
||||
neighbors = {"air"},
|
||||
max_light = 4,
|
||||
min_light = 0,
|
||||
@ -246,8 +245,10 @@ mobs:alias_mob("mobs:ghost", "mobs_ghost_redo:ghost")
|
||||
-- Minetest engine debug logging
|
||||
--
|
||||
|
||||
if (minetest_log_level == nil) or (minetest_log_level == "action") or
|
||||
(minetest_log_level == "info") or (minetest_log_level == "verbose") then
|
||||
|
||||
minetest.log("action", mod_load_message)
|
||||
if (minetest_log_level == nil)
|
||||
or (minetest_log_level == "action")
|
||||
or (minetest_log_level == "info")
|
||||
or (minetest_log_level == "verbose")
|
||||
then
|
||||
minetest.log("action", "[Mod] Mobs Ghost Redo [v0.5.0] loaded.")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user