Commit Graph

1183 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
kaeza
ebe8adf855 Small fixes to signs_lib. 2013-10-19 22:34:14 -02:00
kaeza
d5f5785b13 More fixes.
Sorry for the separate commits.
2013-10-18 07:29:50 -02:00
kaeza
f142269737 Merge branch 'master' of https://github.com/VanessaE/homedecor 2013-10-18 07:26:30 -02:00
kaeza
a487ffaa16 Some fixes to proportional/HQ font support. 2013-10-18 07:26:16 -02:00
Vanessa Ezekowitz
e2724219f9 opops, forgot the default one 2013-10-18 04:49:04 -04:00
Vanessa Ezekowitz
bcde6ab62b Made spaces much thinner 2013-10-18 04:48:31 -04:00
kaeza
40f74beec0 Separate lines of sign text a bit. 2013-10-18 06:17:28 -02:00
kaeza
cbbe2ccaef Add random checks to see if font changed in the meantime. 2013-10-18 06:11:21 -02:00
Vanessa Ezekowitz
6f95d10fd6 fonts' left curly braces also got screwed up. 2013-10-18 04:16:05 -04:00
Vanessa Ezekowitz
a633479b32 Apostrophes got screwed up 2013-10-18 04:09:58 -04:00
Vanessa Ezekowitz
3d51a36a4f Add font for kaeza's new code, plus some extra fonts that can be copied
into textures/ to change resolutions.
2013-10-18 03:32:56 -04:00
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