[Mod] Drink Machine [drink_machine]

Post Reply
User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

[Mod] Drink Machine [drink_machine]

by Andrey01 » Post

Description
Here is drink machine.This is looks like mod Sweet Machine.Only here you can get differnt drinks by punch on drink machine.
Spoiler
  • Drink Machine
    -steel_ingot -dye_sky_blue -steel_ingot
    -steel_ingot -dye_sky_blue -steel_ingot
    -steel_ingot -dye_sky_blue -steel_ingot
Notice craft doesn`t exist for stuff except drink machine itself

ALSO VERY IMPORTANT!You must certainly have Sweet Machine mod, otherwise you can not use drink machine by coin
Spoiler
  • Fortunately recent errors are fixed!Now you can use the mod without any problems
Code: LGPLv2.1+, textures: CC BY-SA 3.0 Unported

Mod Dependencies: default, sweet_machine

Download
drink_machine.zip
Download
(3.8 KiB) Downloaded 266 times
Last edited by Andrey01 on Thu Mar 30, 2017 17:36, edited 2 times in total.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Drink Machine [for get drinks]

by zm78 » Post

sorry can't help it's too complex.
but i can do a rewrite

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

Andrey01 wrote:Description
Here is drink machine.This is looks like mod Sweet Machine.Only here you can get differnt drinks by punch on drink machine.

Errors
In that mod to have two errors that i can`t fixed:
<Drink Machine looks like as block
<Can`t use Drink Machine for get drinks

Please, help me fixed these errors because i badly know lua and that`s why can`t do hard things!

Depends:
default
sweet_machine

Download
drink_machine.zip
i will try to help you.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

why does it depends sweet machine? and it won't work ,it shouldn't be so complicated!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Drink Machine [for get drinks]

by Andrey01 » Post

azekill_DIABLO wrote:why does it depends sweet machine? and it won't work ,it shouldn't be so complicated!
Because both mods (still Sweet machine mod) have coin for machine and the coin keep only in Sweet machine, that`s why i have written the dependance for Drink Machine to repeat coin item.That is if you want to use Drink machine you will have to install Sweet machine... but this is not what need to me
1.What is error by Sweet/Drink machine?Why do they look like as one block?I have copied the code from Home Decor - Soda machine, taken the model, repainted the texture and edited the code.I have all done right, but it doesn`t work.
2.I don`t know how to do sweet/drink machines to drop different tasty and drink stuff.
I hope will you help me fixed it, azekill_DIABLO?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

i will redo the mod as i can then we will see! ;p
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

it's extremely hacky for what it does.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Drink Machine [for get drinks]

by Andrey01 » Post

azekill_DIABLO wrote:i will redo the mod as i can then we will see! ;p
OK!Thank you!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

oh damn it's a bit too complicated for me, you should ask a real modder. sorry.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Drink Machine [for get drinks]

by Andrey01 » Post

azekill_DIABLO wrote:oh damn it's a bit too complicated for me, you should ask a real modder. sorry.
Pity!Even you can not fix these errors

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Drink Machine [for get drinks]

by azekill_DIABLO » Post

have you tried to do it yourself and simpler?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Drink Machine [for get drinks]

by Andrey01 » Post

The mod a little is rewritten.It concerns of recent crude errors.

Grandolf
Member
Posts: 41
Joined: Sun Mar 26, 2017 23:23
GitHub: Grandolf
IRC: Grandolf
In-game: Grandolf
Location: USA
Contact:

Re: [Mod] Drink Machine [drink_machine]

by Grandolf » Post

if you are still having errors, and need help, im willing to take a look and help you fix it on irc. If you dont know how to irc, send me a PM and ill help you get started, otherwise PM me what server/channel you would like to meet on. (unless you have already fixed it)
My server, Metropolis viewtopic.php?f=10&t=19191

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Drink Machine [drink_machine]

by Andrey01 » Post

Grandolf wrote:if you are still having errors, and need help, im willing to take a look and help you fix it on irc. If you dont know how to irc, send me a PM and ill help you get started, otherwise PM me what server/channel you would like to meet on. (unless you have already fixed it)
Errors fixed, but i have problem with dropping items from drink machine. It drops instantly all items for one time. I even don`t know how it will fix. But i want it drops random items and on one item for one time.

User avatar
scottwolff
Member
Posts: 129
Joined: Sat Apr 30, 2016 06:15
In-game: scottwolff or some variant of iasiney
Location: Central Illinois

Re: [Mod] Drink Machine [drink_machine]

by scottwolff » Post

Andrey01 wrote: Notice craft doesn`t exist for stuff except drink machine itself
:'-C

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 15 guests