d30fa509c8make MineDOT streetlights use the new code (sorry, cheapie :) )
master
Vanessa Dannenberg
2021-06-29 13:33:16 -04:00
ff5ccba41fextend the generic streetlight code to place schematics add another type of lamp using that feature this one is good for parking lots or common areas, comes in 1-, 2-, and 4-lamp versions, with either a thin or thick base node.
Vanessa Dannenberg
2021-06-28 23:19:10 -04:00
ebf30c2410refactor the whole check-and-place function
Vanessa Dannenberg
2021-06-28 18:53:10 -04:00
64d992eec1add a "modern"-style light morelights_modern wall lamp on streets thin post
Vanessa Dannenberg
2021-06-27 22:32:50 -04:00
fac56f263cAllow speciying custom top and overhang nodes
Vanessa Dannenberg
2021-06-27 20:23:51 -04:00
92eb5b9e8dallow specifying a custom "base" node for the pole (like if the bottom part should be bigger than the rest of the pole, or has some details such as bolts securing it to the ground)
Vanessa Dannenberg
2021-06-27 19:22:59 -04:00
42f775f716allow specifying the height of the lamppost and whether it has a top section over the bulb (the top is included in the height, defaults to 5m, with top)
Vanessa Dannenberg
2021-06-27 18:53:29 -04:00
5815180b0emove the check_and_place and pointed_thing functions to their own file (makes the check function global, but still in the streetlights namespace)
Vanessa Dannenberg
2021-06-27 18:31:56 -04:00
c6b10e16e5convert depends.txt to mod.conf and fill-out some more .conf fields
Vanessa Dannenberg
2021-06-27 19:00:50 -04:00
c007f4c21cDon't allow engine to add the implicit "Proceed" button (this change makes it possible to theme the formspec)
Vanessa Dannenberg
2021-02-25 02:14:58 -05:00
13522a17efadd minimum minetest version key for contentdb
VanessaE
2020-06-03 13:00:36 -04:00
fd2704217cuse table.copy instead of own clone-node function also make sure coloredwood loads first, opt depend
Vanessa Dannenberg
2019-06-18 14:33:16 -04:00
41625bdf6fdefer to the target node's on_rightclick, if defined
Vanessa Dannenberg
2019-05-31 23:21:30 -04:00
38eb8b8f59scan around the distribution node, if any, for connection targets
Vanessa Dannenberg
2019-05-31 23:07:01 -04:00
d31c5590feif there's no digiline distributor, fall back to vertical digilines from "digistuff" mod (if neither mod exists, there will no option to set the distribution node)
Vanessa Dannenberg
2019-05-31 23:04:03 -04:00
d991bf02bcoverride the settings coloredwood (if present) adds to default fence, in the digilines copy thereof
Vanessa Dannenberg
2019-05-31 14:57:11 -04:00
64139d37d6fix some opt depends
Vanessa Dannenberg
2019-05-31 02:31:49 -04:00
acfaf86aa8add recipes to allow upgrading a plain spawner to be digilines-capable, or to upgrade a plain or digiline one to digiline with a distributor
Vanessa Dannenberg
2019-05-31 02:18:51 -04:00
cdfb4c0dbainstead of using Aux1/"E" to place a digiline distributor with the streetlight, just craft spawners that will always do that.
Vanessa Dannenberg
2019-05-31 02:13:21 -04:00
0bdc475ee5add recipes for Digilines-conducting poles, just in case someone wants to build the lights by hand :P
Vanessa Dannenberg
2019-05-30 06:37:50 -04:00
469c18ad91fix digiline-vs-not pole deduction
Vanessa Dannenberg
2019-05-30 06:32:48 -04:00
333a65785aAllow using aux1 (usually "E") to auto-place a digiline distributor 2 meters below the pole (the usual location for such a thing, but only if you're using a digilines-enabled spawner). Sneak (usually "shift") still places concrete right below the pole, so sneak + aux1 will place both.
Vanessa Dannenberg
2019-05-30 03:08:29 -04:00
4da69dd206If digilines is enabled, create digiline conducting copies of all registered pole nodes, with simple texture overlays to make it evident.
Vanessa Dannenberg
2019-05-30 01:30:30 -04:00
85c7ed8425rework creative and materials-in-survival checks on simple street lights check if the user has concrete when they try to shift-place in survival fix wrong pole check/deduct count add informational messages for when the player is short on materials
Vanessa Dannenberg
2019-05-27 14:24:11 -04:00
f52f6618b7actually bail-out on protection violation
Vanessa Dannenberg
2019-05-03 01:56:48 -04:00
616f2d7777if basic_materials is installed allow holding shift/sneak while "placing" a spawner to automatically "set" the streetlight in concrete.
Vanessa Dannenberg
2019-05-03 01:53:42 -04:00
bc496e221eadd junglewood poles and homedecor glowlight cube lights
Vanessa Dannenberg
2019-05-02 23:23:11 -04:00
6807cc8ddcrewrite mod to use "procedural" code uses tables to generate spawners based on available mods instead having them hard-coded.
Vanessa Dannenberg
2019-05-02 23:14:46 -04:00
1c6b382592Fix broken depends due to The Big Home Decor Split
Vanessa Dannenberg
2019-05-02 22:06:12 -04:00
aaaba193d2license fixups: my code is LGPL 3.0 and media is CC-by-SA 4.0 MineDOT stuff remains as Unlicense
Vanessa Dannenberg
2018-11-09 18:01:56 -05:00