Compare commits
26 Commits
master-fix
...
main
Author | SHA1 | Date | |
---|---|---|---|
648f03722e | |||
2bb4b8a5ce | |||
81ce4f857a | |||
ead0cb3337 | |||
|
eb93e4535f | ||
|
852d72fba8 | ||
|
aae830cca9 | ||
d4f5fafd08 | |||
f1615312a0 | |||
8a3420f2ed | |||
2ff910fd38 | |||
f3270cdbc3 | |||
be9daac2f2 | |||
faecc39299 | |||
|
d8f8f53ce5 | ||
|
26c8022cc9 | ||
|
f728f41c36 | ||
|
b6024973ab | ||
|
7afe6fdd73 | ||
|
ee84ab559e | ||
|
b9281f225e | ||
|
015884c201 | ||
|
52f13c0ab9 | ||
63764309e2 | |||
48c3d3f5bb | |||
80d04890a1 |
225
README.md
225
README.md
@ -1,16 +1,223 @@
|
||||
# NSSB - Not So Simple Buildings
|
||||
# minetest mod nssb
|
||||
|
||||
Mod to use with [NSSM - Not So Simple Mobs](https://github.com/taikedz-mt/nssm)
|
||||
BIOME integration for nssm, the not so simple buildings
|
||||
|
||||
It adds buildings with monsters spawners around the world and the Morlendor dimension which can be reached by portals that spawns like the other buildings.
|
||||
## information
|
||||
|
||||
This is a continuation of NPX Team's mod.
|
||||
A MAPGEN mod for Not so simple mobs (NSSM mod) that add spanners and new BIOME underground
|
||||
|
||||
It **add [buildings](#buildings) with monsters spanners around the world**, also
|
||||
as feature **the [Morlendor](#mordenlor) dimension which can be reached by portals that spawns**
|
||||
like the other buildings.
|
||||
|
||||
***From the portal, you have to follow the same direction of travelling from the Shire to Mordor!
|
||||
Good luck!***
|
||||
|
||||
For usage information regarding gameplay a wiki is brewing at https://codeberg.org/minenux/minetest-mod-nssb/wiki
|
||||
|
||||

|
||||
|
||||
#### Morlendor
|
||||
|
||||
This is a new BIOME apart of the NSSM ones, it has a central temple where you appears,
|
||||
the mobs there will be so hostile and the nodes will be pretty rare and hard to pick.
|
||||
|
||||
There are many minerals (around ten new ones) and many new enemies (around six new ones).
|
||||
|
||||

|
||||
|
||||
#### Buildings
|
||||
|
||||
This mod provides new forms of structures for living NSSM mobs, by example will provide
|
||||
a new BIOME for each mob boos like kind event just the simple BIOME from NSSM.
|
||||
|
||||
There are many new structures (around 20 new) inclusive inside the already provides by the NSSM.
|
||||
|
||||
|
||||
## Technical information
|
||||
|
||||
This is a **continuation of NPX Team's mod** and currently provides bugfixeds and user contributions.
|
||||
**the original repo from NPXcoot and the fork from taikedz are deprecated and discontinued.**
|
||||
|
||||
This mod is strongly linked to the NSSM mod, and this file is minimal documentation.
|
||||
No new features are developed yet! Any new contribution please mantains most backguard compatibility.
|
||||
|
||||
#### dependences:
|
||||
|
||||
* nssm
|
||||
* tnt
|
||||
* mobs
|
||||
|
||||
#### configurations
|
||||
|
||||
This mod adds a dimension in the depths of the map, the [Morlendor](#mordenlor), **configurable**
|
||||
using the `nssb.morlendor_level` parameter as negative integer:
|
||||
|
||||
* If `nssb.morlendor_level` is outside of `mapgen_limit`, the mod will try to autoset best setting.
|
||||
* If `nssb.morlendor_level` it overlap `nether_depth_ymax`, of nether mod, an error will raise.
|
||||
|
||||
The morlendor level must be at least 320 layers of blocks over the limit,
|
||||
and 1000 layers of blocks below the nether deep floor.
|
||||
|
||||
### New buildings
|
||||
|
||||
This mod automatically puts in map some special structures based on enemies and biomes:
|
||||
|
||||
| Name game | Name internal map | build description biome | frecuency | biome |
|
||||
| ------------------- | ------------------- | -------------------------- | ------------ | ----- |
|
||||
| Morlendor temple | portal | Portal center temple | only one | mordenlor |
|
||||
| | spiaggiagranchius | | often | sand |
|
||||
| | acquagranchius | struture for some marine | often | |
|
||||
| | ooteca | | often | |
|
||||
| | minuscolaooteca | | often | grass |
|
||||
| | piccolaooteca | | often | grass |
|
||||
| | arcate | | often | sand |
|
||||
| Grant piramide | grandepiramide | | often | dirt |
|
||||
| | collina | | often | grass |
|
||||
| | megaformicaio | | often | grass |
|
||||
| Ant Queen Hil | antqueenhill | antqueen trone inside ants | often | grass |
|
||||
| | rovine1 | | often | grass |
|
||||
| | rovine2 | | common | stone |
|
||||
| | rovine3 | | common | grass |
|
||||
| | rovine4 | | common | grass |
|
||||
| | rovine5 | | common | grass |
|
||||
| | rovine6 | | common | grass |
|
||||
| | rovine7 | | common | grass |
|
||||
| | rovine8 | | common | grass |
|
||||
| | rovine9 | | common | grass |
|
||||
| | rovine10 | | common | grass |
|
||||
| | bozzoli | | common | grass |
|
||||
| | picco | | often | sand |
|
||||
| | piccoghiaccio | | often | snow |
|
||||
| | icehall | | often | ice |
|
||||
| | piccomoonheron | | often | snow |
|
||||
| | doppiopiccoghiaccio | | often | snow |
|
||||
| | doppiopiccosabbia | | often | sand |
|
||||
| | piccoscrausics | | often | sand |
|
||||
| | fossasand | | often | sand |
|
||||
| | blocohouse | | common | stone |
|
||||
| | bigblocohouse | | common | stone |
|
||||
| | blocobiggesthouse | | common | stone |
|
||||
|
||||
### Nodes definitions
|
||||
|
||||
This mod uses all the nodes defined in NSSM mod, the new ones are justimproved versions
|
||||
for specific things around the new biomes and new structures:
|
||||
|
||||
| Name Game | Name internal | notes |
|
||||
| -------------------- | ------------------------- | ------------------ |
|
||||
| Morlendor Portal | nssb:portal | Rare, give you a way to visit Portal Morlendor center Temple |
|
||||
| Portal home | nssb:portalhome | The liquit that powered the Portal center temple |
|
||||
| Memoryone | nssb:memoryone | Non naturally generated ·Unbreakable |
|
||||
| Mossy Stone Brick | nssb:mossy_stone_brick | Same as Stone Brick except texture |
|
||||
| Stone Brick | nssb:stone_brick | Default Stone Brick |
|
||||
| Very Mossy Stone Brick | nssb:very_mossy_stone_brick | Same as Mossy Stone Brick except texture |
|
||||
| Mossy Stone Column | nssb:mossy_stone_column | Same as Stone Brick except texture ·Screwdivable |
|
||||
| Stone Column | nssb:stone_column | Same as Mossy Stone Column except texture |
|
||||
| Seastone | nssb:marine_stone | Generated in oceans · Hard beetwen stone and bricks |
|
||||
| Seastone Brick | nssb:marine_brick | Same as Seastone except texture |
|
||||
| Sea Meselamp | nssb:marine_meselamp | Hard as Obsidian Glass ·Emits light level 15 |
|
||||
| Morlamp | nssb:morlamp | Same as Sea Meselamp except texture |
|
||||
| Mantis Clay | nssb:mantis_clay | Same as Default Stone except texture |
|
||||
| Hardened Mantis Clay | nssb:hardened_mantis_clay | Hard as diamond ore ·Same except texture |
|
||||
| Ant Stone | nssb:ant_stone | Same as Hardened Mantis Clay except texture |
|
||||
| Vine | nssb:vine | Climbable ·Flamable · slab,Can be placed only on solid walls |
|
||||
| Liana | nssb:Liana | Same as Default Ladder except texture |
|
||||
| Web Cocoon | nssb:web_cocoon | Flamable, intrincate |
|
||||
| Vertical web | nssb:vertical_web | Flamable, Very light web, almost liquit type|
|
||||
| Web cone up | nssb:web_cone_up | Flamable, Very light web, almost liquit type |
|
||||
| Web cone down | nssb:web_cone_down | Flamable, Very light web, almost liquit type |
|
||||
| Dark Stone | nssb:morentir | Complete black, confuse and intimidate |
|
||||
| Exploding Dark Stone | nssb:boum_morentir | When mine will explodes and harm you |
|
||||
| Falling Dark Stone | nssb:fall_morentir | Fall over you or when close |
|
||||
| Dark Indistructible Stone | nssb:indistructible_morentir | The last layer .. indestructible and inperceptible |
|
||||
| Dark Starred Stone | nssb:morelentir | Dust from the drops of DArk related nodes |
|
||||
| Dark Dirt | nssb:morkemen | Decorative |
|
||||
| Dark air | nssb:morvilya | Decorative, harms you no cares if there a player effect mod |
|
||||
| Black Flame | nssb:mornar | Decorative fire black flame |
|
||||
| Black Water | nssb:mornen | Decorative water, harms you |
|
||||
| Flowing Dark Water | nssb:mornen_flowing | The source of dark water |
|
||||
| Morlote | nssb:morlote | Part of morlendor biome |
|
||||
| Moranga Ore | nssb:moranga | Ore of morlendor biome |
|
||||
| Life Energy Ore | nssb:life_energy_ore | Ore of morlendor biome |
|
||||
| Moranga Lump | nssb:moranga_lump | Lump of moranga ore |
|
||||
| Moranga Ingot | nssb:moranga_ingot | Igot of maranga ore |
|
||||
| Disactivated Morvalar Block | nssb:dis_morvalar_block | Indestructible Last layer of block, but not usage posible |
|
||||
| Morvalar Block | nssb:morvalar_block | Indestructible Last layer of block |
|
||||
|
||||
|
||||
### Eggs definitions
|
||||
|
||||
This mod defines eggs for some new mosnters and few big bosses:
|
||||
|
||||
| Name game | Name internal | Produces | notes |
|
||||
| ------------ | ---------------------- | ----------------- | ------------- |
|
||||
| Ant Worker | nssb:ant_worker_eggs | nssb:ant_worker | |
|
||||
| Ant Soldier | nssb:ant_soldier_eggs | nssb:ant_soldier | |
|
||||
| Larva | nssb:larva_eggs | nssb:larva | |
|
||||
| Crab | nssb:crab_eggs | nssb:crab | |
|
||||
| Black Widow | nssb:black_widow_eggs | nssb:black_widow | |
|
||||
| Uloboros | nssb:uloboros_eggs | nssb:uloboros | |
|
||||
| Daddy Long Legs | nssb:daddy_long_legs_eggs | nssb:daddy_long_legs | |
|
||||
| Xgaloctopus | nssb:xgaloctopus_eggs | nssb:xgaloctopus | |
|
||||
| Bloco | nssb:bloco_eggs | nssb:bloco | |
|
||||
| Icesnake | nssb:icesnake_eggs | nssb:icesnake | |
|
||||
| Snowbiter | nssb:snow_biter_eggs | nssb:snow_biter | |
|
||||
| Scrausics | nssb:scrausics_eggs | nssb:scrausics | |
|
||||
| Moonheron | nssb:moonheron_eggs | nssb:moonheron | |
|
||||
| Phoenix | nssb:phoenix_eggs | nssb:phoenix | Flying boss |
|
||||
| Tarantula | nssb:tarantula_eggs | nssb:tarantula | Spider boss |
|
||||
| Night Master | nssb:night_master_eggs | nssb:night_master | Dark creature boss |
|
||||
| Ant Queen | nssb:ant_queen_eggs | nssb:ant_queen | Ant Qeen boss |
|
||||
| Icelamander | nssb:icelamander_eggs | nssb:icelamander | Salamander boss |
|
||||
| Giant Sandworm Egg | nssb:giant_sandworm_eggs | nssb:giant_sandworm | **The final boos egg** |
|
||||
|
||||
|
||||
### Spawn definitions
|
||||
|
||||
This mod automatically will spawms some specific enemies over the map:
|
||||
|
||||
| monster | nodes under | nodes around | moment where | level where spawn |
|
||||
| ------------ | -------------- | --------------- | ------------- | -------------------- |
|
||||
| nssm:morvy | nssb:morentir | nssb:morentir | day and night | mordenlor/underground|
|
||||
| nssm:morbat1 | air | nssb:morelentir | day and night | mordenlor |
|
||||
| nssm:morbat2 | air | nssb:morelentir | day and night | mordenlor/underground|
|
||||
| nssm:morbat3 | air | nssb:morelentir | day and night | mordenlor |
|
||||
| nssm:morlu | nssb:morentir | nssb:mornen | day and night | mordenlor |
|
||||
| nssm:morde | nssb:morentir | nssb:mornar | day and night | mordenlor |
|
||||
| nssm:mordain | nssb:morentir | nssb:morentir | day and night | mordenlor/underground|
|
||||
| nssm:morgut | nssb:morentir | nssb:morentir | day and night | mordenlor/underground|
|
||||
|
||||
### Crafting definitions
|
||||
|
||||
* Sea Meseamp (`nssb:marine_meselamp`)
|
||||
```
|
||||
{"default:glass", "bucket:bucket_water", "default:glass"},
|
||||
{"default:glass", "default:mese_crystal", "default:glass"},
|
||||
{"default:glass", "bucket:bucket_water", "default:glass"}
|
||||
```
|
||||
|
||||
* Morlamp (`nssb:morlamp`)
|
||||
```
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"},
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"},
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"}
|
||||
```
|
||||
|
||||
* Moranga Ingot (`nssb:moranga_ingot`), must be cooking
|
||||
```
|
||||
nssb:moranga_lump",
|
||||
```
|
||||
|
||||
|
||||
# LICENSE
|
||||
|
||||
* License: LGPLv2.1 or later
|
||||
* Copyright NPX Team and Contributors
|
||||
* Copyright 2016-2018 NPX Team and Contributors
|
||||
* Copyright 2017-2019 taikedz
|
||||
* Copyright 2021-2022 tenplus1
|
||||
* Copyright 2021-2022 PICCORO Lenz McKAY @mckaygerhard
|
||||
* License for media: CC-BY-SA 4.0
|
||||
* Copyright 2016-2018 NPX Team and Contributors
|
||||
|
||||
# Conflicts
|
||||
|
||||
This mod adds a dimension in the depths of the map ; as such it is incompaitble with other mapgen mods that add underground worlds such as `nether`, `fun_caves` or `caverealms`
|
||||
|
||||
Check [LICENSE.txt](LICENSE.txt)
|
||||
|
@ -1,3 +1,14 @@
|
||||
v2.2 - 29-07-22
|
||||
- Fix morlamp craft "nssb:morelentir_dust" not defined https://github.com/NPXcoot/nssb/issues/2
|
||||
- Fix fix morenrir to morentir https://github.com/NPXcoot/nssb/pull/3/files
|
||||
- Optimize morlendor map generation on newer engines using stratum ore type to generate layers
|
||||
|
||||
v2.1 - 3rd Feb 2022 (Edited by TenPlus1)
|
||||
- Switch to new functions
|
||||
- Add configurable level in settings (nssb.morlendor_level)
|
||||
- Replace registered_ore iterations with "stratum" feature for speed increase
|
||||
- Fix any errors
|
||||
|
||||
v2.0 - 22-11-16
|
||||
- added the Morlendor dimension and all its materials;
|
||||
- added the compatibility with the mapgen v7 and valleys (and also fractal and flat);
|
||||
|
@ -1,2 +1,3 @@
|
||||
nssm
|
||||
default
|
||||
tnt
|
||||
|
1
description.txt
Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
||||
BIOME integration for NSSM, the not so simple buildings
|
5
init.lua
5
init.lua
@ -1,6 +1,9 @@
|
||||
--Nssb
|
||||
nssb = {}
|
||||
|
||||
local path = minetest.get_modpath("nssb")
|
||||
|
||||
nssb.is_50 = minetest.has_feature("object_use_texture_alpha") or nil
|
||||
|
||||
dofile(path .. "/nodes.lua")
|
||||
dofile(path .. "/mapgen.lua")
|
||||
dofile(path .. "/spawn.lua")
|
||||
|
1087
mapgen.lua
1087
mapgen.lua
File diff suppressed because it is too large
Load Diff
5
mod.conf
5
mod.conf
@ -1 +1,6 @@
|
||||
name = nssb
|
||||
title = Not So Simple Mobs
|
||||
depends = default, nssm, tnt
|
||||
description = BIOME integration for NSSM, the not so simple buildings
|
||||
license = GPL
|
||||
min_minetest_version = 0.4
|
||||
|
385
nodes.lua
385
nodes.lua
@ -1,10 +1,11 @@
|
||||
-- Materials
|
||||
|
||||
minetest.register_node("nssb:memoryone", {
|
||||
description = "Memoryone",
|
||||
tiles = {"very_mossy_stone_brick.png"},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mossy_stone_brick", {
|
||||
@ -13,7 +14,7 @@ minetest.register_node("nssb:mossy_stone_brick", {
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:stone_brick", {
|
||||
@ -22,7 +23,7 @@ minetest.register_node("nssb:stone_brick", {
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:very_mossy_stone_brick", {
|
||||
@ -31,7 +32,7 @@ minetest.register_node("nssb:very_mossy_stone_brick", {
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mossy_stone_column", {
|
||||
@ -40,7 +41,7 @@ minetest.register_node("nssb:mossy_stone_column", {
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:stone_column", {
|
||||
@ -49,7 +50,7 @@ minetest.register_node("nssb:stone_column", {
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:marine_stone", {
|
||||
@ -57,7 +58,7 @@ minetest.register_node("nssb:marine_stone", {
|
||||
tiles = {"marine_stone.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1, stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:marine_brick", {
|
||||
@ -65,7 +66,7 @@ minetest.register_node("nssb:marine_brick", {
|
||||
tiles = {"marine_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {stone = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:marine_meselamp", {
|
||||
@ -73,8 +74,9 @@ minetest.register_node("nssb:marine_meselamp", {
|
||||
tiles = {"marine_meselamp.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3},
|
||||
light_source = 15,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
drop = "",
|
||||
light_source = 14,
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:morlamp", {
|
||||
@ -82,8 +84,9 @@ minetest.register_node("nssb:morlamp", {
|
||||
tiles = {"morlamp.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3},
|
||||
light_source = 15,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
drop = "",
|
||||
light_source = 14,
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mantis_clay", {
|
||||
@ -91,7 +94,7 @@ minetest.register_node("nssb:mantis_clay", {
|
||||
tiles = {"mantis_clay.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:hardened_mantis_clay", {
|
||||
@ -99,7 +102,7 @@ minetest.register_node("nssb:hardened_mantis_clay", {
|
||||
tiles = {"hard_mantis_clay.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:ant_stone", {
|
||||
@ -107,14 +110,14 @@ minetest.register_node("nssb:ant_stone", {
|
||||
tiles = {"ant_stone.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:vine", {
|
||||
description = "Vine",
|
||||
drawtype = "signlike",
|
||||
tiles = {"climbing_plant.png"},
|
||||
inventory_image = {"vine.png"},
|
||||
inventory_image = "climbing_plant.png",
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
paramtype = "light",
|
||||
@ -128,7 +131,7 @@ minetest.register_node("nssb:vine", {
|
||||
minetest.register_node("nssb:liana", {
|
||||
description = "Liana",
|
||||
drawtype = "plantlike",
|
||||
inventory_image = {"liana.png"},
|
||||
inventory_image = "liana.png",
|
||||
tiles = {"liana.png"},
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
@ -140,7 +143,7 @@ minetest.register_node("nssb:liana", {
|
||||
minetest.register_node("nssb:vertical_web", {
|
||||
description = "Vertical Web",
|
||||
inventory_image = "vertical_web.png",
|
||||
tile_images = {"vertical_web.png"} ,
|
||||
tile = {"vertical_web.png"} ,
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
@ -155,13 +158,13 @@ minetest.register_node("nssb:vertical_web", {
|
||||
liquid_alternative_flowing = "nssb:vertical_web",
|
||||
liquid_alternative_source = "nssb:vertical_web",
|
||||
liquid_viscosity = 20,
|
||||
groups = {flammable=2, snappy=1, liquid=1},
|
||||
groups = {flammable = 2, snappy = 1, liquid = 1}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:web_cone_up", {
|
||||
description = "Web Cone Up",
|
||||
inventory_image = "web_cone_up.png",
|
||||
tile_images = {"web_cone_up.png"} ,
|
||||
tile = {"web_cone_up.png"} ,
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
@ -176,13 +179,13 @@ minetest.register_node("nssb:web_cone_up", {
|
||||
liquid_alternative_flowing = "nssb:web_cone_up",
|
||||
liquid_alternative_source = "nssb:web_cone_up",
|
||||
liquid_viscosity = 20,
|
||||
groups = {flammable=2, snappy=1, liquid=1},
|
||||
groups = {flammable = 2, snappy = 1, liquid = 1}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:web_cone_down", {
|
||||
description = "Web Cone Down",
|
||||
inventory_image = "web_cone_down.png",
|
||||
tile_images = {"web_cone_down.png"} ,
|
||||
tile = {"web_cone_down.png"} ,
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
@ -197,24 +200,24 @@ minetest.register_node("nssb:web_cone_down", {
|
||||
liquid_alternative_flowing = "nssb:web_cone_down",
|
||||
liquid_alternative_source = "nssb:web_cone_down",
|
||||
liquid_viscosity = 20,
|
||||
groups = {flammable=2, snappy=1, liquid=1},
|
||||
groups = {flammable = 2, snappy = 1, liquid = 1}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'nssb:marine_meselamp',
|
||||
output = "nssb:marine_meselamp",
|
||||
recipe = {
|
||||
{'default:glass', 'bucket:bucket_water', 'default:glass'},
|
||||
{'default:glass', 'default:mese_crystal', 'default:glass'},
|
||||
{'default:glass', 'bucket:bucket_water', 'default:glass'},
|
||||
{"default:glass", "bucket:bucket_water", "default:glass"},
|
||||
{"default:glass", "default:mese_crystal", "default:glass"},
|
||||
{"default:glass", "bucket:bucket_water", "default:glass"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'nssb:morlamp',
|
||||
output = "nssb:morlamp",
|
||||
recipe = {
|
||||
{'nssb:morelentir_dust','nssb:morelentir_dust','nssb:morelentir_dust',},
|
||||
{'nssb:morelentir_dust','nssb:morelentir_dust','nssb:morelentir_dust',},
|
||||
{'nssb:morelentir_dust','nssb:morelentir_dust','nssb:morelentir_dust',},
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"},
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"},
|
||||
{"nssm:morelentir_dust","nssm:morelentir_dust","nssm:morelentir_dust"}
|
||||
}
|
||||
})
|
||||
|
||||
@ -224,95 +227,33 @@ minetest.register_node("nssb:web_cocoon", {
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
items = {'node "nssm:spider_leg" 2'},
|
||||
rarity = 4
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:web 1'},
|
||||
rarity = 4
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:ant_sword" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:sun_sword" 1'},
|
||||
rarity = 100
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:night_sword" 1'},
|
||||
rarity = 100
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:spear_ant" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:spear_mantis" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:spear_manticore" 1'},
|
||||
rarity = 22
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:spear_little_ice_tooth" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:spear_duck_beak" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "default:sword_wood" 1'},
|
||||
rarity = 14
|
||||
},
|
||||
{
|
||||
items = {'node "default:sword_steel" 1'},
|
||||
rarity = 20
|
||||
},{
|
||||
items = {'node "default:sword_mese" 1'},
|
||||
rarity = 20
|
||||
},{
|
||||
items = {'node "default:axe_bronze" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:raw_scrausics_wing" 2'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:nssm:mantis_claw" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "default:axe_mese" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:mantis_sword" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "default:axe_steel" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:crab_light_mace" 1'},
|
||||
rarity = 20
|
||||
},
|
||||
{
|
||||
items = {'node "nssm:masticone_fang_sword" 1'},
|
||||
rarity = 20
|
||||
}
|
||||
{items = {"nssm:spider_leg 2"}, rarity = 4},
|
||||
{items = {"nssm:web 1"}, rarity = 4},
|
||||
{items = {"nssm:ant_sword 1"}, rarity = 20},
|
||||
{items = {"nssm:sun_sword 1"}, rarity = 100},
|
||||
{items = {"nssm:night_sword 1"}, rarity = 100},
|
||||
{items = {"nssm:spear_ant 1"}, rarity = 20},
|
||||
{items = {"nssm:spear_mantis 1"}, rarity = 20},
|
||||
{items = {"nssm:spear_manticore 1"}, rarity = 22},
|
||||
{items = {"nssm:spear_little_ice_tooth 1"}, rarity = 20},
|
||||
{items = {"nssm:spear_duck_beak 1"}, rarity = 20},
|
||||
{items = {"default:sword_wood 1"}, rarity = 14},
|
||||
{items = {"default:sword_steel 1"}, rarity = 20},
|
||||
{items = {"default:sword_mese 1"}, rarity = 20},
|
||||
{items = {"default:axe_bronze 1"}, rarity = 20},
|
||||
{items = {"nssm:raw_scrausics_wing 2"}, rarity = 20},
|
||||
{items = {"nssm:mantis_claw 1"}, rarity = 20},
|
||||
{items = {"default:axe_mese 1"}, rarity = 20},
|
||||
{items = {"nssm:mantis_sword 1"}, rarity = 20},
|
||||
{items = {"default:axe_steel 1"}, rarity = 20},
|
||||
{items = {"nssm:crab_light_mace 1"}, rarity = 20},
|
||||
{items = {"nssm:masticone_fang_sword 1"}, rarity = 20}
|
||||
}
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1, flammable=2},
|
||||
groups = {snappy = 1, flammable = 2}
|
||||
})
|
||||
|
||||
|
||||
-- Eggs
|
||||
|
||||
function nssb_register_eggs (
|
||||
@ -330,54 +271,63 @@ lumin) --luminosity parameter of the egg_block
|
||||
tiles = {name .. "_eggs.png"},
|
||||
light_source = lumin,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=1},
|
||||
groups = {choppy = 1}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"nssb:" .. name .. "_eggs"},
|
||||
neighbors = {neigh},
|
||||
interval = int,
|
||||
chance = 1,
|
||||
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local pos1 = {x=pos.x+math.random(-wide,wide), y=pos.y+0.5, z=pos.z+math.random(-wide,wide)}
|
||||
local n = minetest.env:get_node(pos1).name
|
||||
|
||||
local pos1 = {
|
||||
x = pos.x + math.random(-wide, wide),
|
||||
y = pos.y + 0.5,
|
||||
z = pos.z + math.random(-wide, wide)
|
||||
}
|
||||
|
||||
local n = minetest.get_node(pos1).name
|
||||
|
||||
if n ~= "air" and n ~= "default:water_source" then
|
||||
return
|
||||
end
|
||||
|
||||
local count = 0
|
||||
|
||||
local objects = minetest.env:get_objects_inside_radius(pos, 12)
|
||||
local objects = minetest.get_objects_inside_radius(pos, 12)
|
||||
|
||||
for _,obj in ipairs(objects) do
|
||||
count = count + 1
|
||||
--minetest.chat_send_all("Count: "..count)
|
||||
end
|
||||
|
||||
local t = minetest.get_timeofday()
|
||||
--minetest.chat_send_all("Time of day: "..t)
|
||||
|
||||
if (t >= 0.75 and t <= 1) or (t >= 0 and t <= 0.25) or night == false then
|
||||
|
||||
if count < troppi then
|
||||
minetest.add_entity(pos1, "nssm:" .. name)
|
||||
end
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
nssb_register_eggs ('ant_worker', 'Ant Worker', 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('ant_soldier', 'Ant Soldier', 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('larva', 'Larva', 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('crab', 'Crab', 18, 2, 4, "default:sand", false, 5)
|
||||
nssb_register_eggs ('black_widow', 'Black Widow', 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('uloboros', 'Uloboros', 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('daddy_long_legs', 'Daddy Long Legs', 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('xgaloctopus', 'Xgaloctopus', 18, 2, 4, "default:water_source", false, 5)
|
||||
nssb_register_eggs ('bloco', 'Bloco', 14, 2, 4, "default:gravel", false, 5)
|
||||
nssb_register_eggs ('icesnake', 'Icesnake', 18, 2, 4, "default:ice", false, 5)
|
||||
nssb_register_eggs ('snow_biter', 'Snowbiter', 18, 2, 4, "default:ice", false, 5)
|
||||
nssb_register_eggs ('scrausics', 'Scrausics', 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ('moonheron', 'Moonheron', 18, 2, 4, "air", true, 0)
|
||||
nssb_register_eggs ("ant_worker", "Ant Worker", 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("ant_soldier", "Ant Soldier", 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("larva", "Larva", 16, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("crab", "Crab", 18, 2, 4, "default:sand", false, 5)
|
||||
nssb_register_eggs ("black_widow", "Black Widow", 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("uloboros", "Uloboros", 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("daddy_long_legs", "Daddy Long Legs", 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("xgaloctopus", "Xgaloctopus", 18, 2, 4, "default:water_source", false, 5)
|
||||
nssb_register_eggs ("bloco", "Bloco", 14, 2, 4, "default:gravel", false, 5)
|
||||
nssb_register_eggs ("icesnake", "Icesnake", 18, 2, 4, "default:ice", false, 5)
|
||||
nssb_register_eggs ("snow_biter", "Snowbiter", 18, 2, 4, "default:ice", false, 5)
|
||||
nssb_register_eggs ("scrausics", "Scrausics", 18, 2, 4, "air", false, 5)
|
||||
nssb_register_eggs ("moonheron", "Moonheron", 18, 2, 4, "air", true, 0)
|
||||
|
||||
|
||||
function nssb_register_eggboss (
|
||||
name, -- name of the mobs and the eggs
|
||||
@ -389,12 +339,14 @@ neigh, -- block that need to be near for spawning the mobs
|
||||
night, -- if only at night
|
||||
lumin) -- luminosity parameter of the egg_block
|
||||
|
||||
if lumin > 14 then lumin = 14 end
|
||||
|
||||
minetest.register_node("nssb:" .. name .. "_eggboss", {
|
||||
description = descr .. " Eggs",
|
||||
tiles = {name .. "_eggs.png"},
|
||||
light_source = lumin,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=1},
|
||||
groups = {choppy = 1}
|
||||
})
|
||||
|
||||
|
||||
@ -403,44 +355,54 @@ lumin) --luminosity parameter of the egg_block
|
||||
neighbors = {neigh},
|
||||
interval = int,
|
||||
chance = 1,
|
||||
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local pos1 = {x=pos.x+math.random(-wide,wide), y=pos.y+0.5, z=pos.z+math.random(-wide,wide)}
|
||||
local n = minetest.env:get_node(pos1).name
|
||||
|
||||
local pos1 = {
|
||||
x = pos.x + math.random(-wide, wide),
|
||||
y = pos.y + 0.5,
|
||||
z = pos.z + math.random(-wide, wide)
|
||||
}
|
||||
|
||||
local n = minetest.get_node(pos1).name
|
||||
|
||||
if n ~= "air" and n ~= "default:water_source" then
|
||||
return
|
||||
end
|
||||
local count = 0
|
||||
|
||||
local objects = minetest.env:get_objects_inside_radius(pos, 12)
|
||||
local count = 0
|
||||
local objects = minetest.get_objects_inside_radius(pos, 12)
|
||||
|
||||
for _,obj in ipairs(objects) do
|
||||
count = count + 1
|
||||
--minetest.chat_send_all("Count: "..count)
|
||||
end
|
||||
|
||||
local t = minetest.get_timeofday()
|
||||
--minetest.chat_send_all("Time of day: "..t)
|
||||
|
||||
if (t >= 0.75 and t <= 1) or (t >= 0 and t <= 0.25) or night == false then
|
||||
|
||||
if count < troppi then
|
||||
minetest.add_entity(pos1, "nssm:" .. name)
|
||||
end
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
--Bosses of the eggs:
|
||||
nssb_register_eggboss ('phoenix', 'Phoenix', 900, 10, 1, "air", false, 15)
|
||||
nssb_register_eggboss ('tarantula', 'Tarantula', 900, 2, 1, "air", false, 5)
|
||||
nssb_register_eggboss ('night_master', 'Night Master', 900, 10, 1, "air", true, 0)
|
||||
nssb_register_eggboss ('ant_queen', 'Ant Queen', 900, 10, 1, "air", false, 5)
|
||||
nssb_register_eggboss ('icelamander', 'Icelamander', 900, 10, 1, "air", false, 5)
|
||||
|
||||
nssb_register_eggboss ("phoenix", "Phoenix", 900, 10, 1, "air", false, 15)
|
||||
nssb_register_eggboss ("tarantula", "Tarantula", 900, 2, 1, "air", false, 5)
|
||||
nssb_register_eggboss ("night_master", "Night Master", 900, 10, 1, "air", true, 0)
|
||||
nssb_register_eggboss ("ant_queen", "Ant Queen", 900, 10, 1, "air", false, 5)
|
||||
nssb_register_eggboss ("icelamander", "Icelamander", 900, 10, 1, "air", false, 5)
|
||||
|
||||
|
||||
minetest.register_node("nssb:giant_sandworm_eggs", {
|
||||
description = "Giant Sandworm Egg",
|
||||
tiles = {"giant_sandworm_eggs.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy=1},
|
||||
groups = {choppy = 1}
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
@ -448,12 +410,16 @@ minetest.register_abm({
|
||||
neighbors = {"default:desert_stone"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
|
||||
action = function(pos, node)
|
||||
|
||||
local pos1 = {x = pos.x, y = pos.y + 1, z = pos.z}
|
||||
local n = minetest.env:get_node(pos1).name
|
||||
local n = minetest.get_node(pos1).name
|
||||
|
||||
if n ~= "air" then
|
||||
return
|
||||
end
|
||||
|
||||
minetest.add_entity(pos1, "nssm:giant_sandworm")
|
||||
minetest.remove_node(pos)
|
||||
end
|
||||
@ -466,7 +432,7 @@ minetest.register_node("nssb:morentir", {
|
||||
tiles = {"morentir.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:boum_morentir", {
|
||||
@ -475,7 +441,7 @@ minetest.register_node("nssb:boum_morentir", {
|
||||
is_ground_content = true,
|
||||
groups = {cracky = 1},
|
||||
drop = "nssb:morentir",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:fall_morentir", {
|
||||
@ -484,16 +450,15 @@ minetest.register_node("nssb:fall_morentir", {
|
||||
is_ground_content = true,
|
||||
groups = {cracky = 1, falling_node = 1},
|
||||
drop = "nssb:morentir",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:indistructible_morentir", {
|
||||
description = "Dark Indistructible Stone",
|
||||
tiles = {"morentir.png"},
|
||||
groups = {unbreakable = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:morelentir", {
|
||||
@ -504,11 +469,14 @@ minetest.register_node("nssb:morelentir", {
|
||||
tiles = {
|
||||
{
|
||||
name = "morelentir_animated.png",
|
||||
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 6.0},
|
||||
},},
|
||||
animation = {
|
||||
type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 6.0
|
||||
}
|
||||
}
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:morkemen", {
|
||||
@ -516,7 +484,7 @@ minetest.register_node("nssb:morkemen", {
|
||||
tiles = {"morkemen.png"},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
sounds = default.node_sound_dirt_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:morvilya", {
|
||||
@ -532,7 +500,7 @@ minetest.register_node("nssb:morvilya", {
|
||||
drop = "",
|
||||
drowning = 1,
|
||||
damage_per_second = 2,
|
||||
post_effect_color = {a=800, r=1, g=1, b=1},
|
||||
post_effect_color = {a = 800, r = 1, g = 1, b = 1}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mornar", {
|
||||
@ -546,10 +514,10 @@ minetest.register_node("nssb:mornar", {
|
||||
inventory_image = "mornar.png",
|
||||
light_source = 12,
|
||||
groups = {igniter = 2},
|
||||
drop = '',
|
||||
drop = "",
|
||||
walkable = false,
|
||||
buildable_to = false,
|
||||
damage_per_second = 4,
|
||||
damage_per_second = 4
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mornen", {
|
||||
@ -559,10 +527,13 @@ minetest.register_node("nssb:mornen", {
|
||||
tiles = {
|
||||
{
|
||||
name = "mornen_animated.png",
|
||||
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0},
|
||||
animation = {
|
||||
type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
alpha = 650,
|
||||
--alpha = 650,
|
||||
use_texture_alpha = "blend",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
@ -580,7 +551,7 @@ minetest.register_node("nssb:mornen", {
|
||||
liquid_alternative_source = "nssb:mornen",
|
||||
liquid_viscosity = 6,
|
||||
post_effect_color = {a = 500, r = 1, g = 1, b = 1},
|
||||
groups = {liquid=3, puts_out_fire=1},
|
||||
groups = {liquid = 3, puts_out_fire = 1}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:mornen_flowing", {
|
||||
@ -596,8 +567,8 @@ minetest.register_node("nssb:mornen_flowing", {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.3,
|
||||
},
|
||||
length = 3.3
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "mornen_animated.png",
|
||||
@ -606,14 +577,15 @@ minetest.register_node("nssb:mornen_flowing", {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.3,
|
||||
},
|
||||
},
|
||||
length = 3.3
|
||||
}
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "flowingliquid",
|
||||
light_source = 10,
|
||||
alpha = 650,
|
||||
--alpha = 650,
|
||||
use_texture_alpha = "blend",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
diggable = false,
|
||||
@ -628,7 +600,7 @@ minetest.register_node("nssb:mornen_flowing", {
|
||||
liquid_renewable = true,
|
||||
damage_per_second = 2,
|
||||
post_effect_color = {a = 500, r = 1, g = 1, b = 1},
|
||||
groups = {liquid=3, puts_out_fire=1, water=1, not_in_creative_inventory=1},
|
||||
groups = {liquid = 3, puts_out_fire = 1, water = 1, not_in_creative_inventory = 1}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:portal", {
|
||||
@ -638,10 +610,13 @@ minetest.register_node("nssb:portal", {
|
||||
tiles = {
|
||||
{
|
||||
name = "mornen_animated.png",
|
||||
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0},
|
||||
animation = {
|
||||
type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
alpha = 800,
|
||||
--alpha = 800,
|
||||
use_texture_alpha = "blend",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
@ -649,7 +624,7 @@ minetest.register_node("nssb:portal", {
|
||||
buildable_to = true,
|
||||
is_ground_content = false,
|
||||
drop = "",
|
||||
light_source = 15,
|
||||
light_source = 14,
|
||||
liquid_range= 0,
|
||||
drowning = 1,
|
||||
liquid_renewable = false,
|
||||
@ -659,7 +634,7 @@ minetest.register_node("nssb:portal", {
|
||||
liquid_viscosity = 0,
|
||||
post_effect_color = {a = 10, r = 1, g = 1, b = 1},
|
||||
groups = {liquid = 3, puts_out_fire = 1},
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:portalhome", {
|
||||
@ -669,10 +644,13 @@ minetest.register_node("nssb:portalhome", {
|
||||
tiles = {
|
||||
{
|
||||
name = "portalhome_animated.png",
|
||||
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0},
|
||||
animation = {
|
||||
type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
alpha = 800,
|
||||
--alpha = 800,
|
||||
use_texture_alpha = "blend",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
@ -680,7 +658,7 @@ minetest.register_node("nssb:portalhome", {
|
||||
buildable_to = true,
|
||||
is_ground_content = false,
|
||||
drop = "",
|
||||
light_source = 15,
|
||||
light_source = 14,
|
||||
liquid_range= 0,
|
||||
drowning = 1,
|
||||
liquid_renewable = false,
|
||||
@ -690,7 +668,7 @@ minetest.register_node("nssb:portalhome", {
|
||||
liquid_viscosity = 0,
|
||||
post_effect_color = {a = 10, r = 1, g = 1, b = 1},
|
||||
groups = {liquid = 3, puts_out_fire = 1},
|
||||
on_blast = function() end,
|
||||
on_blast = function() end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:morlote", {
|
||||
@ -709,16 +687,16 @@ minetest.register_node("nssb:morlote", {
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
|
||||
},
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:moranga", {
|
||||
description = "Moranga Ore",
|
||||
tiles = {"morentir.png^moranga.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = 'nssb:moranga_lump',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drop = "nssb:moranga_lump",
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:life_energy_ore", {
|
||||
@ -726,41 +704,43 @@ minetest.register_node("nssb:life_energy_ore", {
|
||||
tiles = {"morentir.png^life_energy_ore.png"},
|
||||
groups = {cracky = 1},
|
||||
light_source = 4,
|
||||
drop = 'nssm:energy_globe',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drop = "nssm:energy_globe",
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_craftitem("nssb:moranga_lump", {
|
||||
description = "Moranga Lump",
|
||||
image = "moranga_lump.png",
|
||||
image = "moranga_lump.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "nssb:moranga_ingot",
|
||||
recipe = "nssb:moranga_lump",
|
||||
cooktime = 160,
|
||||
cooktime = 160
|
||||
})
|
||||
|
||||
minetest.register_craftitem("nssb:moranga_ingot", {
|
||||
description = "Moranga Ingot",
|
||||
image = "moranga_ingot.png",
|
||||
image = "moranga_ingot.png"
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("nssb:morvalar_block", {
|
||||
description = "Morvalar Block",
|
||||
tiles = {"morvalar_block.png"},
|
||||
groups = {unbreakable = 1},
|
||||
light_source = 13,
|
||||
on_blast = function() end,
|
||||
light_source = 13
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:dis_morvalar_block", {
|
||||
description = "Deactivated Morvalar Block",
|
||||
description = "Disactivated Morvalar Block",
|
||||
tiles = {"dis_morvalar_block.png"},
|
||||
groups = {unbreakable = 1},
|
||||
on_blast = function() end,
|
||||
|
||||
on_punch = function(pos, node, puncher)
|
||||
|
||||
if puncher:get_wielded_item():get_name() == "nssm:superior_energy_globe" then
|
||||
minetest.set_node(pos, {name="nssb:morvalar_block"})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
@ -768,12 +748,9 @@ minetest.register_abm({
|
||||
neighbors = {"nssb:indistructible_morentir"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
|
||||
action = function(pos, node)
|
||||
minetest.remove_node(pos)
|
||||
minetest.add_entity(pos, "nssm:morvalar")
|
||||
|
||||
minetest.after(5, function()
|
||||
minetest.set_node(pos, {name="nssb:dis_morvalar_block"})
|
||||
end)
|
||||
end
|
||||
})
|
||||
|
BIN
screenshot-large.png
Normal file
BIN
screenshot-large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 729 KiB |
BIN
screenshot.jpg
Normal file
BIN
screenshot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 896 KiB |
2
settingtypes.txt
Normal file
2
settingtypes.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# Morlendor Dimension Level
|
||||
nssb.morlendor_level (Morlendor Dimension Level) int -30000
|
33
spawn.lua
33
spawn.lua
@ -1,16 +1,25 @@
|
||||
local mm = nssm.multimobs
|
||||
|
||||
-- Morvy spawns morbats too
|
||||
mobs:spawn_specific("nssm:morvy", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 120, 18000000/mm, 1, -31000, -93)
|
||||
mobs:spawn_specific("nssm:morbat1", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
mobs:spawn_specific("nssm:morbat2", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
mobs:spawn_specific("nssm:morbat3", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
mobs:spawn_specific("nssm:morbat1", {"air"}, {"nssb:morelentir"},
|
||||
0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
|
||||
mobs:spawn_specific("nssm:morlu", {"nssb:morentir"}, {"nssb:mornen"}, 0, 20, 80, 1200000/mm, 1, -31000, -93)
|
||||
mobs:spawn_specific("nssm:morde", {"nssb:morentir"}, {"nssb:mornar"}, 0, 20, 50, 350000/mm, 1, -31000, -93)
|
||||
mobs:spawn_specific("nssm:mordain", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 90, 15000000/mm, 1, -31000, -93)
|
||||
mobs:spawn_specific("nssm:morgut", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 50, 15000000/mm, 1, -31000, -93)
|
||||
mobs:spawn_specific("nssm:morbat2", {"air"}, {"nssb:morelentir"},
|
||||
0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
|
||||
-- morwa has a statue ABM, do not spawn here
|
||||
-- morgre spawns from an ABM, do not spawn here
|
||||
-- morvalar spawns from an ABM, do not spawn here
|
||||
mobs:spawn_specific("nssm:morbat3", {"air"}, {"nssb:morelentir"},
|
||||
0, 20, 100, 20000000/mm, 1, -31000, 0)
|
||||
|
||||
mobs:spawn_specific("nssm:morvy", {"nssb:morentir"}, {"nssb:morentir"},
|
||||
0, 20, 120, 18000000/mm, 1, -31000, -93)
|
||||
|
||||
mobs:spawn_specific("nssm:morlu", {"nssb:morentir"}, {"nssb:mornen"},
|
||||
0, 20, 80, 1200000/mm, 1, -31000, -93)
|
||||
|
||||
mobs:spawn_specific("nssm:morde", {"nssb:morentir"}, {"nssb:mornar"},
|
||||
0, 20, 50, 350000/mm, 1, -31000, -93)
|
||||
|
||||
mobs:spawn_specific("nssm:mordain", {"nssb:morentir"}, {"nssb:morentir"},
|
||||
0, 20, 90, 15000000/mm, 1, -31000, .93)
|
||||
|
||||
mobs:spawn_specific("nssm:morgut", {"nssb:morentir"}, {"nssb:morentir"},
|
||||
0, 20, 50, 15000000/mm, 1, -31000, -93)
|
||||
|
Loading…
x
Reference in New Issue
Block a user