Mese Lamp Slab?

Post Reply
diriel
Member
Posts: 23
Joined: Wed Jun 01, 2016 23:00

Mese Lamp Slab?

by diriel » Post

How would I go about getting a Mese Lamp Slab that would allow other types of slab to stack on it. What I mean is I would like a Mese Lamp Slab that would let me stack a Quartz Slab on it to make a single block.

It allows me to use a regular Mese Lamp block then stack a Quartz Slab on it to form a 1.5 block. I would be cool to have a lamp + slab = 1 solid bock.
Last edited by diriel on Mon Jan 15, 2018 23:27, edited 1 time in total.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: Mese Lamp Slab?

by Chem871 » Post

Different slabs can't stack like the way you're probably asking, they can't share the same node space.
What is SCP-055?

diriel
Member
Posts: 23
Joined: Wed Jun 01, 2016 23:00

Re: Mese Lamp Slab?

by diriel » Post

The Mese Lamp block allows any 1 slab to stack on top for a 1.5 block, but it will not allow the lamp to stack on top of a slab, then have another slab fit on top. This would allow a full 2.0 block, thus avoiding the dreaded dead space when making a floor that is self lit.

It is odd that the Mese Lamp block itself allows any 1 slab to fit perfectly to make a combo 1.5 seamless block, but it still has that stacking limitation. If I could get a Mese Lamp Slab to act exactly like a Mese Lamp Block for stacking purposes that would work.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: Mese Lamp Slab?

by Chem871 » Post

Can someone who understands minetest '"physics" better than I do explain this?
What is SCP-055?

User avatar
ChimneySwift
Member
Posts: 320
Joined: Fri Sep 22, 2017 06:46
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift
Location: 127.0.0.1

Re: Mese Lamp Slab?

by ChimneySwift » Post

I believe when you stack 2 slabs of the same type, the slabs are removed from the map and replaced with a full block of that particular node, so if you were to make this work, you would have to register a whole node for every single possible slab combination, something which I'm not sure has been done, and I'm not sure it is possible to do in a way that doesn't compromise performance.
A spoon is basically a tiny bowl with a stick on it

diriel
Member
Posts: 23
Joined: Wed Jun 01, 2016 23:00

Re: Mese Lamp Slab?

by diriel » Post

Got it, thanks gents!

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: Mese Lamp Slab?

by TechNolaByte » Post

well yes this would be possible to have a slab that is cross compatible with every other slab from the default slab/stairs mod
it just would take a ton of cross registering
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
sorcerykid
Member
Posts: 1841
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Mese Lamp Slab?

by sorcerykid » Post

You need to register the other slab as a nodebox with a negative y bounding box beyond -0.5. Hope this helps.
Last edited by sorcerykid on Tue Jan 16, 2018 04:02, edited 1 time in total.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Mese Lamp Slab?

by TumeniNodes » Post

you can play around with this.
viewtopic.php?f=9&t=15008

pithy's mod is better, as you cannot place anything above mine but, IIRC you can with his
link is in the desc for pithy's

edit: this is pithy's mod comboblocks
source: https://github.com/pithydon/comboblock
Last edited by TumeniNodes on Wed Jan 17, 2018 00:29, edited 1 time in total.
A Wonderful World

diriel
Member
Posts: 23
Joined: Wed Jun 01, 2016 23:00

Re: Mese Lamp Slab?

by diriel » Post

Thanks guys, I will play around with this. As a hack, I added light source to the quartz slab. Obviously fixing the root of this would be better.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests