25 Commits

Author SHA1 Message Date
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
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
0bb0aceabe Humidity for melons.
Lots of more templated code here. Use swap_node throughout. Each
plant has it's own properties table now, which trims the settings.txt
file. Will be easier to maintain and extend.

Had to add a withered texture for the melon plant... yes melon
plants will be able to wither on hard settings.
2015-05-04 01:52:41 -07:00
Auke Kok
29e7a20f28 Revert "Apparently I can turn off al these gimp export PNG options."
This reverts commit 4b71d7af7610a9f6c6e1ba692a245c566402e284.
2015-05-03 11:33:33 -07:00
Auke Kok
4df176e4ed Apparently I can turn off al these gimp export PNG options. 2015-05-03 11:33:33 -07:00
HybridDog
c5535a31ef advpng and optipng textures 2015-05-03 11:38:49 +02:00
Auke Kok
3501c6d8d0 Merge pull request #7 from ExcaliburZero/compress-textures
Compressed texture images
2015-05-02 19:04:27 -07:00
Auke Kok
7dbea2deb5 Start of getting humidity to work for potatoes. 2015-05-02 19:03:37 -07:00
ExcaliburZero
d80c8ae142 Compressed texture images
Compressed all of the texture images using Trimage Image Compressor.
2015-05-02 18:00:09 -04:00
Auke Kok
61de78e439 Plant humidity.
More explanation needed, and will be coming later.
2015-05-02 14:59:30 -07:00
Auke Kok
9e2f05283c Start of some cooking recipes that use crops. 2015-04-23 21:18:10 -07:00
Auke Kok
86df3322d2 Green Beans.
These green beans are unnaturally green, but there's so many
of them that grow on a vine! Sadly, these beans don't grow beans
unsupported, so you stick some sticks together to make a beanpole,
something like this way:

empty empty empty
stick empty stick
stick empty stick

There, that should help the viney bean plant to grow to 2 meters
high. It has remarkable purple flowers, that pop all over the plant
just before the beans grow.

Sadly, once the beans are picked, this plant turns into an unusable
mess that makes it hard for the next plant to grow on the beanpole,
so you salvage the beanpole's sticks after harvesting in order to
make more beanpoles again. It's a bit of work, but worth it, these
beans are delicious!
2015-04-17 00:27:21 -07:00
Auke Kok
aa239c4ae3 Potatoes.
The plants themselves don't drop anything. Only if the plant matures
can you dig potatoes from the soil. If you can reach the soil from the
side you can save yourself one dig by digging the soil as that will
remove the plant from the top, but otherwise you need to dig twice:
once to remove the plant, once to dig out the potatoes.

You get 3-5 potatoes. Each potato gives one (set of) "potato eyes"
which are the clones that can grow back to potatoes.

The plant itself is purposedly drawn "low" and not as a full block as
that's how the plant grows without support, mostly close to the ground.

Be careful not to dig the plant when there's flowers! You have to
wait until the soil below shows potatoes. It's fairly easy to see
the difference, though.
2015-04-14 01:09:35 -07:00
Auke Kok
6b0ff22e53 Add an unripe, green tomato in the pre-harvest stage.
This adds some nice color and shows a hint to the farmer that
there's going to be harvestable fruit soon. The green tomatoes
are not harvestable, but clearly stand out. They're significantly
smaller than the ripe tomato.
2015-04-12 18:41:27 -07:00
Auke Kok
d8daf94c69 Tomato textures: more color depth, better color spread. 2015-04-11 20:09:58 -07:00
Auke Kok
d00e8b4f89 Tweaked tomato leaves to be lighter. 2015-04-11 17:51:22 -07:00
Auke Kok
54ce1777f0 Tomatoes.
Tomatoes appear to work simple enough, until you harvest them
the first time: The plant stays! However, after the 3rd to 5th
harvest, the plant wilts and needs to be removed, since no more
tomatoes will grow on the plant. Per harvest you can get 1-2
tomatoes only. You can craft the tomatoes to tomato seeds, as
expected.
2015-04-11 17:36:59 -07:00
Auke Kok
0073de68e7 Melons: Place melons on their side.
Melons naturally grow on their side with stems attached, so place
them on their side with stem to the plant. I've modified the
textures to make them visually connect properly, and tuned the
bottom texture a bit more to look like an actual melon bottom.

Yes, I actually had a watermelon at my house and looked at it's
rear end.
2015-04-10 15:23:38 -07:00
Auke Kok
25f37fbd0d Corn.
Corn plants are 2 blocks high, and yield corn cobs. These can be
cooked to corn-on-the-cob, or processed to make corn seed (corn
kernels, basically).

Digging a mature plant yields the corn cob. A harvested corn plant
"wilts", and needs to be dug away to make the land usable, or can
be left as ornamental 2-block plant. Digging either top or bottom
block works in all cases, although I need to verify that I've
covered every block combo.
2015-04-10 11:08:27 -07:00
Auke Kok
9d54e7af93 Fix bad pixel in these textures. 2015-04-09 14:35:56 -07:00
Auke Kok
0322a09011 Make inventory image edges transparent. 2015-04-08 23:18:04 -07:00
Auke Kok
b2a494a260 Tweak textures a bit more to remove rough edging and odd pixels. 2015-04-08 14:34:42 -07:00
Auke Kok
70ddf360c9 Tweak melon plant hitbox, remove unneeded texture. 2015-04-08 14:29:08 -07:00
Auke Kok
ca0126dd7c Remove the flower from the melon plant if it's attached.
This is more realistic: The melon flower turns into a melon
once it's ready, so while a melon is attached, the flower is
gone signifying that it's not ready to grow another melon.

The flower pops back immediately once you remove the melon block.
2015-04-08 14:01:42 -07:00
Auke Kok
1fa945bf6b Initial commit.
This should be entirely working now - MELONS!

Work as expected. A seed grows to a plant, plant flowers and an
adjacent melon block grows, and is attached with a stem. Once the
melon block is harvested (which drops 3-5 melon slices), the
stem is lost and the plant will grow a new melon from it's mature
stage.
2015-04-08 01:03:54 -07:00