1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-16 23:30:37 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
kaeza
10cef3dda1 Use a single `intllib.Getter' for all the texts.
Just a minimal code reduction, but big reduction in code
duplication. This could help if in the future, support for
different "internationalization" mods will be added, or in
case Minetest supports I18N/L10N internally in the engine.
2013-10-21 22:31:54 -02:00
Vanessa Ezekowitz
e04a0e5e4f changed all "homedecor_" variable and function names to "homedecor."
(underscore -> period).  Similarly for intllib calls and the DEBUG variable.
2013-10-09 12:47:22 -04:00
Vanessa Ezekowitz
2550672352 Replaced most uses of get_modpath() with variables cached at the top of init.lua 2013-10-09 12:27:49 -04:00
kaeza
53e9690679 Fix disabled signs. 2013-08-16 13:52:19 -03:00
kaeza
3c34a04605 Make signslib optional via configuration variable 2013-08-13 04:42:14 -03:00
Diego Martínez
53b62463fc Fix wrong check for ownership on fence placement, respect pointed_thing on_rightclick callback, and support placing fences in buildable_to nodes 2013-05-23 08:56:21 -03:00
Vanessa Ezekowitz
0c14e9f3bd swap backside/backside2 added in previous commit 2013-04-20 08:08:28 -04:00
Vanessa Ezekowitz
891bbf3053 Similar tweak for corner privacy fence textures 2013-04-20 07:32:51 -04:00
Vanessa Ezekowitz
d54ad12fb5 minor tweak to improve flexibility of corner chainlink fence texturing 2013-04-20 07:10:56 -04:00
Vanessa Ezekowitz
3a119eecdb fixed a minor texture bug in corner chainlink fences/ 2013-04-20 00:39:11 -04:00
Vanessa Ezekowitz
8fd34a9dc6 Several changes (see below)
Dropped support for punching doors to open them - only right-click now.

Moved gates out of fences and into doors file, renamed that file to
doors_and_gates.lua.

Changed gates to also use right click to open, and in the process
completely rewrote how gates are defined and managed; this necessitated
creating some duplicate textures.  Some of them are blank, and texture
pack authors may find the extra filenames useful anyway.

Node names for all gates have changed, aliases are provided for backward
compatibility.
2013-04-20 00:11:31 -04:00
Vanessa Ezekowitz
2f81946fad minor tweaks to corner fence selection boxes 2013-04-19 20:54:05 -04:00
Vanessa Ezekowitz
67c0342bb4 Add corner privacy fence and craft recipes for it. 2013-04-19 20:45:14 -04:00
Vanessa Ezekowitz
38a20478b7 "top" edges of picket fences/gates should be transparent, since the
fences are only 2d anyway.
2013-04-19 19:30:50 -04:00
Vanessa Ezekowitz
825b2abbc0 added picket, white picket, and barbed wire corner fences, and recipes to make
them.

Tweaked picket fence nodeboxes slightly to push them as close to the
back of the node as I could without Z-fighting with neighboring objects.

Minor code formatting tweaks

got rid of some commented-out code.
2013-04-19 19:10:20 -04:00
Diego Martínez
f79c5557fc changed way in which signs attach to fences 2013-03-11 06:59:42 -03:00
Diego Martínez
4e67a184f2 Merge branch 'master' of https://github.com/VanessaE/homedecor 2013-03-05 05:22:37 -02:00
Diego Martínez
6133234771 Added localization support 2013-03-05 05:18:56 -02:00
Darren Salt
cf0ad1fd9a Added corner chainlink fences
Craft two regular chainlink fences to get the corner variety, place the result
back into the craft grid to get the two fences back.
2013-03-05 02:16:20 -05:00
Vanessa Ezekowitz
aa04eac212 made signs check for node ownership/protection before allowing placement. 2013-02-10 19:23:29 -05:00
Vanessa Ezekowitz
bd68f563bb took fences-with-signs out of creative inventory 2013-02-09 18:51:06 -05:00
Vanessa Ezekowitz
323e230d49 Add ability to place a sign directly onto a brass/wrought iron fencepost
rather than crafting a sign-on-fencepost from one of each, how about just
placing a sign directly onto a fencepost instead?  This commit adds this.
Place a brass or wrought iron fencepost, then attempt to place a sign against
it.  The fencepost will be replaced with one bearing the sign - in the same
node.  Dig to get the two pieces back as separate items, right click the placed
sign to edit the text thereon.

Note that as of this commit, there is a bug in minetest/builtin/item.lua that
causes signs not to be deducted from your inventory on placement.
2013-02-09 17:59:35 -05:00
Vanessa Ezekowitz
a7ab6fac34 got rid of inventory images for signs - the rendered nodeboxes look better 2013-02-08 02:53:08 -05:00
Vanessa Ezekowitz
178386ee53 Added the ability to place a sign onto a brass or wrought iron fence
uses code from PilzAdam's rework of thexyz's signs mod.
2013-02-08 02:31:40 -05:00
Vanessa Ezekowitz
037089ddd5 Added picket fence gates (plain and white) 2012-09-30 22:27:28 -04:00
Vanessa Ezekowitz
87e5ed95a0 Added chainlink fence gate. Place a fence back into the crafting grid to get a
gate.  Place it, then click it to open/close.
2012-09-30 21:16:41 -04:00
Vanessa Ezekowitz
c6b2bde0a1 Added chainlink fence. 2012-09-30 18:49:12 -04:00
Vanessa Ezekowitz
fcd9d457ab continued to tune fence textures and shapes. 2012-09-30 18:09:54 -04:00
Vanessa Ezekowitz
719916aa9c oops, forgot to set the drawtype for the fences. 2012-09-30 17:11:31 -04:00
Vanessa Ezekowitz
f3199d3541 Added wooden privacy fence, white and unpainted picket fences, barbed wire
fence, moved all fences to a separate file, minor code cleanups elsewhere.
2012-09-30 17:05:46 -04:00