Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal abstraction #8

Merged
merged 55 commits into from
Feb 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
d9911e6
Separate portal shape code from portal behavior code, and refactor
Treer Jun 29, 2019
a9cdc36
Add mesecons support
Treer Jun 29, 2019
df4b40f
Issue #6 Replace ABM with single node timer
Treer Jun 30, 2019
dd761b4
Allow reignition of portals in player-built areas
Treer Jun 30, 2019
1a222d4
Prevent concurrent mapgen from removing freshly placed portals
Treer Jun 30, 2019
74b25ac
tidy up some code
Treer Jul 1, 2019
71244a7
Fix call to node timer stop()
Treer Jul 2, 2019
e221cf1
Spawn portals on the surface, when possible
Treer Jul 2, 2019
d45908e
Prevent portals from sharing frame nodes with other portals
Treer Jul 2, 2019
b3d1339
Allow two or more portal types to be made with the same frame material
Treer Jul 4, 2019
67bf24e
Dynamic/hardware portal colouring
Treer Jul 4, 2019
5fe2c86
provide Portal API
Treer Jul 5, 2019
b04b4cb
Add Book of Portals
Treer Jul 13, 2019
44f4f5e
Portals connect to nearby targets
Treer Jul 13, 2019
1f5cc9c
only perform remote_portal_checkup if portal schematic was placed
Treer Jul 14, 2019
711c930
fix bugs
Treer Jul 16, 2019
d4d3af2
Unlinks target portal if it's linked to a different portal
Treer Jul 17, 2019
a4f78c6
Fix edge case
Treer Jul 20, 2019
fc90d79
Implement sound and events in API
Treer Jul 21, 2019
d2a18ad
rearrange code
Treer Jul 21, 2019
84def17
Keep portal type in metadata for non-traditional portals
Treer Jul 21, 2019
21e312f
Unroll 32affba6 (stairs) (#9)
Treer Jul 20, 2019
e82d9e3
Add portal ignition sparks
Treer Jul 22, 2019
97aa8da
Place_Schematic uses correct frame and wormhole nodes
Treer Jul 23, 2019
a679d2c
Add example alternative shape PortalShape_Circular
Treer Jul 24, 2019
98ca59b
Add portal sounds
Treer Jul 27, 2019
c934cfa
Add animated particle support
Treer Jul 27, 2019
d5bfb14
Add portal_examples.lua
Treer Jul 27, 2019
ceb7148
Check no other mod is already using a portal definition
Treer Jul 28, 2019
f11669f
documentation
Treer Jul 28, 2019
f9692fa
Standardize files as LF without CR, and UTF-8 without BOM
Treer Aug 6, 2019
c15fd36
Add Surface-following portal using Moore curves
Treer Jan 2, 2020
672069d
Add PortalShape_Platform
Treer Jan 2, 2020
7c11ee9
Finish example portals
Treer Jan 4, 2020
1ddf1be
Add settingtypes.txt settings
Treer Jan 4, 2020
10d8925
Move wormhole_node_is_horizontal into the shape definition
Treer Jan 4, 2020
2bddf34
check for portal frames on the surface
Treer Jan 5, 2020
55e4e9d
Handle edge-case when player quits the game while teleporting
Treer Jan 5, 2020
b74b92b
Add Minetest 0.4 support
Treer Jan 6, 2020
79ed3f1
Add more mesecon support
Treer Jan 6, 2020
7b72364
Update copyrights & require Minetest v0.4.16 or greater
Treer Jan 8, 2020
44e68d8
Update .luacheckrc and fix warnings
Treer Jan 8, 2020
1312bf6
Trim trailing spaces
Treer Jan 8, 2020
2f7614b
text/docs/formatting changes
Treer Jan 8, 2020
1ffd88f
text changes
Treer Jan 9, 2020
4297b31
Avoid storing the playerRef
Treer Jan 12, 2020
fe17efe
blasts extinguish portals
Treer Jan 12, 2020
6b5b09b
use minetest.get_modpath("mesecon") instead of checking mesecon ~= nil
Treer Jan 12, 2020
2f02ab3
API exposes the registered portal count, and frame nodes
Treer Feb 1, 2020
4d4a343
Images instead of ASCII diagrams in Book of Portals
Treer Feb 1, 2020
0d9bf52
Add Help-modpack support
Treer Feb 2, 2020
e2960e9
drop portal shape images to 2bit
Treer Feb 5, 2020
b0f7130
prevent obscure portal behaviour bug
Treer Feb 8, 2020
43983d3
Use lua schematics instead of .mts files when building portals
Treer Feb 8, 2020
b31df12
API improvements
Treer Feb 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
unused_args = false
allow_defined_top = true

globals = {
"nether"
}

read_globals = {
"core",
"default",
"DIR_DELIM",
"dump",
"dungeon_loot",
"intllib",
"ItemStack",
"loot",
"doc",
"math.hypot",
"mesecon",
"minetest",
"nodeupdate",
"PcgRandom",
"PseudoRandom",
"stairs",
"stairsplus",
Expand Down
34 changes: 25 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Nether Mod for Minetest
Nether Mod for Minetest, with Portals API.

See portal_api.txt for how to create custom portals to your own realms.

See settingtypes.txt or go to "Settings"->"All Settings"->"Mods"->"nether"
in the game to view the options provided by this mod.


## License of source code:

Expand All @@ -17,15 +23,25 @@ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

## License of media (textures and sounds)
## License and attribution of media (textures and sounds)

Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
http://creativecommons.org/licenses/by-sa/3.0/
### [Public Domain Dedication (CC0 1.0)](https://creativecommons.org/publicdomain/zero/1.0/)

## Authors of media files
* `nether_portal_teleport.ogg` is a timing adjusted version of "teleport" by outroelison (https://freesound.org/people/outroelison), used under CC0 1.0

Everything not listed in here:
Copyright (C) 2013 PilzAdam
### [Attribution 3.0 Unported (CC BY 3.0)](https://creativecommons.org/licenses/by/3.0/)

* `nether_portal_ambient.ogg` & `nether_portal_ambient.0.ogg` are extractions from "Deep Cinematic Rumble Stereo" by [Patrick Lieberkind](http://www.lieberkindvisuals.dk), used under CC BY 3.0
* `nether_portal_extinguish.ogg` is an extraction from "Tight Laser Weapon Hit Scifi" by damjancd (https://freesound.org/people/damjancd), used under CC BY 3.0
* `nether_portal_ignite.ogg` is a derivative of "Flame Ignition" by hykenfreak (https://freesound.org/people/hykenfreak), used under CC BY 3.0. "Nether Portal ignite" is licensed under CC BY 3.0 by Treer.

### [Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/)
* `nether_book_`* (files starting with "nether_book"): Treer, 2019-2020
* `nether_portal_ignition_failure.ogg`: Treer, 2019
* `nether_particle_anim`* (files starting with "nether_particle_anim"): Treer, 2019

### [Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)](http://creativecommons.org/licenses/by-sa/3.0/)
* `nether_rack.png`: Zeg9
* `nether_glowstone.png`: BlockMen

- nether_rack.png: Zeg9
- nether_glowstone.png: BlockMen
All other media: Copyright © 2013 PilzAdam, licensed under CC BY-SA 3.0 by PilzAdam.
4 changes: 4 additions & 0 deletions depends.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
stairs
default
moreblocks?
mesecons?
loot?
dungeon_loot?
doc_basics?
Loading