[Mod] Screwdriver Redo [0.1] [screwdriver]
[Mod] Screwdriver Redo [0.1] [screwdriver]
The screwdriver mod has always been a fiddly one for rotating nodes and remembering which mode does what, so I've simplified it by removing the modes completely and letting the player left click a node to rotate the face and right-click the node to rotate through it's axis... simplez...
- Attachments
-
- screwdriver_redo(0.1).zip
- (2.01 KiB) Downloaded 452 times
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
Re: [mod] Screwdriver Redo (0.1)
yeah!!!!!! finaly an easy working screwdriver!
hope this will replace that crap that comes with minetest_game!its just realy simple, and easy!
and you dont need to hold sneak key to change mod! its just fantastic!
i realy realy realy like it!
i dont want to live without that anymore :-)))
lot of thanks for that idea! its just great!
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [mod] Screwdriver Redo (0.1)
Wow ! Very good work !
I think it must be updated/replaced in the default game !
I think it must be updated/replaced in the default game !
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
I think this is FAR more intuitive to use, and I really hope that they pick it up for minetest_game!
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: EvergreenTheTree
- IRC: Evergreen
- In-game: Evergreen
- Location: Unlikely to come back to minetest or update my mods, see my contact info if you need anything.
- Contact:
- Krock
- Developer
- Posts: 4683
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
Wait, and where are the other modes?
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
The other modes are not needed. An improvement, I do say.Krock wrote:Wait, and where are the other modes?
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
nice, thanks
-
- Member
- Posts: 126
- Joined: Fri Mar 07, 2014 14:05
- GitHub: Xanthin
- IRC: Xanthin
- In-game: Xanthin
- Location: Germany
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
[thumbs up] As simple as a screwdriver can be. Should find its way into mt game.
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
In order for this mod to have any hope of being in the base game at all, it must be on GitHub first. TenPlus1 would never do that himself, so somebody would have to take care of that for him.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
What is the license of this mod?
-
- Member
- Posts: 126
- Joined: Fri Mar 07, 2014 14:05
- GitHub: Xanthin
- IRC: Xanthin
- In-game: Xanthin
- Location: Germany
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
There is some hope: https://github.com/minetest/minetest_game/issues/315 :)Inocudom wrote:In order for this mod to have any hope of being in the base game at all, it must be on GitHub first. TenPlus1 would never do that himself, so somebody would have to take care of that for him.
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
I learn :P as for the license, same as original Screwdriver mod since it's an edited version of that...
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
The default screwdriver is a very useful tool and this makes it even better.
I've updated our Minetest server, "Wazuland2", with the screwdriver enhancement.
Job well done, TenPlus1 ;)
I've updated our Minetest server, "Wazuland2", with the screwdriver enhancement.
Job well done, TenPlus1 ;)
My blog: LazyJ's Minetest World
- lightonflux
- Member
- Posts: 384
- Joined: Mon Nov 11, 2013 07:22
- In-game: lof
- Location: Germany
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
The texture could get a cleanup (on the left side).
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
Is there a way to make the screwdriver persistent ? It's a creative tool that shouldn't suffer usury imo :D
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
edit the mod change this line:
item_wear = item_wear + 300 -- was 327
to
item_wear = item_wear + 0 -- now no wear
item_wear = item_wear + 300 -- was 327
to
item_wear = item_wear + 0 -- now no wear
- JPRuehmann
- Member
- Posts: 336
- Joined: Fri Mar 21, 2014 21:40
- Location: Germany
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
I think changes in the Code by Users is a very bad Idea because of updates.
If you are using more and more mods with more and more changes that get lost after every update it would be impossible to rechange everytime after a update of the mods.
To put that settings into a discrete config file that would not be altered by updates would be the better way I think.
If you are using more and more mods with more and more changes that get lost after every update it would be impossible to rechange everytime after a update of the mods.
To put that settings into a discrete config file that would not be altered by updates would be the better way I think.
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
Yeah I'm looking for a text conf. I don't want to modify or fork this plugin for such a minimal modification.
And as JPRuehmann stated, my modification would be lost after an update :/
And as JPRuehmann stated, my modification would be lost after an update :/
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
- Casimir
- Member
- Posts: 1207
- Joined: Fri Aug 03, 2012 16:59
- GitHub: CasimirKaPazi
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
That would be a good start to learn minetest mods. Using minetest.override it is a very small mod. Don't forget to add screwdriver to depends.txt.
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
So i wrote this which doesn't work. Can someone help me ?
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
Ok nevermind I got it working now. You can find it on my github
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
- JPRuehmann
- Member
- Posts: 336
- Joined: Fri Mar 21, 2014 21:40
- Location: Germany
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
there are two errors one minor.
- in the Readme file you name the Config File "screwdriver.conf" but your mod is using "screwdriver.cfg".
But the second one renders the Mod unusable because minetest will crash everytime you use the screwdriver.
The Problem is that you forgot to add the Path to your Config File.
Here is the Part of your lua.init that I changed to get it to work.
Have Fun,
JPR
- in the Readme file you name the Config File "screwdriver.conf" but your mod is using "screwdriver.cfg".
But the second one renders the Mod unusable because minetest will crash everytime you use the screwdriver.
The Problem is that you forgot to add the Path to your Config File.
Here is the Part of your lua.init that I changed to get it to work.
Code: Select all
local function read_wear_user()
--read wear from file
local wear_set_by_user
local modpath = minetest.get_modpath("screwdriver")
local conf_file = io.open(modpath.."/screwdriver.cfg", "r")
if conf_file == nil then
--file does not exist or can't be read
conf_file = io.open(modpath.."/screwdriver.cfg", "a")
conf_file:write("wear_set_by_user = 300") --write a default value
wear_set_by_user = 300
else
conf_file:seek(set,19)
wear_set_by_user = tonumber(conf_file:read("*all"))
if wear_set_by_user == nil or wear_set_by_user < 0 or wear_set_by_user > 65535 then
conf_file = io.open(modpath.."/screwdriver.cfg", "w")
conf_file:write("wear_set_by_user = 300") --write a default value
wear_set_by_user = 300
end
end
io.close(conf_file)
return wear_set_by_user
end
JPR
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
Omg thank you so much! My init.lua got messed up and I had pushed an old version to my github repo. It should now be fixed.
Thank you <3
Thank you <3
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
Re: [Mod] Screwdriver Redo [0.1] [screwdriver]
deleted
Last edited by amadin on Mon Jul 20, 2015 04:59, edited 2 times in total.