Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Luanti-Mod Einstieg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
Hack n Next
Luanti-Mod Einstieg
Commits
c665b64d
Commit
c665b64d
authored
1 month ago
by
magicfelix
Browse files
Options
Downloads
Patches
Plain Diff
Simplify crafting instructions
parent
e8d0b07e
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
addon-crafting.md
+5
-12
5 additions, 12 deletions
addon-crafting.md
with
5 additions
and
12 deletions
addon-crafting.md
+
5
−
12
View file @
c665b64d
...
@@ -17,11 +17,11 @@ Füge ganz unten in der Datei `init.lua` zunächst folgende Zeilen Code ein:
...
@@ -17,11 +17,11 @@ Füge ganz unten in der Datei `init.lua` zunächst folgende Zeilen Code ein:
```
lua
```
lua
minetest
.
register_craft
({
minetest
.
register_craft
({
output
=
"
mymod:diamond_chair 99
"
,
output
=
"
einstiegsmod:Pinguin 1
"
,
recipe
=
{
recipe
=
{
{
"mymod:diamond_fragments"
,
""
,
"
"
}
,
{
"default:dirt"
,
"default:dirt"
,
"default:dirt
"
}
{
"mymod:diamond_fragments"
,
"mymod:diamond_fragments"
,
"
"
}
,
{
"default:dirt"
,
"default:dirt"
,
"default:dirt
"
}
{
"mymod:diamond_fragments"
,
"mymod:diamond_fragments"
,
"
"
}
{
"default:dirt"
,
"default:dirt"
,
"default:dirt
"
}
}
}
})
})
```
```
...
@@ -44,14 +44,7 @@ Diese drei Zeilen mit ihren jeweils drei Wörtern stellen das Crafting-Feld dar,
...
@@ -44,14 +44,7 @@ Diese drei Zeilen mit ihren jeweils drei Wörtern stellen das Crafting-Feld dar,
welches aus 3x3 einzelnen Feldern besteht. Um es für den Anfang einfach zu
welches aus 3x3 einzelnen Feldern besteht. Um es für den Anfang einfach zu
halten, kannst du
`default:dirt`
für das Rezept verwenden, sodass man sich aus
halten, kannst du
`default:dirt`
für das Rezept verwenden, sodass man sich aus
Dirt (Erde) deinen Block craften kann. Überlege dir ein Muster. Keine Idee?
Dirt (Erde) deinen Block craften kann. Überlege dir ein Muster. Keine Idee?
Dann ersetze einfach die drei Zeilen, durch die drei folgenden:
Dann lass das Rezept so wie es ist und crafte deinen Block aus Erde.
```
lua
{
"default:dirt"
,
"default:dirt"
,
"default:dirt"
}
{
"default:dirt"
,
"default:dirt"
,
"default:dirt"
}
{
"default:dirt"
,
"default:dirt"
,
"default:dirt"
}
})
```
Probiere es nun aus, indem du Luanti startest und eine Welt mit deiner Mod
Probiere es nun aus, indem du Luanti startest und eine Welt mit deiner Mod
ausgewählt betrittst. Schaffst du es, deinen Block zu craften? Wenn du
ausgewählt betrittst. Schaffst du es, deinen Block zu craften? Wenn du
...
...
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