Commit Graph

1466 Commits

Author SHA1 Message Date
Vanessa Dannenberg
bf7e47342f remove "on" switch from creative inv
add proper "receiver" group
remove color from switch buttons
2019-05-26 01:59:14 -04:00
Vanessa Dannenberg
b85278fbaa make wall switch work (mesecons) 2019-05-26 01:33:22 -04:00
Vanessa Dannenberg
cacf04e2d1 Add mesecons support for the rest of the other relevant lights
Each light connects only according to what sides make sense.

For example:

* a plasma lamp cube or large lattice lamp will connect from all 6 sides
* a ground lantern will only connect from its NSEW sides, not its top or
  bottom
* a glowlight slab, glowlight cube, or lattice cube uses the same rules as
  mesecons lamps, so its four edges and it back/bottom, whatever its
  orientation, but not its top/front.
* a (kitchen) ceiling lamp, and a (hanging, exterior) ceiling lantern will
  only connect from the top.

Rope lights are defined as a conductor, just like a mesecons wire,
so if mesecons is present, they will default to off unless powered by
a mesecons wire/switch/etc.

You can still right-click-toggle individual segments on/off.

Ceiling rope light connection rules are a little funky, but they work
(I wanted them to only connect from the top, but I couldn't get it
just right).  Floor-orientation connections are straightforward.
2019-05-26 00:44:37 -04:00
Vanessa Dannenberg
07141bff47 fill-out mesecons support for first few lights,
also removed debug prints

Lights are forced-on when placed, and remain so
until they receive a mesecons "off" signal.

Lights can be toggled on/off independent of the
mesecon signal state by right click, which will
persist until the next signal transition,
which will change the light to follow.
2019-05-25 22:51:49 -04:00
Vanessa Dannenberg
542f688c09 fix global warnings 2019-05-25 21:46:08 -04:00
Vanessa Dannenberg
fee09943e3 mesecons support, wip 2019-05-25 21:35:38 -04:00
Vanessa Dannenberg
bed4d1e6f8 make table- and standing-lamps return "hi"
brightness version, instead of "off".  do
the same for their crafts.
2019-05-25 20:59:19 -04:00
Vanessa Dannenberg
798ff29b0a add drops 2019-05-25 20:50:30 -04:00
Vanessa Dannenberg
7491fd4aa8 Allow most light sources to be toggled on/off
with right-click.

Rework glowlight slab and cube textures, simplify,
use overlays and compositing, so that the bulk
of the light can switch between a dark, matte surface,
and a bright surface with central glare gradient, and
so that the surface and eging respond to param2 color.

Tweak all other relevant nodes so that their light
source changes to a darkened (or even translucent
texture) when off.

On/off switching doesn't affect things like oil lamps,
candles, chandeliers, etc.  Just basically the stuff
that would be electric-powered in real life.

If in a protected area, only that area's owner can
turn the light on/off.
2019-05-25 19:35:14 -04:00
Vanessa Dannenberg
7ab149275b Add "rope" lighting 2019-05-25 02:34:50 -04:00
Vanessa Dannenberg
c6ef999591 re-add fan blades
(lost during The Big Split)
2019-05-25 01:10:29 -04:00
Vanessa Dannenberg
a9cfef8fba give bathtub some rough collision info
allow showerhead to be turned on when placed 2m above the tub
(must be on the same end as the taps)
2019-05-25 00:59:51 -04:00
Vanessa Dannenberg
9d64af85ca convert doors over to use minetest_game doors API
simplify gates code a bit
2019-05-25 00:11:54 -04:00
Vanessa Dannenberg
712ca909ca Multiple related changes:
remove duplicate dishwasher recipe
more kitchen depends fixes
fix wrong brass taps recipe (ref technic brass, need basic_materials brass)
re-add missing bathroom items recipes
re-add missing stading- and table-lamp recipes
add alternate dishwasher recipe
add recipes for "half-doors"
change light bath tiles recipe (don't need white dye for base node, now)
move japanese wall parts to homedecor_misc, make _doors opt depend on that
2019-05-24 20:40:44 -04:00
Vanessa Dannenberg
32fc5dc49b bad modpath check (leftover from The Big Split); fixes #12
also added optdepend on kitchen stuff (for the recipe)
2019-05-04 13:10:03 -04:00
Vanessa Dannenberg
854e96d4c0 add "light" to lava lamp desc. 2019-05-03 12:06:43 -04:00
Vanessa Dannenberg
6e61cc4ad8 move sounds to their correct folders 2019-05-02 18:40:25 -04:00
Vanessa Dannenberg
2ee1cd6887 Make sure all "lanterns" and "lamps" have "light" in their descriptions also
(for easier searching in sfinv and unified inv)
2019-05-02 18:36:36 -04:00
TenPlus1
0cd8bd7780 remove homedecor_i18n and merged into homedecor_common, fixed meseon global error 2019-04-21 16:25:21 +01:00
TenPlus1
8b78caf7c6 wardrobe now uses homedecor api 2019-04-21 15:22:27 +01:00
Vanessa Dannenberg
18d74e2f09 fix a couple of wrong depends 2019-04-21 07:47:09 -04:00
Vanessa Dannenberg
b94139c9df lighter, softer building_blocks marble texture 2019-04-20 17:02:48 -04:00
Vanessa Dannenberg
bb808a944c fix wrong "kitchen" chair selection box 2019-04-20 17:02:48 -04:00
Vanessa Dannenberg
b08c0905c0 Split the big "homedecor" mod into multiple sub-mods
Any of these new submods can be run without any other
components that were once part of the big "homedecor"
mod, other than homedecor_common and homedecor_i18n

Reduced dependencies where possible, but each submod still
has its various dependencies more or less the same as before,
i.e. some need basic_materials, others need unifieddyes,
some need building_blocks, and so on.

All of the stuff that used to be under homedecor/handlers
got moved to homedecor_common, as did any models and/or textures
that are used by more than one other homedecor component.

All the miscellaneous items that didn't warrant their own
mod ended up in homedecor_misc, which can also be thought
of as the remains of the original "homedecor" mod, renamed.
2019-04-20 17:02:42 -04:00
TenPlus1
95590f23c5 Separate-out the wardrobe into its own mod
Standalone -- can be used without the rest of home decor
2019-04-20 10:01:42 -04:00
Vanessa Dannenberg
554ec8028d use basic_materials motor 2019-03-31 19:37:39 -04:00
Vanessa Dannenberg
0ab1040760 Merge branch 'pg-fix-tap-particles' into 'master'
Fix the tap particles spilling out of the sink

See merge request VanessaE/homedecor_modpack!4
2019-03-24 21:07:58 +00:00
Pedro Gimeno
52375443ed Fix the tap particles spilling out of the sink 2019-03-24 18:57:58 +01:00
Vanessa Dannenberg
ac71c0f189 Merge branch 'master' into 'master'
bugfix wardrobe save/restore skins for skinsdb

See merge request VanessaE/homedecor_modpack!2
2018-12-16 20:42:15 +00:00
Vanessa Dannenberg
37c6b99ac1 make currency opt depend 2018-11-12 08:23:19 -05:00
Vanessa Dannenberg
bcf9238e47 use currency mod's 25-cent Minegeld coin for soda machine 2018-11-09 20:23:42 -05:00
Vanessa Dannenberg
e291a45d99 license fixups: use LGPL 3.0 for code,
CC-by-SA 4.0 for media and everything else
2018-11-08 18:58:34 -05:00
Vanessa Dannenberg
12bdbd6684 use basic_materials padlock instead of steel ingot
for lockable items.
2018-10-31 12:16:50 -04:00
Vanessa Dannenberg
13a35d12a0 use basic_materials mod where possible 2018-10-30 20:46:10 -04:00
Vanessa Dannenberg
c5393f1462 use empty bucket in shower tray recipe 2018-10-25 13:15:24 -04:00
Vanessa Dannenberg
93351aecda use three marble + bucket to make bathroom sink 2018-10-25 13:14:14 -04:00
Vanessa Dannenberg
bf79c7d430 if both gloopblocks and moreblocks present, don't register "gravel spread"
alias it to gloopblocks:slab_gravel_1
2018-10-25 13:03:25 -04:00
Vanessa Dannenberg
f7ff5ae3f4 allow crafting coffee table from two endtables 2018-10-25 12:44:18 -04:00
Vanessa Dannenberg
c64dabfa28 use "default:wood" explicitly in homedecor:table recipe
("group:wood" conflicts with lrfurn coffee table,
probably an issue with moreblocks)
2018-10-25 12:40:13 -04:00
Vanessa Dannenberg
d4e85cbab2 disable sleeping in beds 2018-10-25 12:34:33 -04:00
Vanessa Dannenberg
3791311422 get rid of glass office doors
alias them to default glass doors
2018-10-25 12:30:21 -04:00
Vanessa Dannenberg
ec0e332918 get rid of phone ringing sound effect 2018-10-25 12:18:15 -04:00
Vanessa Dannenberg
6dec410d29 better recipes for the spools
(now the end cost is 0.5 ingot and 2.333 plastic per spool of wire)
2018-10-24 19:27:14 -04:00
Vanessa Dannenberg
0c58327df7 add empty spool (craft from 7 plastic sheet)
make steel and copper wire use it.
reworked existing spool images
2018-10-24 19:04:25 -04:00
Vanessa Dannenberg
fba875f474 allow turning 8 small lattice lamps into one large. 2018-10-18 07:20:36 -04:00
Vanessa Dannenberg
f983710899 reduce light output of small lattice cube lantern
(especially if it comes from a darkage:lamp)
2018-10-18 07:17:32 -04:00
Vanessa Dannenberg
6a3c009276 if darkage is also installed,
don't register large homedecor lattice lamp or the recipes to
create it or to split it into 8 small lamps. instead, add an
alias to darkage:lamp and a recipe to split that.
2018-10-18 06:54:26 -04:00
Vanessa Dannenberg
69e87419ea add alternate recipe for green welcome mat
(workaround for a moreblocks bug)
2018-10-16 15:06:07 -04:00
Vanessa Dannenberg
25fef974e3 add palette to wood banister 2018-09-13 22:32:46 -04:00
Vanessa Dannenberg
4980844320 use airbrush_replacement_node instead of ud_replacement_node in shutter 2018-09-13 10:31:29 -04:00