From 9f3b339acca92437335d4a149cc163c84c0c5778 Mon Sep 17 00:00:00 2001 From: npx Date: Sun, 20 Nov 2016 23:55:24 +0100 Subject: [PATCH] Updated readme and depends files Added settingtypes.txt to set some parameters --- README.txt | 25 ++++++++++++++++++------- depends.txt | 1 + init.lua | 3 +++ settingtypes.txt | 13 +++++++++++++ spawn.lua | 3 ++- 5 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 settingtypes.txt diff --git a/README.txt b/README.txt index 3d89eea..b5dd91b 100644 --- a/README.txt +++ b/README.txt @@ -1,15 +1,26 @@ -Not so simple mobs by NPX team +Not So Simple Mobs by NPX team + +Starting from version 3.0 the mod depends on mobs_redo api: + +We suggest that you play nssm with: + - nssb (Not So Simple Buildings, our second mod that adds many blocks and Morlendor, the new dimension): + - 3d_armors (with which you can use our armors): + - unified_inventory (useful to discover the recipes and to use the armors): + - a throwing mod (a mod that adda bows) if compatible with the Tenplus1's damage_system We would like to thank: - PilzAdam, for his wonderful simple-mobs mod; - Tenplus1, for his hard work in making mobs_redo; - - rnd, for his pathfinding; - Echoes91, for Spears: simple but amazing; - - and obviously Celeron-55 and all the people who contributed to Minetest and its community; - - Denise and Ponzi_Duro for the revision of the guide - - Double P and Ponzi_Duro for the beta testing + - and obviously Celeron-55 and all the people who contributed to Minetest and its community (and Paramat in particular); + - Denise and Ponzi_Duro for the revision of the guide; + - Double_P, Ponzi_Duro, Andrey01 and Taikedz for the beta testing; + - Taikedz for his support and for hosting a server dedicated to nssm (Not So Simple Server: ); License LGPL -The mod makes the game really hard, please read the Guide before playing: -https://dl.orangedox.com/a9tDekhYmWRkJt0J0a +The mod makes the game really hard, please read the wiki before playing: + +Here are the trailers of the mod: + - nssm 2.1: + - nssm 3.0: diff --git a/depends.txt b/depends.txt index 3481910..286c34d 100644 --- a/depends.txt +++ b/depends.txt @@ -3,3 +3,4 @@ mobs farming? 3d_armor? fire +tnt diff --git a/init.lua b/init.lua index cc577c2..1ff74ac 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,8 @@ local path = minetest.get_modpath("nssm") nssm = {} + +nssm.mymapgenis = tonumber(minetest.setting_get('mymapgenis')) or 7 + dofile(path.."/spawn.lua") --Mobs diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..39a6614 --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,13 @@ +# ABOUT SETTINGS + +# Mapgen: write here (after "int") 6 (mgv6) or 7 (mgv7 or valleys or fractal or flat) +mymapgenis (Mapgen) int 7 + +# Mobs-Multiplier: multiplier defining the spawn abundance for the mobs: +# 0 = spawn disabled +# 10 = default +# 100 = suicide is not the fastest way of dying +# anothernumber = multiplier of the spawn abundance +# multimobs (Multimobs) int 10 + +# Difficult-level: diff --git a/spawn.lua b/spawn.lua index 6d25963..3460d83 100644 --- a/spawn.lua +++ b/spawn.lua @@ -1,5 +1,6 @@ --Before starting a new game write 6 or 7 in order to regulate the spawns (7 works also with flat and fractal). - local mymapgenis = 7 + +local mymapgenis = nssm.mymapgenis -- Spawning parameters