Commit Graph

130 Commits (master)

Author SHA1 Message Date
Treer 0009137327
Update README.md 2020-07-28 18:47:02 +10:00
Treer d69a1090fb Check if an area is protected before creating a portal there
Use nether.volume_is_natural_and_unprotected() instead of nether.volume_is_natural()
2020-07-26 14:12:19 +10:00
Treer 523ec48d60
Update README.md
Add moonlight panorama to screenshots
2020-07-04 16:00:20 +10:00
Treer 4c27370c7a prevent crash when igniting portal
Happens when trying to ignite a portal to the cloudlands, but the cloudlands mod hasn't inited yet because it hasn't needed to generate any islands:

ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback item_OnPlace(): ...\minetest-5 latest\bin\..\mods\cloudlands/cloudlands.lua:591: attempt to index upvalue 'noise_heightMap' (a nil value)
stack traceback:
	...\minetest-5 latest\bin\..\mods\cloudlands/cloudlands.lua:591: in function 'is_within_realm'
	...ble)\minetest-5 latest\bin\..\mods\nether/portal_api.lua:1356: in function 'ignite_portal'
	...ble)\minetest-5 latest\bin\..\mods\nether/portal_api.lua:2159: in function <...ble)\minetest-5 latest\bin\..\mods\nether/portal_api.lua:2156>
2020-06-23 00:07:25 +10:00
Treer 1e14d3ee83 Make ancient portalstone rarer in the Nether
Soon the nether mod will provide a portalstone, and cloudlands:ancient_portalstone will become an alias of that, so I'll reduce the amount of this that is being created in the Nether. Since 82d4283 ancient_portalstone is available from the islands anyway.
2020-06-22 22:37:47 +10:00
Treer a2408487d8 Increase tree rarity from 5% to 8%
Part of 31559e18f - oops

because the giant trees are cool... and too rare. Default rarity for schematic-based objects such as trees and ancient portals can be changed without causing any chunk boundary generation mismatches.
2020-06-22 22:31:56 +10:00
Treer 3c1dbc3e06 Prevent half-buried ancient portals being overwritten by landscape 2020-04-18 17:26:12 +10:00
Treer 0b8bcea729 Crafter support
Add Crafter support and weeding out dependencies in cloudlands
2020-04-18 15:56:31 +10:00
Treer 781835bef2
Merge pull request #6 from orbea/typo
Fix typo.
2020-04-16 23:58:27 +10:00
orbea 7f37fb99ad Fix typo. 2020-04-15 12:39:57 -07:00
Treer 52b395970b Fix item drops in MCL2, and make recipe more generic 2020-04-13 14:35:28 +10:00
Treer 932912c004 (minor) part of last commit 2020-04-12 17:41:55 +10:00
Treer 26a7b5480c Add craft recipe to make use of a secret
Fossilized eggs from ancient burrows can be placed into display cabinets
2020-04-12 17:13:41 +10:00
Treer 31559e18fd Increase tree rarety from 6% top 8%
On a whim... because the giant trees are cool... and too rare. Default rarity for schematic objects such as trees and ancient portals can be changed without causing any chunk boundary generation mismatches.
2020-04-12 13:23:50 +10:00
Treer 3495f0edcb Update i18n.py
Mainly so that it links to its new home at https://github.com/minetest-tools/update_translations and takes FaceDeer off the hook.
2020-04-12 13:07:30 +10:00
Treer 82d4283f87 Add a temporary source of portalstone
until the nether's PR#13 is merged I can't add portalstone to the nether, so this commit makes it available [rarely] on islands
2020-04-11 19:20:01 +10:00
Treer 1171e55cc9 protect against other mods using register_alias_force()
register_alias_force() can cause get_content_id() to throw an error, under circumstances I don't yet fully understand. This change should prevent get_content_id() being invoked on aliases.
2020-04-11 16:38:13 +10:00
Treer 68297a96c4 Add MT 5.2.0 compatibility
5.2.0 removes the file_exists() helper function, and get_content_id() now throws an exception if the node isn't found (instead of returning minetest.CONTENT_IGNORE)
2020-04-11 15:23:46 +10:00
Treer 376586f0fa Portal improvements
Better ignition particles, use existing surface portals, and prevent the island-portal search from returning surface-portals.
2020-04-11 14:11:54 +10:00
Treer 99690a1e7c Improve portals
Improves portal behaviour, fixes a bug in compareFn(), and splits up the book_of_portals_pagetext to make translation easier
2020-03-01 14:12:50 +11:00
Treer e4694223fc Portalstone uses facedir
Ready for when shapes in the Portals API make use of facedir nodes
2020-03-01 11:51:45 +11:00
Treer 039b3ac2e5
Merge pull request #4 from FaceDeer/master
translation support
2020-03-01 11:09:59 +11:00
FaceDeer 0dcf44fa2e add comment with github url to i18n script 2020-02-29 16:55:17 -07:00
FaceDeer 6b1cd35b63 update i18n script to latest 2020-02-20 20:22:43 -07:00
FaceDeer f8b1b8d51d update i18n script with per-source-file sorting 2020-02-18 19:54:01 -07:00
FaceDeer 60cd1ef3ac translation support 2020-02-18 13:47:37 -07:00
Treer 4dc78a41b9 Update README.md 2020-02-16 13:38:27 +11:00
Treer e4e9fc729e (minor) fix comments in Portals update 2020-02-16 11:42:34 +11:00
Treer 5761eb0016 Implement portals 2020-02-16 11:26:10 +11:00
Treer 91a41e5d40 Add "Ancient Portalstone" node for player-built portals 2020-02-09 14:25:22 +11:00
Treer 09f98307f0 Ensure API works regardless of whether on_generate() was called
Also add sparks particlespawner during portal ignite
2020-02-09 12:45:34 +11:00
Treer d174039aa1 Fix portal description
whoops
2020-02-09 00:59:12 +11:00
Treer 9df4c3ac51 Add API and player-buildable Portal support
Adds a simple API for obtaining island information, and uses the Portals API in the nether mod (if present) to register a portal to the cloudlands.
2020-02-09 00:52:34 +11:00
Treer f6bebe9f52
removed all obfuscated content and obfuscation functions
Merge pull request #3 from Treer/feature/remove-obfuscation
2020-01-31 21:19:41 +10:00
Treer 61b6b9c8d8 Prevent dust from obscuring entrances
And try to make flavortext less bad.
2020-01-31 22:16:20 +11:00
Treer ed4143243e Add luacheck, and fix some of its warnings.
Don't tell me what to do!
2020-01-31 20:41:35 +11:00
Treer 3ac2dc689c remove rot19 2020-01-31 19:54:58 +11:00
Treer 53f857afb6 Implement change from a746ede6ac
Cut the stairs higher because the outpost can be quite deep when the island is massive
2020-01-31 18:54:05 +11:00
Treer be6f527995 Implement change from b0321a1df0 2020-01-31 18:51:04 +11:00
Treer 63f17cf618 unobfuscated code from c8def89f4816d71 2020-01-31 18:49:30 +11:00
Treer a746ede6ac part of previous biomeinfo commit (9939eb967f) 2020-01-17 15:48:07 +11:00
Treer 9939eb967f Add biomeinfo support
Allows better support of mapgen v6
The biomeinfo mod by Wuzzy can be found at https://repo.or.cz/minetest_biomeinfo.git

Also fixes shadowGap warning
2020-01-01 15:13:58 +11:00
Treer baf22f98d7 Use biome's riverbed at the bottoms of ponds
provided the biome specifies a riverbed, otherwise fall back to original behavior.
2019-12-15 13:58:45 +11:00
Treer cd4292b135 Reduce rarity of frozen ponds 2019-12-15 13:02:34 +11:00
Treer f094cfbd76 Prevent dust above ponds, now that dust is applied after decoration
Part of e06243cf65
Also removes a line made redundant by b0321a1df0
2019-12-15 12:41:21 +11:00
Treer 074bcd32bf Lighting tweak
A one node-gap lighting gap is all that's needed, and produces less lighting artifacts
2019-12-15 12:27:17 +11:00
Treer e06243cf65 Apply dust after decoration
This will cause it to run slower in biomes with dust, due to needing an extra vm:get_data() and vm:set_data(), but prevents the dust nodes from interfering with decorations (e.g. snow preventing tree growth). In native mapgens the dust is applied last, falling on top of the highest nodes.
2019-12-14 22:41:25 +11:00
Treer 0d61896b0d Lighting update
Prevent shadows from being propagated below islands
2019-12-14 18:11:32 +11:00
Treer 756b808ef2 Reduce the chance of vines in Savannah in MTG 2019-12-07 19:46:50 +11:00
Treer 500afa9d13 Reduce the severity of shadows cast by islands 2019-12-07 19:30:57 +11:00