new tutorial quest

This commit is contained in:
cale 2016-05-04 19:11:53 +02:00
parent 1daeba9d11
commit 1e4fc8eeba
8 changed files with 25 additions and 4 deletions

View File

@ -260,7 +260,7 @@ minetest.register_craft({
-- tools
minetest.register_craft({
output = "default:basic_hammer",
output = "default:simple_hammer",
recipe = {
{"", "default:log_1", ""},
{"", "default:string_strong", ""},

View File

@ -11,6 +11,7 @@ minetest.register_craftitem("default:wood_item", {
minetest.register_craftitem("default:stone_item", {
description = "Stone",
inventory_image = "default_stone_item.png",
stack_max = 99*9,
})
minetest.register_craftitem("default:flint", {

View File

@ -15,8 +15,8 @@ minetest.register_item(":", {
})
minetest.register_tool("default:basic_hammer", {
description = "Basic Hammer\n For Level: - \n Damage: 8",
minetest.register_tool("default:simple_hammer", {
description = "Simple Hammer\n For Level: - \n Damage: 8",
inventory_image = "default_basic_hammer.png",
tool_capabilities = {
max_drop_level=3,

View File

@ -284,6 +284,7 @@ function story.generator.run(part, player, line_pos)
else
out = {part=cmd[2], wait=false}
end
return out
end
if cmd[1] == "$wait" then
return {cmd="$wait", param=i, wait=true, param2 = cmd[2] or "talk"}

View File

@ -12,4 +12,4 @@ $wait
$give default:grass 9
$dialog tutorial_1_4
$wait
$quit
$next tutorial_2

View File

@ -0,0 +1,2 @@
Kai : Now, you should get some thick logs to craft a simple hammer.

View File

@ -1 +1,7 @@
$dialog tutorial_2
$wait
$quest dignode default:log_1 1 3
$wait quest
$dialog tutorial_2_2
$wait
$quit

View File

@ -0,0 +1,11 @@
Kai : To craft a simple hammer, you also need a stick and a string.
Kai : If you got these items, you need to go to your workbench.
Kai : Put the items on the workbench (like that) and you will get a simple hammer!
- A -
- B -
- C -
A : Log (Thick)
B : String (strong)
C : Stick