Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
farming
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
farming
Commits
3d59270a
Commit
3d59270a
authored
8 years ago
by
TenPlus1
Browse files
Options
Downloads
Patches
Plain Diff
Checks light above crop and not inside crop.
parent
b7cafd19
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.lua
+2
-2
2 additions, 2 deletions
init.lua
with
2 additions
and
2 deletions
init.lua
+
2
−
2
View file @
3d59270a
--[[
Minetest Farming Redo Mod 1.22 (2
4
th May 2016)
Minetest Farming Redo Mod 1.22 (2
6
th May 2016)
by TenPlus1
NEW growing routine by prestidigitator
auto-refill by crabman77
...
...
@@ -428,7 +428,7 @@ function farming.plant_growth_timer(pos, elapsed, node_name)
end
local
growth
local
light_pos
=
{
x
=
pos
.
x
,
y
=
pos
.
y
,
z
=
pos
.
z
}
local
light_pos
=
{
x
=
pos
.
x
,
y
=
pos
.
y
+
1
,
z
=
pos
.
z
}
local
lambda
=
elapsed
/
STAGE_LENGTH_AVG
if
lambda
<
0
.
1
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment