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
b77025dc
There was a problem fetching the pipeline summary.
Commit
b77025dc
authored
8 years ago
by
Milan
Browse files
Options
Downloads
Patches
Plain Diff
strawberry: id corrections
parent
2b7dda38
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
strawberry.lua
+11
-11
11 additions, 11 deletions
strawberry.lua
with
11 additions
and
11 deletions
strawberry.lua
+
11
−
11
View file @
b77025dc
...
...
@@ -3,8 +3,8 @@
-- Strawberry (can also be planted as seed)
minetest
.
register_craftitem
(
"farming:strawberry"
,
{
description
=
"Strawberry"
,
inventory_image
=
"strawberry.png"
,
wield_image
=
"strawberry.png"
,
inventory_image
=
"
farming_
strawberry.png"
,
wield_image
=
"
farming_
strawberry.png"
,
on_place
=
function
(
itemstack
,
placer
,
pointed_thing
)
return
farming
.
place_seed
(
itemstack
,
placer
,
pointed_thing
,
"farming:strawberry_1"
)
end
,
...
...
@@ -12,7 +12,7 @@ minetest.register_craftitem("farming:strawberry", {
})
-- added by illuna
minetest
.
register_craftitem
(
"farming:strawberry"
,
{
minetest
.
register_craftitem
(
"farming:strawberry
_seed
"
,
{
description
=
"Strawberry Seeds"
,
inventory_image
=
"farming_strawberry_seed.png"
,
on_place
=
function
(
itemstack
,
placer
,
pointed_thing
)
...
...
@@ -23,7 +23,7 @@ minetest.register_craftitem("farming:strawberry", {
-- Define Strawberry Bush growth stages
local
crop_def
=
{
drawtype
=
"plantlike"
,
tiles
=
{
"strawberry_1.png"
},
tiles
=
{
"
farming_
strawberry_1.png"
},
paramtype
=
"light"
,
sunlight_propagates
=
true
,
waving
=
1
,
...
...
@@ -45,23 +45,23 @@ local crop_def = {
minetest
.
register_node
(
"farming:strawberry_1"
,
table
.
copy
(
crop_def
))
-- stage 2
crop_def
.
tiles
=
{
"strawberry_2.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_2.png"
}
minetest
.
register_node
(
"farming:strawberry_2"
,
table
.
copy
(
crop_def
))
-- stage 3
crop_def
.
tiles
=
{
"strawberry_3.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_3.png"
}
minetest
.
register_node
(
"farming:strawberry_3"
,
table
.
copy
(
crop_def
))
-- stage 4
crop_def
.
tiles
=
{
"strawberry_4.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_4.png"
}
minetest
.
register_node
(
"farming:strawberry_4"
,
table
.
copy
(
crop_def
))
-- stage 5
crop_def
.
tiles
=
{
"strawberry_5.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_5.png"
}
minetest
.
register_node
(
"farming:strawberry_5"
,
table
.
copy
(
crop_def
))
-- stage 6
crop_def
.
tiles
=
{
"strawberry_6.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_6.png"
}
crop_def
.
drop
=
{
items
=
{
{
items
=
{
"farming:strawberry 1"
},
rarity
=
2
},
...
...
@@ -71,7 +71,7 @@ crop_def.drop = {
minetest
.
register_node
(
"farming:strawberry_6"
,
table
.
copy
(
crop_def
))
-- stage 7
crop_def
.
tiles
=
{
"strawberry_7.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_7.png"
}
crop_def
.
drop
=
{
items
=
{
{
items
=
{
"farming:strawberry 1"
},
rarity
=
1
},
...
...
@@ -81,7 +81,7 @@ crop_def.drop = {
minetest
.
register_node
(
"farming:strawberry_7"
,
table
.
copy
(
crop_def
))
-- stage 8
crop_def
.
tiles
=
{
"strawberry_8.png"
}
crop_def
.
tiles
=
{
"
farming_
strawberry_8.png"
}
crop_def
.
groups
.
growing
=
0
crop_def
.
drop
=
{
items
=
{
...
...
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