summaryrefslogtreecommitdiff
path: root/tomato.lua
AgeCommit message (Collapse)Author
2017-09-30Replace deprecated method 'setting_getbool' with 'settings:get_bool'HEADv1origin/masterorigin/HEADmasterAntumDeluge
2016-10-18Convert to meshoptions plantlike.Auke Kok
- remove custom model for corn! - corn model stays the same shape, param2 = 3 - tomato now is + shaped, not x, param2 = 1
2016-10-18Luacheck cleanups and .luacheckrcAuke Kok
Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors.
2016-10-18Intllib (#5)xisd
Support for translation via intllib.
2015-12-11Enable placement prediction everywhere.Auke Kok
2015-11-26Reduce the hitboxes on tomatoes and potatoes.Auke Kok
These were really awkward when harvesting, so drop the size by 10% or so.
2015-11-25Particle spawner on dead plants: flies.Auke Kok
These buzz around dead plants, right after they die.
2015-05-07Abstract crops.register method a bit.Auke Kok
2015-05-07Fix a few errors exposed by difficult setting.Auke Kok
2015-05-06Unify the difficulty settings into init.luaAuke Kok
All the scaling factors are now either in the plant table or the crops.settings table. This makes end-user tuning a bit harder, but switching easier and configuring easier as well.
2015-05-04Humidity for melons.Auke Kok
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-02Plant humidity.Auke Kok
More explanation needed, and will be coming later.
2015-04-23Configuration - persistent config fileAuke Kok
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-14add support for enable_waving_plants shader settingPilcrow182
2015-04-13Interval/chance update.Auke Kok
- 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-12Add default leaf sounds to all the crops.Auke Kok
Only melon blocks have a different sound at this point.
2015-04-11Tomatoes.Auke Kok
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.