Jump to content

Recommended Posts

Posted

I'm trying to make a shelve (old and bad pic here ->

)

This shelve has 4 slots that will store items, much like the Bibliocraft version does, with the exception that it will have special

models for certain items.

 

Also, I'd like some items, primarily Thaumcraft's wands and staves, to take more than 1 slot: a wand would occupy horizontally

2 slots, and a stave would take 4 of them.

That means it would take the slots of another shelve adiacent to it, if present.

So, it would then become a multiblock.

 

What would be an efficient way to make this work? At first I thought of just having 4 booleans per TE, or

maybe something like each slot being a subclass of the abstract class Slot, extended by Free, Taken, Shared.

 

It might be too inefficient, but using just booleans could make reasoning about shared slots hard...

How would do it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.