Navigation Menu

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

Default/mapgen: Remove unused 'mapgen_air' alias #784

Closed
wants to merge 1 commit into from
Closed

Default/mapgen: Remove unused 'mapgen_air' alias #784

wants to merge 1 commit into from

Conversation

paramat
Copy link
Contributor

@paramat paramat commented Jan 14, 2016

EDIT: PR changed to just remove the unused 'mapgen_air' alias.

@@ -2,7 +2,6 @@
-- Aliases for map generator outputs
--

minetest.register_alias("mapgen_air", "air")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you remove this?

@paramat
Copy link
Contributor Author

paramat commented Jan 15, 2016

It's unused. That was added as i was intending to alter all existing core mapgens to be able to use custom atmosphere nodes, for example to use mgv5 as a space mapgen. However that project turned out too difficult due to how existing core mapgens are built around a hardcoded "air" node. Instead i plan to add a dedicated lunar mapgen, for which a vacuum node and alias is more suitable.

@HybridDog
Copy link
Contributor

You could add damage per second (like lava does) and kill the player immediately (a suddenly appeared 1m³ vacuum immediately causes a damaging implosion, doesn't it?

@paramat paramat changed the title Default: Add vacuum node and mapgen_vacuum alias Default/mapgen: Remove unused 'mapgen_air' alias Jan 22, 2016
@paramat
Copy link
Contributor Author

paramat commented Jan 22, 2016

PR changed to just remove the unused 'mapgen_air' alias.
Will merge soon as is trivial.

@paramat
Copy link
Contributor Author

paramat commented Jan 22, 2016

4b8410a

@paramat paramat closed this Jan 22, 2016
@paramat paramat deleted the vacuum branch January 28, 2016 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants