new tutorial quest
This commit is contained in:
parent
1daeba9d11
commit
1e4fc8eeba
@ -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", ""},
|
||||
|
@ -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", {
|
||||
|
@ -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,
|
||||
|
@ -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"}
|
||||
|
@ -12,4 +12,4 @@ $wait
|
||||
$give default:grass 9
|
||||
$dialog tutorial_1_4
|
||||
$wait
|
||||
$quit
|
||||
$next tutorial_2
|
||||
|
2
mods/story/parts/tutorial_2.dialog
Normal file
2
mods/story/parts/tutorial_2.dialog
Normal file
@ -0,0 +1,2 @@
|
||||
Kai : Now, you should get some thick logs to craft a simple hammer.
|
||||
|
@ -1 +1,7 @@
|
||||
$dialog tutorial_2
|
||||
$wait
|
||||
$quest dignode default:log_1 1 3
|
||||
$wait quest
|
||||
$dialog tutorial_2_2
|
||||
$wait
|
||||
$quit
|
||||
|
11
mods/story/parts/tutorial_2_2.dialog
Normal file
11
mods/story/parts/tutorial_2_2.dialog
Normal 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
|
Loading…
x
Reference in New Issue
Block a user