12 Commits

Author SHA1 Message Date
Auke Kok
761c6618aa No need for this. 2015-05-06 00:29:00 -07:00
Auke Kok
fa07d3307a Humidity for corn.
Adding some code to handle double sized plants easily. The
watering can now redirects water to the bottom, and the hydrometer
reads the bottom half water value instead of the top. No ABM's for
hydration happen on the top half, so no risk of double damage there.
2015-05-05 23:47:42 -07:00
Auke Kok
baf1b9ce6a Configuration - persistent config file
This allows a server admin to tweak the mods growth rate, chance
and required light level. For convenience I've made 3 sets of
"easy", "normal" and "difficult" settings so that it's easy to
understand what the difference is and what good starting values
are.
2015-04-23 22:51:27 -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
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
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