37 Commits

Author SHA1 Message Date
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
b72267b19d Merge pull request #6 from Pilcrow182/master
add support for enable_waving_plants shader setting
2015-04-14 22:46:10 -07:00
Pilcrow182
01105a6526 add support for enable_waving_plants shader setting 2015-04-14 23:53:30 -05:00
Auke Kok
e2ce73d686 Added the Potato. 2015-04-14 20:37:38 -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
318f3815d3 Interval/chance update.
- Globally use the same across all veggies
- use a shorter ABM, with lower chance

I don't like the fact that if you have 100 plants, then half of them
will ALL change phase every 90 seconds. It's just very unnatural. By
changing the rate/chance proportionally, plants still grow about as
fast (~1200secs for 90% growth rate to 5 phases), but there will be
less abrupt changes and no massive block updates, just small amounts
at a time. Yes, more ABM's will fire, but that's unlikely a load that
it won't be able to handle.
2015-04-13 21:01:45 -07:00
Auke Kok
5f9a5d7835 Add default leaf sounds to all the crops.
Only melon blocks have a different sound at this point.
2015-04-12 18:56:52 -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
c8ef4d1196 Add tomato to README.md 2015-04-11 17:39:29 -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
076bf8e031 Use the default plant interval and chance (90/2) 2015-04-10 16:42:31 -07:00
Auke Kok
44505e2282 restrict all of these crops from growing if they're not on soil 2015-04-10 16:41:48 -07:00
Auke Kok
c80f253432 Properly add dig handlers for these 2 corn tops. 2015-04-10 16:04:16 -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
5da6b39eeb parameterize these for easy testing. 2015-04-10 14:46:28 -07:00
Auke Kok
aa0dc0aa27 Describe corn. 2015-04-10 14:41:04 -07:00
Auke Kok
c686740080 I make this mistake a lot... Get proper name from node. 2015-04-10 11:52:27 -07:00
Auke Kok
acd6cf5db5 Don't make it wither if removing unripe corn plants. 2015-04-10 11:46:07 -07:00
Auke Kok
d9e83d0e40 Also break non-ripe tops properly. 2015-04-10 11:45:01 -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
8e3631e934 Make melon seeds infinite in creative mode. 2015-04-08 23:20:35 -07:00
Auke Kok
0322a09011 Make inventory image edges transparent. 2015-04-08 23:18:04 -07:00
Auke Kok
aa92db7655 cut'n'paste error 2015-04-08 22:20:10 -07:00
Auke Kok
6f3cfe645e Print out when we're done loading, just for spam. 2015-04-08 14:43:06 -07:00
Auke Kok
c7ba2c1dfd Set wield image to the melon seed, otherwise melon plant_1 shows. 2015-04-08 14:38:15 -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
ea42b966ff After removing the melon, return to pre-flower stage
This adds a bit more delay in between melon harvests, as
you need to wait for a flower to grow first, and then a melon.

Slightly more realistic, plus the flower doesn't pop up
immediately after harvesting.
2015-04-08 14:17:17 -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
11d5c23240 Add README.md 2015-04-08 13:57:26 -07:00
Auke Kok
39ce87a2c6 Add License file to cover artwork/models 2015-04-08 13:53:22 -07:00
Auke Kok
6df5f0fdf5 Add license headers to code (lgpl2+) 2015-04-08 13:53:05 -07:00
Auke Kok
04e0d57891 Don't show the attached plant in creative inventory. 2015-04-08 01:11:39 -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