v0.3.0
This commit is contained in:
parent
e75a2151d3
commit
6d50ecb489
20
README.md
20
README.md
@ -1,25 +1,25 @@
|
||||
### Mobs Banshee
|
||||
![Mobs Banshee's screenshot](screenshot.png)<br>
|
||||
**_Adds a banshee._**
|
||||
![Mobs Banshee's screenshot](screenshot.png)
|
||||
**_Adds banshees._**
|
||||
|
||||
**Version:** 0.2.0<br>
|
||||
**Source code's license:** GPL v3.0<br>
|
||||
**Textures' license:** CC BY-SA v3.0<br>
|
||||
**Version:** 0.3.0
|
||||
**Source code's license:** GPL v3.0
|
||||
**Textures' license:** CC BY-SA v3.0
|
||||
**Sounds' license:** CC BY v3.0
|
||||
|
||||
**Dependencies:** default (found in Minetest Game), mobs (Mobs Redo)<br>
|
||||
**Dependencies:** default (found in Minetest Game), mobs (Mobs Redo)
|
||||
**Supported:** mobs_humans
|
||||
|
||||
### Installation
|
||||
|
||||
Unzip the archive, rename the folder to mobs_banshee and place it in<br>
|
||||
Unzip the archive, rename the folder to mobs_banshee 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
|
||||
|
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](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- no other features planned
|
||||
|
||||
## [0.3.0] - 2018-07-18
|
||||
### Added
|
||||
|
||||
- spawn on mobs_humans:human_bones
|
||||
- changelog.md
|
@ -1 +1 @@
|
||||
Adds a banshee.
|
||||
Adds banshees.
|
15
init.lua
15
init.lua
@ -1,5 +1,5 @@
|
||||
--[[
|
||||
Mobs Banshee - Adds a banshee.
|
||||
Mobs Banshee - Adds banshees.
|
||||
Copyright (C) 2018 Hamlet
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@ -23,7 +23,6 @@
|
||||
|
||||
local banshee_daytime_check = minetest.settings:get_bool("banshee_daytime_check")
|
||||
local minetest_log_level = minetest.settings:get("debug_log_level")
|
||||
local mod_load_message = "[Mod] Mobs Banshee [v0.2.0] loaded."
|
||||
|
||||
if (banshee_daytime_check == nil) then
|
||||
banshee_daytime_check = false
|
||||
@ -214,7 +213,7 @@ mobs:register_mob("mobs_banshee:banshee", {
|
||||
|
||||
mobs:spawn({
|
||||
name = "mobs_banshee:banshee",
|
||||
nodes = {"bones:bones"},
|
||||
nodes = {"bones:bones", "mobs_humans:human_bones"},
|
||||
neighbors = {"air"},
|
||||
max_light = 4,
|
||||
min_light = 0,
|
||||
@ -238,8 +237,10 @@ mobs:alias_mob("mobs:banshee", "mobs_banshee:banshee")
|
||||
-- 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 Banshee [v0.3.0] loaded.")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user