This commit is contained in:
Hamlet 2018-07-18 12:22:43 +02:00
parent e75a2151d3
commit 6d50ecb489
5 changed files with 37 additions and 20 deletions

View File

@ -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
View 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

View File

@ -1 +1 @@
Adds a banshee.
Adds banshees.

View File

@ -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

View File

@ -1,7 +1,7 @@
name = mobs_banshee
title = Mobs Banshee
author = Hamlet
description = Adds a banshee.
description = Adds banshees.
license = GPLv3
forum = https://forum.minetest.net/viewtopic.php?f=9&t=20234
version = 0.2.0
version = 0.3.0