Push to 1.1.3
parent
0a5443714c
commit
a214ea98b2
|
@ -2,7 +2,7 @@ Minetest mod "Creatures"
|
|||
=======================
|
||||
by BlockMen (c) 2014
|
||||
|
||||
Version: 1.1.2 Beta
|
||||
Version: 1.1.3 Beta
|
||||
|
||||
About
|
||||
~~~~~
|
||||
|
@ -89,6 +89,11 @@ Changelog:
|
|||
- Added Shears (rightclick)
|
||||
- Items are only droped (without player action) with builtin_mod
|
||||
|
||||
# 1.1.3
|
||||
- Fixed crash caused by spawning control
|
||||
- Prevent the mobs flood once and for all
|
||||
- Drop items aswell when settings define max lifetime
|
||||
|
||||
This program is free software. It comes without any warranty, to
|
||||
the extent permitted by applicable law. You can redistribute it
|
||||
and/or modify it under the terms of the Do What The Fuck You Want
|
||||
|
|
4
init.lua
4
init.lua
|
@ -15,7 +15,9 @@ creatures.ANIM_RUN = 6
|
|||
-- Drop items (when not killed by player) only if items get removed
|
||||
creatures.drop_on_death = false
|
||||
local remove_items = minetest.setting_get("remove_items")
|
||||
if minetest.get_modpath("builtin_item") ~= nil and remove_items ~= nil and tonumber(remove_items) > 0 then
|
||||
local remove_items_2 = minetest.setting_get("item_entity_ttl")
|
||||
if minetest.get_modpath("builtin_item") ~= nil and ((remove_items ~= nil and tonumber(remove_items) > 0) or
|
||||
(remove_items_2 ~= nil and tonumber(remove_items_2) > 0)) then
|
||||
creatures.drop_on_death = true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue