Minetest_game: Screwdriver is not working with new doors

Created on 10 Mar 2016  路  9Comments  路  Source: minetest/minetest_game

... both left and right mouse buttons won't work when using screwdriver on new doors.

Feature request

Most helpful comment

I intend to allow full rotation of doors, including sideways, upside-down, etc.

All 9 comments

https://github.com/minetest/minetest_game/blob/master/mods/doors/init.lua#L327

The screwdriver is disabled for doors on purpose. The placement is already smart enough to properly rotate the door on placement. Rotating the door with the screwdriver would require a lot of code for essentially very, very little actual use.

Just dig up the door and re-place it in the right angle.

See #451.

This is a regression with the new doors; the old behavior should be restored (maybe label this issue as "bug"?).

<sofar> Fixer: the code can't handle it. Once that is fixed, I'll allow rotation again

closing for now, feel free to reopen if needed

@pilzadam I actually intend to address this issue. Keeping it open is appropriate.

Actually I fixed that very easily :

-- Top of file
screwdriver = screwdriver or {}

-- Inside node definitions
on_rotate = screwdriver.rotate_simple

I intend to allow full rotation of doors, including sideways, upside-down, etc.

I'm happy with screwdrivers being disabled for doors. Trapdoors are useful in other orientations, doors not so much.

partially fixed by #1230

The lack of complex rotations is not an issue so closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PilzAdam picture PilzAdam  路  4Comments

Wuzzy2 picture Wuzzy2  路  4Comments

FeXoR-o-Illuria picture FeXoR-o-Illuria  路  4Comments

Desour picture Desour  路  6Comments

sofar picture sofar  路  5Comments