mesecons icon indicating copy to clipboard operation
mesecons copied to clipboard

Add droppers

Open Wuzzy2 opened this issue 5 years ago • 6 comments

This adds a dropper.

The dropper is an effector that has an inventory with 9 slots. When powered, it will drop a random item in its inventory, provided the node in front of it is not solid (=walkable).

The dropper can face upwards, downwards or sideways.

I think it works fine (it's based on the droppers in MCL2), but you might dislike the textures (maybe someone more skilled than me can draw better ones).

Wuzzy2 avatar Mar 30 '20 13:03 Wuzzy2

Works, but:

  1. Is such complicated texturing necessary?
  2. Is this any different from pipeworks dispenser?

numberZero avatar Jun 26 '20 23:06 numberZero

  1. I don't know what you mean. If 6 textures are too complicated to you, then I can't help you. :(
  2. I don't know. I don't use pipeworks.

Wuzzy2 avatar Jun 27 '20 00:06 Wuzzy2

If 6 textures are too complicated to you, then I can't help you. :(

I mean this:

3 node definitions are needed because of the way the textures are defined.

Also that prevents rotating droppers vertically. That may be a problem, it’s not always easy to place a node in the correct orientation.

numberZero avatar Jun 27 '20 20:06 numberZero

I don't use pipeworks.

So it may be the time to try. The dispenser does the same thing albeit a bit differently:

  • Its inventory is 1×1 (so no random drops).
  • It also acts on punch.
  • It uses the on_drop callback (if any).

The difference is minor IMO, so is it reasonable to include that similar machine in Mesecons (provided that currently Mesecons never operate on items)?

numberZero avatar Jun 27 '20 21:06 numberZero

Oh well. This block I made is basically just a clone from the dropper in Minecraft. :P

Wuzzy2 avatar Jun 28 '20 09:06 Wuzzy2

+1 for this! It's nice to have as randomizer.

johalun avatar Oct 08 '20 19:10 johalun