jeremyshannon / Exile

This repo is parked, moved to codeberg.org
https://codeberg.org/Mantar/Exile
GNU General Public License v3.0
16 stars 12 forks source link

A lantern that can hang from the ceiling #102

Open jeremyshannon opened 2 years ago

jeremyshannon commented 2 years ago

Oil lamps are nice for lighting interior spaces, but finding a place for them can be annoying.

Make a ?wallmounted? version crafted with an oil lamp and a bit of fiber, that can be attached to the ceiling. Check in after_place that param2 is 0 or whatever the value for "hanging from above" is, so you can't hang it sideways off a wall or upside down from the floor like an M.C. Escher painting.

DokimiCU commented 2 years ago

Could have an iron/glass lantern too (but that's latter tech), or even a chandelier!

Adding more historical light sources might open up possibilities:

A shelf might help??? Something thinner than a slab so not so bulky and ugly.

wizardofgcc commented 2 years ago

I have been working on this, and its quite the headache: -Wallmounted nodes can only have one box for the node box for some reason -Connected nodes don't rotate their boxes properly

In the end I mostly just have two nodes for the suspended oil lamp: one without strings to the ceiling, so you could still put it on the floor if you wanted without crafting it back into a normal one, and one with strings if there is a solid node above it. (I'll try to get it uploaded once I have the textures fully polished)

A shelf might be nice, like the wattle ones from earthbuild. In general, a lot of stuff from there could be transferred into Exile without much difficulty.

jeremyshannon commented 2 years ago

Wallmounted nodes can only have one box for the node box for some reason

That can't be right, our backpacks are wallmounted, actually colorwallmounted now that they're dyable. I know they have multiple boxes in their definition -- I had to recreate the nodebox and rotate them to lay flat in order to make them rotate the way I wanted with colorwallmounted.