summaryrefslogtreecommitdiff
path: root/potato.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-03Add damage to potato nodes.Auke Kok
Note this is highly unbalanced still. Potatoes grow way too fast and so there's little damage with the default settings.
2015-05-02Start of getting humidity to work for potatoes.Auke Kok
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-14Potatoes.Auke Kok
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.