127 Commits

Author SHA1 Message Date
AntumDeluge
98d859fc22 Replace deprecated method 'setting_getbool' with 'settings:get_bool' 2017-09-30 11:44:27 -07:00
AntumDeluge
144012f082 Replace deprecated call to 'get_mapgen_params' with 'get_mapgen_setting' 2017-09-30 11:44:27 -07:00
Hamlet
15ea47ef69 Italian locale 2017-09-30 11:43:50 -07:00
fat115
da15cefcde sorted po/pot files
added corresponding option --sort-by-file in updatepo.sh
2017-09-30 11:43:39 -07:00
BrunoMine
aab3acddd1 Add portuguese translation 2017-09-30 11:43:21 -07:00
Auke Kok
2b1bb378e5 Luacheck fixes. 2017-03-31 22:14:27 -07:00
Auke Kok
e8319809a7 Convert to md, rename file, add some comments and fixes. 2017-03-31 21:24:06 -07:00
Auke Kok
645fa21f6f Clean up luacheck error due to NS var unused. 2017-03-08 21:19:25 -08:00
Diego Martínez
1c18586a37 Add Spanish locale. 2017-02-20 13:38:32 -08:00
Diego Martínez
29373b019b Update German and French locales to new strings.
Only real changes were the following:

* Update the catalog header to include translator and
  Plural-Forms header.
* Fuse two strings that were translated separately into a
  single one. I've left these items marked as fuzzy in case
  there's a better way to translate it in the new format.
2017-02-20 13:38:32 -08:00
Diego Martínez
7252ae9be7 Add helper script to update PO files. 2017-02-20 13:38:32 -08:00
Diego Martínez
ffa50a5d47 Update POT to new strings.
Removed line number information to make future updates
less noisy. Grep is your friend :)
2017-02-20 13:38:32 -08:00
Diego Martínez
b49543824a Fix some translatable strings. 2017-02-20 13:38:32 -08:00
Auke Kok
89ec8d0d8d Coffee deficiency error. 2017-02-20 11:13:16 -08:00
LNJ
211c310010 Add German l10n 2017-02-20 11:10:49 -08:00
LNJ
214bd005e7 Switch to new intllib system using gettext 2017-02-20 11:10:36 -08:00
Auke Kok
15f86d36c1 Grassland biome changes in mtg. 2017-02-20 09:40:08 -08:00
Auke Kok
feb203fb40 Fix whitespace. 2016-12-15 11:47:34 -08:00
amadin
c5beed1ba6 Fix translation encapsulation error.
Quotes are in the wrong location.
2016-10-30 21:54:16 -07:00
xisd
f8298d1689 french translation (#7) 2016-10-23 21:10:30 -07:00
Auke Kok
ff3c34cb2f Convert to meshoptions plantlike.
- remove custom model for corn!
- corn model stays the same shape, param2 = 3
- tomato now is + shaped, not x, param2 = 1
2016-10-18 14:09:34 -07:00
Auke Kok
3b6c0e5e78 Luacheck cleanups and .luacheckrc
Use `luacheck .` to run luacheck on this mod.

Cleaned up luacheck errors.
2016-10-18 09:33:30 -07:00
xisd
e6421d8d49 Intllib (#5)
Support for translation via intllib.
2016-10-18 09:13:59 -07:00
Auke Kok
65729b9d33 Merge pull request #3 from C1ffisme/master
Make the watering can not lose water in creative
2016-04-12 07:46:10 -07:00
C1ffisme
3819bf7b94 Make the watering can not lose water in creative 2016-04-12 09:38:18 -05:00
Auke Kok
daab8ac914 Farming is required due to soil use. 2016-04-10 14:37:15 -07:00
Auke Kok
4f60a8144a Oops, nobody got any pumpkins?
Turns out I made pumkins not drop items when digging. Yikes.

Use after_dig_node() so drops are handled nicely.
2016-03-13 22:12:54 -07:00
bashterm
77d00903ad Allow Disabling of Hydration mechanics
Disables the hydration mechanics when the user sets the game difficulty
to easy in the crops_settings.txt file. This makes the mod much easier
to play on easy mode. This was acheived by only executing the parts
of the code that pertain to hydration when the hydration variable in
settings is set to true. Otherwise the code that does hydration is
never executed.
2016-03-13 22:12:40 -07:00
Auke Kok
25ebe3ecfa Refine placement prediction.
We can't let the client predict seed placement, as node_placement_
prediction only considers pointed_thing.above, and we place the
node in .under.

However, we can predict the beanpole base properly.
2016-01-04 16:20:15 -08:00
Auke Kok
959c5f6864 Add mod.conf 2016-01-04 14:59:24 -08:00
Auke Kok
9e0c43feeb For future use, make corn waving just like plantlike.
This needs a patch to the core client code to actually work.
2015-12-28 21:36:19 -08:00
Auke Kok
fe162a89f9 Enable some of these plants to be found in a normal world.
- places pumpkin and melon plants in the world through mapgen.
- very rarely, digging dirt will yield a potato.
2015-12-28 21:35:13 -08:00
Auke Kok
9a42477859 Enable placement prediction everywhere. 2015-12-11 15:57:08 -08:00
Auke Kok
1376e0b0b3 Reduce the hitboxes on tomatoes and potatoes.
These were really awkward when harvesting, so drop the
size by 10% or so.
2015-11-26 12:09:24 -08:00
Auke Kok
af91e433ec Typo... 2015-11-25 23:57:23 -08:00
Auke Kok
f60d5c34c8 Add attribution for used sound. 2015-11-25 23:37:53 -08:00
Auke Kok
7176a228ea Add sound effect for watering plants.
Just a short watering sound, nothing fancy.
2015-11-25 23:28:01 -08:00
Auke Kok
180a1db447 Fly sounds.
These accomodate the fly particles around plants that died.

probably gonna freak some players out ;^)
2015-11-25 22:54:31 -08:00
Auke Kok
5329ff5b36 Particle spawner on dead plants: flies.
These buzz around dead plants, right after they die.
2015-11-25 22:25:41 -08:00
Auke Kok
f5908b08af These are not needed, game creates the inventory image.
Just saves bandwidth for client startup.
2015-11-24 16:35:48 -08:00
Auke Kok
4a972decef Merge pull request #11 from HybridDog/texture_sizes
reduce texture sizes
2015-11-24 09:28:28 -08:00
HybridDog
90f8b622f0 changes
reduce texture sizes
2015-11-24 17:15:53 +01:00
Auke Kok
0ed89f31a3 Pumpkins!
Since it's almost thanksgiving, here's some pumpkins, and
as usual, with a twist. In itself the pumpkins behave
like you expect - digging them yields a block, not slices.
You can get seeds from a block, or cook a block into roast
pumpkin, which is edible.

The catch is that there's only one piece of food from a pumpkin
so it's a lot of work. And if you want to expand your pumpkin
farm, you'll have to water as otherwise the plants die and
will not spawn more than 1 pumpkin if you're unlucky, so
it's going to be difficult and labor intensive to grow a
large pumpkin farm.

So yeah, maybe just grow pumpkins once a year for some
holiday cheer, like some countries do, and then back to
taters, cuz they easy.
2015-11-23 21:47:16 -08:00
Auke Kok
9e48ec7677 Merge fix. 2015-05-25 16:02:09 -07:00
HybridDog
20f1a5168e add watercan sounds 2015-05-25 15:52:57 -07:00
HybridDog
61815728f5 short settings code 2015-05-25 15:50:53 -07:00
HybridDog
5ff478e635 add gitignore 2015-05-25 15:50:35 -07:00
HybridDog
f3aed139d6 allow filling the watercan with e.g. river water.
I didn't merge the part that would reject filling a watercan in
areas you are protected from editing. It would make more sense
if this was allowed, since the water block used to fill is not
consumed.

Also, I'd rather see code making sure that other people's plants
can't be overwatered, which is more dangereous and I've not checked
if that is possible now.
2015-05-25 15:48:07 -07:00
Auke Kok
c210807fe4 Add particles showing plants being watered.
Supposed to be a visual reinforcement that water actually
made it to the plant. The particles are drops of water
that fall down from the plant that was watered.
2015-05-09 23:15:54 -07:00
Auke Kok
6c32b3c6c1 Fix corn withering - wrong node name here broke it 2015-05-09 23:15:08 -07:00