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

Add slippery #817

Closed
wants to merge 1 commit into from
Closed

Add slippery #817

wants to merge 1 commit into from

Conversation

Zeg9
Copy link
Contributor

@Zeg9 Zeg9 commented Jul 9, 2013

Title says about it.

@@ -86,7 +86,7 @@ minetest.register_entity("__builtin:item", {
local nn = minetest.get_node(p).name
-- If node is not registered or node is walkably solid and resting on nodebox
local v = self.object:getvelocity()
if not minetest.registered_nodes[nn] or minetest.registered_nodes[nn].walkable and v.y == 0 then
if not minetest.registered_nodes[nn] or (minetest.registered_nodes[nn].walkable and not minetest.registered_nodes[nn].groups.slippery) and v.y == 0 then
Copy link
Contributor

Choose a reason for hiding this comment

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

You shoud use minetest.get_item_group() here.

@Zeg9
Copy link
Contributor Author

Zeg9 commented Jul 9, 2013

@PilzAdam: all fixed

@PilzAdam
Copy link
Contributor

The wielditem walk animation, view bobbing and footstep sounds are still played why sliding over ice.

@Calinou
Copy link
Member

Calinou commented Jul 13, 2013

The wielditem walk animation, view bobbing and footstep sounds are still played why sliding over ice.

And? Try to slide on ice in real life and you'll see...

@bas080
Copy link
Contributor

bas080 commented Jul 18, 2013

Can't wait what kind of gameplay this would add to the game, Slippery icy mountains or just a big slippery lake @Calinou lol.

@RealBadAngel
Copy link
Contributor

it could be fun and usable

@proller
Copy link
Contributor

proller commented Jul 24, 2013

+1
and maybe make slippery dirt with water_flowing on top

@BlockMen
Copy link
Contributor

+1
Very nice

proller pushed a commit to freeminer/freeminer that referenced this pull request Nov 27, 2013
@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Aug 13, 2014

What’s preventing this from being merged? The mistakes have been dealth with, the rebase has obviously been done, too (1 commit now).

@EvergreenTheTree
Copy link
Contributor

@Wuzzy2 I agree.

@nerzhul
Copy link
Member

nerzhul commented Feb 16, 2015

Hi, please fix the following things if you want a merge:

  • Coding style
  • Rebase
  • Handle the error, don't use a try .. catch

@Zeno-
Copy link
Contributor

Zeno- commented Mar 1, 2015

It would take longer to rebase this than write it from scratch. Best closed IMO

@Zeno- Zeno- closed this Mar 1, 2015
@kilbith
Copy link
Contributor

kilbith commented Dec 3, 2015

No valid reason to trash it while most people were enthusiastic.
Please someone re-open that for rebasing and/or not sinking this into oblivion.

@est31 @paramat

@est31
Copy link
Contributor

est31 commented Dec 4, 2015

What @Zeno- said is probably right, but I guess its not that large of a PR, therefore its ok to be open as well. Reopening on special request of @kilbith .

@est31 est31 reopened this Dec 4, 2015
@C1ffisme
Copy link

C1ffisme commented Dec 4, 2015

Wouldn't it kill two birds with one stone just to make ObjectRef slip, and if an entity does not need to slip, change a variable like object.slip?

@est31
Copy link
Contributor

est31 commented Dec 5, 2015

@C1ffisme that's something separate, and not as simple as you describe it. And, the effect this PR wants to obtain would not be possible to achieve in a lag-free manner.

@sapier
Copy link
Contributor

sapier commented Dec 18, 2015

What's use of keeping this one alive if there's obviously noone interested in the feature?

@kilbith
Copy link
Contributor

kilbith commented Dec 18, 2015

What's use of keeping this one alive if there's obviously noone interested in the feature?

At least 2 core-devs are expressly interested.

@ghost
Copy link

ghost commented Dec 29, 2015

I've updated this to master and to allow slipping off nodes, with a physics override for mods to utilise per player (e.g. grippy boots):

master...cmdskp:master

And test values to try for minetest-game:
minetest/minetest_game@master...cmdskp:master

Just need help with how to check the protocol version in "content_cao.cpp", before I can offer it in a pull.

@ObaniGemini
Copy link

What's up with it ?

@paramat
Copy link
Contributor

paramat commented May 22, 2016

@Zeg9 very old PR, any comments?
ghost is now a deleted user.
Does anyone want to open a new PR with Zeg9's code rebased? @Ekdohibs ?

@paramat
Copy link
Contributor

paramat commented May 23, 2016

At least 2 core-devs are expressly interested.

BlockMen has left, est31 isn't necessarily supporting the feature.
Zeg9 has been inactive on Github for a year.
I think this can be closed soon.

@Ekdohibs or anyone interested please could you copy the code for yourselves so we can close this?

@Wuzzy2
Copy link
Contributor

Wuzzy2 commented May 23, 2016

Is it really neccessary to rebase a PR which only has one commit? ;-)

@paramat
Copy link
Contributor

paramat commented Jun 2, 2016

Time to close this.
@Ekdohibs just notifying you in case you want to copy this code for your own use in a new PR.

@paramat
Copy link
Contributor

paramat commented Aug 13, 2017

#6237 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rebase needed The PR needs to be rebased by its author @ Server / Client / Env.
Projects
None yet
Development

Successfully merging this pull request may close these issues.