Commit Graph

34 Commits

Author SHA1 Message Date
Treer
614a3f91a7 Separate portal shape code from portal behavior code, and refactor
Allows dev and testing/debugging to focus on one (shape or behavior) without getting mixed up in the other, will also enable different portal shapes later on. Other adjustments:
* Reuse/reignite an existing portal or portal frame if there is one at the remote destination, rather than the area being overwritten by a slightly offset portal schematic.
* Create remote portals in a matching orientation to the local portal.
* Preserve player position & facing relative to portal when traveling through wormhole (even if portals are at 90°)
* Players no longer bounce several times after teleporting
* Player is not teleported until after the portal at the other end is confirmed/built
2020-02-15 10:55:37 +01:00
ㄗㄠˋ ㄑㄧˊ
b49f4ce73d Fix error caused by teleporting offline players (#12) 2020-01-08 18:56:49 +01:00
SmallJoker
6551f5c120 Convert UTF-8 + BOM to UTF-8. Fixes crash on some systems 2019-08-01 18:25:25 +02:00
Treer
b8dab52e41 Unroll 32affba6 (stairs) (#9)
32affba6 re-registered stairs which have already been registered 20 lines earlier in the code, and registered them as "brick" causing the netherbrick stairs to replace Minetest's default:brick stairs. The rest of 32affba6 was already unrolled in 7a0e52da, but the stairs bug remained.
2019-07-20 08:56:32 +02:00
Treer
bf145d4c11 Fix portal particle spawners
Issue introduced in 0b6925f4b1. Fix tested in 4.17.1 and 5.1-dev
2019-06-26 19:04:02 -07:00
Auke Kok
2d94d74d97 Fix #1. 2017-12-20 20:52:57 -08:00
Auke Kok
57b2d30b9e Override mese crystal fragment, use new settings API.
Thanks to Julien Puydt
2017-12-19 21:39:29 -08:00
Auke Kok
0b6925f4b1 Fixes old bug id #21 2017-12-19 21:35:05 -08:00
Auke Kok
7a0e52da46 Luacheck cleanups. 2017-12-19 21:31:53 -08:00
Auke Kok
8008b8cbdc Fix sound passing for stairs. 2017-12-19 21:17:14 -08:00
Auke Kok
3f2c30ec2e Relicense to ISC. 2017-12-19 21:03:58 -08:00
Auke Kok
483cbe916d Remove debug code. 2017-12-19 21:00:16 -08:00
Auke Kok
32affba608 Add slabs and stairs for nether bricks, using "stairs" mod. 2017-12-19 20:51:45 -08:00
paramat
bc2ccfbaea Use voxelmanip data buffer memory optimisation
Reuse a single table for content ids to reduce memory use.
Add DEBUG parameter to control printing of mapchunk generation time,
set to false as default.
Add missing noise parameters (parameters are default and unchanged).
2017-01-04 09:30:27 -08:00
Luka Vandervelden
589f305d08 StairsPlus support for nether bricks. (#19) 2016-06-11 16:52:48 -07:00
paramat
e230813af8 Place portal as schematic. Avoid portal griefing 2016-06-11 16:48:46 -07:00
Paramat
47d39871d2 Caverns. Fix node defs/crafting. Smaller emerge. Find cavern floor (#17)
Large caverns using squashed 3D noise
Less lava, more glowstone, no air pockets
Preserve nether dungeons

Allow light to spread from glowstone and make brighter
Fix 'is ground content' settings, portals should not be
excavated by overgenerated caves
Rack drops itself as normal
Make brick, fence, stair, slab groups consistent
Use 'node sound gravel defaults' for sand
Make brick crafting consistent with default
Make fence recipe output number consistent with default

Make 'emerge area' volume mimimum required size

Add 'find nether target y' function to search for a cavern
floor with space above for nether portal spawn
2016-05-30 12:55:04 -07:00
Auke Kok
c35f6a2d03 Clean up trailing whitespace.
Done using `cleanfile`.
2016-05-25 22:29:25 -07:00
paramat
20c0275ddd Init.lua: Organise, improve code style 2016-05-25 22:13:42 -07:00
paramat
d6d388b1c7 Move luavoxelmanip generation to master branch 2016-05-24 22:37:16 -07:00
Auke Kok
e748976f83 Add crafting recipes for bricks, fences. 2016-04-16 23:05:44 -07:00
Auke Kok
b5a626e02a Force emerge the target area.
We can likely remove the teleport hacks after this, but
I'll leave them in to be sure for now. This method works
well for me in another mod.
2016-04-16 20:38:03 -07:00
Auke Kok
a313b4201b Remove minetest.env:* usage. 2016-04-16 20:11:25 -07:00
Auke Kok
53f4548684 Fix height_min/max usage. 2016-04-16 20:01:59 -07:00
Alexey Smirnoff
06b281c1ba Add nether brick fence 2016-04-16 20:01:59 -07:00
Auke Kok
9b4d1f8ff7 Add slabs and stairs for nether bricks, using "stairs" mod. 2016-04-16 20:01:59 -07:00
PilzAdam
bad0d53bdb Hinder BlockMen from hacking again 2013-05-02 22:20:06 +02:00
PilzAdam
86ed01e379 New netherrack texture; rename netherrack and -sand texture 2013-04-30 15:26:03 +02:00
PilzAdam
0ae4839912 Only drop netherrack with a chance of 1/3 2013-04-30 13:28:51 +02:00
PilzAdam
faaf073794 Add air bubbles 2013-04-30 01:13:59 +02:00
PilzAdam
3c3be9b32c Add level=2 to brick 2013-04-30 00:18:07 +02:00
PilzAdam
1456ca9af5 Add netherbrick and nether dungeons; fix replace names for rack adn sand 2013-04-29 23:36:45 +02:00
PilzAdam
da48d679f7 Fix dissappearing portals and stone; renamce nethersand and -rack 2013-04-29 23:26:12 +02:00
PilzAdam
d054a4e58a Initial commit 2013-04-29 20:33:09 +02:00