Dishwasher Questions

User avatar
GamingAssociation39
Member
 
Posts: 824
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Dishwasher Questions

by GamingAssociation39 » Sat Mar 02, 2019 21:57

So I'm trying to create a dishwasher to repair tools. You are supposed to be able to put in a soapy water bucket and the bucket would empty into the node (store liquid) and when you place a tool in it would repair it semi-slowly. I've got the formspec made but am unsure how to do the liquid function yet.

Image
Attachments
screenshot_20190302_165054.png
(36.56 KiB) Not downloaded yet
Jesus Is Lord and Savior!!!
 

User avatar
DS-minetest
Member
 
Posts: 1123
Joined: Thu Jun 19, 2014 19:49
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
GitHub: DS-Minetest
In-game: DS

Re: Dishwasher Questions

by DS-minetest » Sun Mar 03, 2019 15:50

I suggest that you store the liquid amount in the node meta and use on_metadata_inventory_put to empty the bucket

I also suggest that you make an image into the slot where the bucket has to be placed, like default bookshelf does.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
Joseph16
Member
 
Posts: 308
Joined: Tue Dec 06, 2016 05:35
In-game: Joseph16

Re: Dishwasher Questions

by Joseph16 » Sat Mar 09, 2019 16:34

I wanted to make a mod like this too, I hope this works out!
Testin' mines since 1989
 


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 1 guest