Commit Graph

671 Commits

Author SHA1 Message Date
kaeza
424a374d83 Add support for high resolution and proportional fonts to signs.
This also gets rid of useless constructs, and optimizes others.
2013-10-18 04:55:10 -02:00
kaeza
e97ee8256e Fix signs' text overflowing at bottom. 2013-10-18 00:12:06 -02:00
Vanessa Ezekowitz
ce09d71c4f Fixed offset bug in sign entities.
Existing signs' text will not be moved - this fix only applies to
newly-placed signs (or at leasty, newly-spawned text entities e.g. after
/clearobjects followed by punching).

Also, made a few functions local that didn't really need to be global,
some minor re-arranging of the code to accommodate the above and to tidy it
up a bit.
2013-10-17 22:05:34 -04:00
kaeza
e6e8cf04e8 Some fixes to signslib.
- Optimize texture generation by using `table.insert' and
  `table.concat' instead of concatenating strings.
- Related to first point, use `string.format' to construct
  individual textures.
- Fixed text entity not wrapping.
- Fixed small typo: `SIGN_WITH' -> `SIGN_WIDTH' :-)
2013-10-17 23:16:06 -02:00
Vanessa Ezekowitz
7f850a8e1e Any kinds of leaves that are in group:leaves (e.g. default leaves,
moretrees leaves, possibly others) can be used to make plastic base.
You can mix and match any types, if so desired.
2013-10-16 15:48:11 -04:00
kaeza
6b09ea3a6f Optimize create_lines() by using patterns, and prevent truncation of infotext. 2013-10-16 14:49:45 -02:00
kaeza
7219f6cd49 Make registering unknown signs a warning instead of an error. 2013-10-16 13:31:30 -02:00
Vanessa Ezekowitz
07fa9d5583 oops, S() needs to stay in init.lua 2013-10-16 10:30:41 -04:00
Vanessa Ezekowitz
1a18413a37 fix minor quantity bug in crafting terracotta shingles back into pieces 2013-10-16 10:24:45 -04:00
Vanessa Ezekowitz
1ab5263a55 fix nil function call in ownership code. 2013-10-16 09:59:19 -04:00
Vanessa Ezekowitz
e4c02a82d6 Split ownership checking and 6d facedir into separate files. Changed
related functions to use homedecor: and lib_6d: namespaces, as
necessary, instead of simple "homedecor_" name prefixes.
2013-10-13 13:20:42 -04:00
Vanessa Ezekowitz
92d8a53f5b [10-09 20:14] <ShadowNinja> VanessaE: homedecor.debug can't be local
since it is in a global table.
2013-10-09 20:14:52 -04: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
Vanessa Ezekowitz
2d3a3f21ef fix typos in alternate slope recipes (affects all mods that use the
shingles API)
2013-10-03 07:51:30 -04:00
kaeza
dbc2242d00 Make wall signs protection-aware. 2013-10-01 22:33:26 -03:00
kaeza
fb49c08aea Quick n' dirty hax to make locked furnaces work again. 2013-10-01 16:41:47 -03:00
fairiestoy
bae93a8ba9 Fixed duplication bug
Fixed a little bug within the recipe registration which causes to
duplicate shingles when crafted from slopes.
2013-09-13 18:21:13 +02:00
Vanessa Ezekowitz
2c8a91c362 Condense shutters into a nice loop, give them wood sounds instead of leaves.
Make shutters and curtains pass sunlight through to avoid ugly shadows
vertical shadows.
2013-08-28 05:31:42 -04:00
kaeza
53e9690679 Fix disabled signs. 2013-08-16 13:52:19 -03:00
Diego Martínez
b0cbea42e0 Merge pull request #22 from kaeza/optional_signs
Make signslib optional via configuration variable
2013-08-13 00:45:15 -07:00
kaeza
3c34a04605 Make signslib optional via configuration variable 2013-08-13 04:42:14 -03:00
Vanessa Ezekowitz
27280bc699 add explicit license declarations 2013-07-18 12:27:56 -04:00
Vanessa Ezekowitz
bd4d7be223 fixed missing description for active furnace-like nodes (ovens, etc) 2013-07-15 18:28:30 -04:00
Vanessa Ezekowitz
f383207166 limited door alpha usage to just the exterior fancy door
since it's the only one that actually needs it.
2013-07-14 17:56:00 -04:00
Diego Martínez
77d192aa5f Add ability to register furnace-like nodes from other mods. 2013-07-12 18:37:47 -03:00
Vanessa Ezekowitz
b22a188d2d Fix a possible nil bug 2013-07-12 12:55:00 -04:00
Vanessa Ezekowitz
38b068b2b2 brass ingots are now in a group, brass_ingot, all recipes that use them have
been changed.
2013-07-04 23:14:46 -04:00
Vanessa Ezekowitz
03f441ae0c minor tweak to slab and quarter-slab glowlights - better top/bottom textures 2013-07-01 00:51:18 -04:00
Vanessa Ezekowitz
2efa203185 Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
aedbcf5fde Add decorative window-unit air conditioner
also, renamed nodes.lua -> misc_nodes.lua
2013-06-29 01:38:37 -04:00
Diego Martínez
dbf3cb27f4 Test 2013-06-23 19:59:19 -03:00
Vanessa Ezekowitz
e00a0c66a4 More infortext tweaks 2013-06-21 01:59:03 -04:00
Vanessa Ezekowitz
1259fe77c8 Tweak infotext of microwave to say "Microwave is ..." instead of "Furnace is..." 2013-06-21 01:55:22 -04:00
Diego Martínez
8cb01f366d Fix inverted conditional that prevents microwaves from working 2013-06-21 02:16:39 -03:00
Vanessa Ezekowitz
958a75ed05 add colon to sign, minor tweak to semicolon texture 2013-06-13 00:03:04 -04:00
Vanessa Ezekowitz
333a74418f corrected the syntax of the sound play commands for gates/doors 2013-06-09 20:02:07 -04:00
Vanessa Ezekowitz
cf717ce73f Fixed missing check for ownership/node protection in lights
made lights check for buildable_to instead of just air
2013-06-07 14:14:13 -04:00
Vanessa Ezekowitz
1e6ba1103b fixed missing itemstack fields in on_rightclick calls in lights/doors 2013-06-07 13:33:37 -04:00
Vanessa Ezekowitz
f8ba120425 fix duplication bug in lighting (forgot to return itemstack) 2013-06-07 13:15:54 -04:00
VanessaE
e9520f42e4 Merge pull request #21 from Zeg9/signs
In creative mode, don't remove fences and signs from inventory when you place them
2013-06-06 12:30:30 -07:00
Zeg9
5a45d2b609 Only remove fences and signs from inventory if expected 2013-06-06 20:15:32 +02:00
Vanessa Ezekowitz
35eaadfb8a Made all gates open/close any gates above and/or below if same type.
Reduced hear distance for doors and gates
2013-06-05 16:46:59 -04:00
Vanessa Ezekowitz
55c222b39d forgot to check for proper tiling between segments. fixed. 2013-06-02 12:42:51 -04:00
Vanessa Ezekowitz
8cb236a105 Lower resolution of roof slopes/corners from 256 to 16. 2013-06-02 12:39:17 -04:00
Vanessa Ezekowitz
aa25496468 Ran all textures through pngquant. 2013-05-30 17:29:43 -04:00
Vanessa Ezekowitz
30a5bc3494 Ran all textures through pngcrush. 2013-05-30 15:47:36 -04:00
VanessaE
2d3ddea87f Merge pull request #20 from kaeza/master
Various Fixes
2013-05-23 10:58:18 -07: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
049b358c31 fix missing ownership check on editing yard signs 2013-05-20 21:55:40 -04:00