added sheep and new quest system

This commit is contained in:
cale 2016-01-21 16:48:41 +01:00
parent c2e6cb01c4
commit f8a1163465
15 changed files with 670 additions and 4 deletions

View File

@ -149,5 +149,13 @@ pets.register_pet("pets:pig", {
mesh = "pets_pig.x",
textures = {"pets_pig.png",},
})
pets.register_pet("pets:sheep", {
description = "sheep",
hp_max = 25,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
mesh = "pets_sheep.x",
textures = {"pets_sheep.png",},
})
pets.load_pets()

View File

@ -149,5 +149,13 @@ pets.register_pet("pets:pig", {
mesh = "pets_pig.x",
textures = {"pets_pig.png",},
})
pets.register_pet("pets:sheep", {
description = "sheep",
hp_max = 25,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
mesh = "pets_sheep.x",
textures = {"pets_sheep.png",},
})
pets.load_pets()

View File

@ -0,0 +1,520 @@
xof 0303txt 0032
Frame Root {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000,-0.000000, 1.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
Frame Cube_003 {
FrameTransformMatrix {
2.000000, 0.000000, 0.000000, 0.000000,
0.000000, 2.000000, 0.000000, 0.000000,
0.000000, 0.000000, 2.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
Mesh { // Cube_003 mesh
160;
-2.432362;-1.400496; 2.385378;,
-2.432362; 1.399503; 2.385378;,
-2.432362; 1.399503;-0.134622;,
-2.432362;-1.400496;-0.134622;,
-2.432362; 1.399503; 2.385378;,
2.002838; 1.399503; 2.385378;,
2.002838; 1.399503;-0.134622;,
-2.432362; 1.399503;-0.134622;,
2.002838; 1.399503; 2.385378;,
2.002838;-1.400496; 2.385378;,
2.002838;-1.400496;-0.134622;,
2.002838; 1.399503;-0.134622;,
2.002838;-1.400496; 2.385378;,
-2.432362;-1.400496; 2.385378;,
-2.432362;-1.400496;-0.134622;,
2.002838;-1.400496;-0.134622;,
-2.432362;-1.400496;-0.134622;,
-2.432362; 1.399503;-0.134622;,
2.002838; 1.399503;-0.134622;,
2.002838;-1.400496;-0.134622;,
2.002838;-1.400496; 2.385378;,
2.002838; 1.399503; 2.385378;,
-2.432362; 1.399503; 2.385378;,
-2.432362;-1.400496; 2.385378;,
-2.370794;-1.190482; 0.338897;,
-2.370794;-0.384082; 0.338897;,
-2.370794;-0.384082;-2.041104;,
-2.370794;-1.190482;-2.041104;,
-2.370794;-0.384082; 0.338897;,
-1.483754;-0.384082; 0.338897;,
-1.483754;-0.384082;-2.041104;,
-2.370794;-0.384082;-2.041104;,
-1.483754;-0.384082; 0.338897;,
-1.483754;-1.190482; 0.338897;,
-1.483754;-1.190482;-2.041104;,
-1.483754;-0.384082;-2.041104;,
-1.483754;-1.190482; 0.338897;,
-2.370794;-1.190482; 0.338897;,
-2.370794;-1.190482;-2.041104;,
-1.483754;-1.190482;-2.041104;,
-2.370794;-1.190482;-2.041104;,
-2.370794;-0.384082;-2.041104;,
-1.483754;-0.384082;-2.041104;,
-1.483754;-1.190482;-2.041104;,
-1.483754;-1.190482; 0.338897;,
-1.483754;-0.384082; 0.338897;,
-2.370794;-0.384082; 0.338897;,
-2.370794;-1.190482; 0.338897;,
-2.299643; 0.388737; 0.338897;,
-2.299643; 1.195137; 0.338897;,
-2.299643; 1.195137;-2.041104;,
-2.299643; 0.388737;-2.041104;,
-2.299643; 1.195137; 0.338897;,
-1.412603; 1.195137; 0.338897;,
-1.412603; 1.195137;-2.041104;,
-2.299643; 1.195137;-2.041104;,
-1.412603; 1.195137; 0.338897;,
-1.412603; 0.388737; 0.338897;,
-1.412603; 0.388737;-2.041104;,
-1.412603; 1.195137;-2.041104;,
-1.412603; 0.388737; 0.338897;,
-2.299643; 0.388737; 0.338897;,
-2.299643; 0.388737;-2.041104;,
-1.412603; 0.388737;-2.041104;,
-2.299643; 0.388737;-2.041104;,
-2.299643; 1.195137;-2.041104;,
-1.412603; 1.195137;-2.041104;,
-1.412603; 0.388737;-2.041104;,
-1.412603; 0.388737; 0.338897;,
-1.412603; 1.195137; 0.338897;,
-2.299643; 1.195137; 0.338897;,
-2.299643; 0.388737; 0.338897;,
0.881718; 0.388737; 0.338897;,
0.881718; 1.195137; 0.338897;,
0.881718; 1.195137;-2.041104;,
0.881718; 0.388737;-2.041104;,
0.881718; 1.195137; 0.338897;,
1.768757; 1.195137; 0.338897;,
1.768757; 1.195137;-2.041104;,
0.881718; 1.195137;-2.041104;,
1.768757; 1.195137; 0.338897;,
1.768757; 0.388737; 0.338897;,
1.768757; 0.388737;-2.041104;,
1.768757; 1.195137;-2.041104;,
1.768757; 0.388737; 0.338897;,
0.881718; 0.388737; 0.338897;,
0.881718; 0.388737;-2.041104;,
1.768757; 0.388737;-2.041104;,
0.881718; 0.388737;-2.041104;,
0.881718; 1.195137;-2.041104;,
1.768757; 1.195137;-2.041104;,
1.768757; 0.388737;-2.041104;,
1.768757; 0.388737; 0.338897;,
1.768757; 1.195137; 0.338897;,
0.881718; 1.195137; 0.338897;,
0.881718; 0.388737; 0.338897;,
0.881718;-1.190483; 0.338897;,
0.881718;-0.384083; 0.338897;,
0.881718;-0.384083;-2.041104;,
0.881718;-1.190483;-2.041104;,
0.881718;-0.384083; 0.338897;,
1.768757;-0.384083; 0.338897;,
1.768757;-0.384083;-2.041104;,
0.881718;-0.384083;-2.041104;,
1.768757;-0.384083; 0.338897;,
1.768757;-1.190483; 0.338897;,
1.768757;-1.190483;-2.041104;,
1.768757;-0.384083;-2.041104;,
1.768757;-1.190483; 0.338897;,
0.881718;-1.190483; 0.338897;,
0.881718;-1.190483;-2.041104;,
1.768757;-1.190483;-2.041104;,
0.881718;-1.190483;-2.041104;,
0.881718;-0.384083;-2.041104;,
1.768757;-0.384083;-2.041104;,
1.768757;-1.190483;-2.041104;,
1.768757;-1.190483; 0.338897;,
1.768757;-0.384083; 0.338897;,
0.881718;-0.384083; 0.338897;,
0.881718;-1.190483; 0.338897;,
0.984006;-1.109297; 3.328235;,
0.984006; 1.108303; 3.328235;,
0.984006; 1.108303; 1.110634;,
0.984006;-1.109297; 1.110634;,
0.984006; 1.108303; 3.328235;,
3.423366; 1.108303; 3.328235;,
3.423366; 1.108303; 1.110634;,
0.984006; 1.108303; 1.110634;,
3.423366;-1.109297; 1.110634;,
3.423366; 1.108303; 1.110634;,
3.458205; 0.997423; 1.221514;,
3.458205;-0.998417; 1.221514;,
3.423366;-1.109297; 3.328235;,
0.984006;-1.109297; 3.328235;,
0.984006;-1.109297; 1.110634;,
3.423366;-1.109297; 1.110634;,
0.984006;-1.109297; 1.110634;,
0.984006; 1.108303; 1.110634;,
3.423366; 1.108303; 1.110634;,
3.423366;-1.109297; 1.110634;,
3.423366;-1.109297; 3.328235;,
3.423366; 1.108303; 3.328235;,
0.984006; 1.108303; 3.328235;,
0.984006;-1.109297; 3.328235;,
3.458205; 0.997423; 3.217355;,
3.458205;-0.998417; 3.217355;,
3.458205;-0.998417; 1.221514;,
3.458205; 0.997423; 1.221514;,
3.423366;-1.109297; 3.328235;,
3.423366;-1.109297; 1.110634;,
3.458205;-0.998417; 1.221514;,
3.458205;-0.998417; 3.217355;,
3.423366; 1.108303; 3.328235;,
3.423366;-1.109297; 3.328235;,
3.458205;-0.998417; 3.217355;,
3.458205; 0.997423; 3.217355;,
3.423366; 1.108303; 1.110634;,
3.423366; 1.108303; 3.328235;,
3.458205; 0.997423; 3.217355;,
3.458205; 0.997423; 1.221514;;
40;
4;3,2,1,0;,
4;7,6,5,4;,
4;11,10,9,8;,
4;15,14,13,12;,
4;19,18,17,16;,
4;23,22,21,20;,
4;27,26,25,24;,
4;31,30,29,28;,
4;35,34,33,32;,
4;39,38,37,36;,
4;43,42,41,40;,
4;47,46,45,44;,
4;51,50,49,48;,
4;55,54,53,52;,
4;59,58,57,56;,
4;63,62,61,60;,
4;67,66,65,64;,
4;71,70,69,68;,
4;75,74,73,72;,
4;79,78,77,76;,
4;83,82,81,80;,
4;87,86,85,84;,
4;91,90,89,88;,
4;95,94,93,92;,
4;99,98,97,96;,
4;103,102,101,100;,
4;107,106,105,104;,
4;111,110,109,108;,
4;115,114,113,112;,
4;119,118,117,116;,
4;123,122,121,120;,
4;127,126,125,124;,
4;131,130,129,128;,
4;135,134,133,132;,
4;139,138,137,136;,
4;143,142,141,140;,
4;147,146,145,144;,
4;151,150,149,148;,
4;155,154,153,152;,
4;159,158,157,156;;
MeshNormals { // Cube_003 normals
40;
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
1.000000; 0.000000;-0.000000;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
1.000000; 0.000000;-0.000000;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
1.000000; 0.000000;-0.000000;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
1.000000; 0.000000;-0.000000;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
1.000000; 0.000000;-0.000000;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
-1.000000; 0.000000; 0.000000;,
0.000000; 1.000000;-0.000000;,
0.954016; 0.000000;-0.299755;,
0.000000;-1.000000; 0.000000;,
-0.000000; 0.000000;-1.000000;,
-0.000000; 0.000000; 1.000000;,
1.000000; 0.000000;-0.000000;,
0.954016;-0.299755; 0.000000;,
0.954016; 0.000000; 0.299755;,
0.954016; 0.299756; 0.000000;;
40;
4;0,0,0,0;,
4;1,1,1,1;,
4;2,2,2,2;,
4;3,3,3,3;,
4;4,4,4,4;,
4;5,5,5,5;,
4;6,6,6,6;,
4;7,7,7,7;,
4;8,8,8,8;,
4;9,9,9,9;,
4;10,10,10,10;,
4;11,11,11,11;,
4;12,12,12,12;,
4;13,13,13,13;,
4;14,14,14,14;,
4;15,15,15,15;,
4;16,16,16,16;,
4;17,17,17,17;,
4;18,18,18,18;,
4;19,19,19,19;,
4;20,20,20,20;,
4;21,21,21,21;,
4;22,22,22,22;,
4;23,23,23,23;,
4;24,24,24,24;,
4;25,25,25,25;,
4;26,26,26,26;,
4;27,27,27,27;,
4;28,28,28,28;,
4;29,29,29,29;,
4;30,30,30,30;,
4;31,31,31,31;,
4;32,32,32,32;,
4;33,33,33,33;,
4;34,34,34,34;,
4;35,35,35,35;,
4;36,36,36,36;,
4;37,37,37,37;,
4;38,38,38,38;,
4;39,39,39,39;;
} // End of Cube_003 normals
MeshTextureCoords { // Cube_003 UV coordinates
160;
0.220805; 0.646713;,
0.220805; 0.401374;,
0.000000; 0.401374;,
0.000000; 0.646713;,
0.245339; 0.293425;,
0.245339; 0.646712;,
0.466143; 0.646713;,
0.466143; 0.293425;,
0.711482; 0.892051;,
0.711482; 0.646713;,
0.490677; 0.646713;,
0.490677; 0.892051;,
0.819431; 0.425908;,
0.466143; 0.425908;,
0.466143; 0.646713;,
0.819431; 0.646713;,
0.490677; 0.646713;,
0.245339; 0.646713;,
0.245339; 1.000000;,
0.490677; 1.000000;,
0.000000; 1.000000;,
0.245339; 1.000000;,
0.245339; 0.646713;,
0.000000; 0.646713;,
0.220805; 0.134446;,
0.220805; 0.063788;,
0.073602; 0.063788;,
0.073602; 0.134446;,
0.782139; 0.842983;,
0.711482; 0.842983;,
0.711482; 0.990186;,
0.782139; 0.990186;,
0.978410; 0.646713;,
0.907753; 0.646713;,
0.907753; 0.793916;,
0.978410; 0.793916;,
0.073602; 0.057900;,
0.002944; 0.057900;,
0.002944; 0.205103;,
0.073602; 0.205103;,
0.466143; 0.026497;,
0.395486; 0.026497;,
0.395486; 0.097154;,
0.466143; 0.097154;,
0.929343; 0.229637;,
1.000000; 0.229637;,
1.000000; 0.158979;,
0.929343; 0.158979;,
0.220805; 0.205103;,
0.220805; 0.134446;,
0.073602; 0.134446;,
0.073602; 0.205103;,
0.852797; 0.842983;,
0.782139; 0.842983;,
0.782139; 0.990186;,
0.852797; 0.990186;,
0.994112; 0.842983;,
0.923454; 0.842983;,
0.923454; 0.990186;,
0.994112; 0.990186;,
0.923454; 0.842983;,
0.852797; 0.842983;,
0.852797; 0.990186;,
0.923454; 0.990186;,
1.000000; 0.011776;,
0.929343; 0.011776;,
0.929343; 0.082434;,
1.000000; 0.082434;,
0.591757; 0.088322;,
0.662414; 0.088322;,
0.662414; 0.017664;,
0.591757; 0.017664;,
0.662414; 0.158979;,
0.662414; 0.088322;,
0.515211; 0.088322;,
0.515211; 0.158979;,
0.858685; 0.229637;,
0.929343; 0.229637;,
0.929343; 0.082434;,
0.858685; 0.082434;,
0.890088; 0.573111;,
0.960746; 0.573111;,
0.960746; 0.425908;,
0.890088; 0.425908;,
0.929343; 0.229637;,
0.858685; 0.229637;,
0.858685; 0.376840;,
0.929343; 0.376840;,
0.585869; 0.017664;,
0.515211; 0.017664;,
0.515211; 0.088322;,
0.585869; 0.088322;,
0.929343; 0.082434;,
0.929343; 0.011776;,
0.858685; 0.011776;,
0.858685; 0.082434;,
0.966634; 0.646713;,
0.966634; 0.576055;,
0.819431; 0.576055;,
0.819431; 0.646713;,
0.515211; 0.158979;,
0.515211; 0.229637;,
0.662414; 0.229637;,
0.662414; 0.158979;,
0.490677; 0.929342;,
0.490677; 1.000000;,
0.637880; 1.000000;,
0.637880; 0.929343;,
0.890088; 0.425908;,
0.819431; 0.425908;,
0.819431; 0.573111;,
0.890088; 0.573111;,
0.269873; 0.026497;,
0.269873; 0.097154;,
0.340530; 0.097154;,
0.340530; 0.026497;,
0.637880; 1.000000;,
0.708538; 1.000000;,
0.708538; 0.929342;,
0.637880; 0.929342;,
0.858685; 0.425908;,
0.858685; 0.229637;,
0.662414; 0.229637;,
0.662414; 0.425908;,
0.466143; 0.425908;,
0.662414; 0.425908;,
0.662414; 0.229637;,
0.466143; 0.229637;,
0.269873; 0.097154;,
0.269873; 0.293425;,
0.279686; 0.283611;,
0.279686; 0.106968;,
0.220805; 0.205103;,
0.024534; 0.205103;,
0.024534; 0.401374;,
0.220805; 0.401374;,
0.662414; 0.229637;,
0.858685; 0.229637;,
0.858685; 0.033366;,
0.662414; 0.033366;,
0.907753; 0.646713;,
0.711482; 0.646713;,
0.711482; 0.842983;,
0.907753; 0.842983;,
0.456330; 0.283611;,
0.456330; 0.106968;,
0.279686; 0.106968;,
0.279686; 0.283611;,
0.466143; 0.097154;,
0.269873; 0.097154;,
0.279686; 0.106968;,
0.456330; 0.106968;,
0.466143; 0.293425;,
0.466143; 0.097154;,
0.456330; 0.106968;,
0.456330; 0.283611;,
0.269873; 0.293425;,
0.466143; 0.293425;,
0.456330; 0.283611;,
0.279686; 0.283611;;
} // End of Cube_003 UV coordinates
MeshMaterialList { // Cube_003 material list
1;
40;
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0;;
Material sheep {
0.624946; 0.615417; 0.651234; 1.000000;;
96.078431;
0.500000; 0.500000; 0.500000;;
0.000000; 0.000000; 0.000000;;
TextureFilename {"pets_pig.png";}
}
} // End of Cube_003 material list
} // End of Cube_003 mesh
} // End of Cube_003
} // End of Root

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

View File

@ -1,4 +1,3 @@
default
central_message
story
xp

View File

@ -1,4 +1,3 @@
default
central_message
story
xp

View File

@ -1,3 +1,52 @@
-- story quests
quests = {}
quests.player_quests = {}
function quests.add_quest(player, quest)
if not quests.player_quests[player] then
quests.player_quests[player] = {}
end
table.insert(quests.player_quests[player], quest)
end
minetest.register_on_dignode(function(pos, oldnode, digger)
if not quests.player_quests[digger:get_player_name()] then
return
end
table.foreach(quests.player_quests[digger:get_player_name()], function(k, v)
if v.quest_type == "dignode" and newnode.name == v.node then
v.progress = v.progress + 1
if v.v.progress > (v.max-1) and v.done == false then
xp.add_xp(player, v.xp)
v.done = true
end
end
end)
end)
minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack, pointed_thing)
if not quests.player_quests[placer:get_player_name()] then
return
end
table.foreach(quests.player_quests[placer:get_player_name()], function(k, v)
if v.quest_type == "placenode" and newnode.name == v.node then
v.progress = v.progress + 1
if v.v.progress > (v.max-1) and v.done == false then
xp.add_xp(player, v.xp)
v.done = true
end
end
end)
end)
minetest.register_on_newplayer(function(player)
quests.player_quests[player:get_player_name()] = {}
end)
-- side quests
minetest.register_node("quests:quest_block", {
description = "Quest Block",
tiles = {"quests_block.png"},

View File

@ -1,3 +1,52 @@
-- story quests
quests = {}
quests.player_quests = {}
function quests.add_quest(player, quest)
if not quests.player_quests[player] then
quests.player_quests[player] = {}
end
table.insert(quests.player_quests[player], quest)
end
minetest.register_on_dignode(function(pos, oldnode, digger)
if not quests.player_quests[digger:get_player_name()] then
return
end
table.foreach(quests.player_quests[digger:get_player_name()], function(k, v)
if v.quest_type == "dignode" and newnode.name == v.node then
v.progress = v.progress + 1
if v.v.progress > (v.max-1) and v.done == false then
xp.add_xp(player, v.xp)
v.done = true
end
end
end)
end)
minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack, pointed_thing)
if not quests.player_quests[placer:get_player_name()] then
return
end
table.foreach(quests.player_quests[placer:get_player_name()], function(k, v)
if v.quest_type == "placenode" and newnode.name == v.node then
v.progress = v.progress + 1
if v.v.progress > (v.max-1) and v.done == false then
xp.add_xp(player, v.xp)
v.done = true
end
end
end)
end)
minetest.register_on_newplayer(function(player)
quests.player_quests[player:get_player_name()] = {}
end)
-- side quests
minetest.register_node("quests:quest_block", {
description = "Quest Block",
tiles = {"quests_block.png"},

View File

@ -39,6 +39,8 @@ end)
story.generator = {}
story.generator.names = {"A", "B", "C", "D", "E", "F", "G"}
story.generator.file_paths = {minetest.get_modpath(minetest.get_current_modname()).."/parts/test"}
story.generator.parts = {}
story.generator.players_storys = {}
function story.generator.gen_next_step(player)
@ -72,7 +74,7 @@ function story.generator.gen_next_step(player)
-- add entity
minetest.add_entity(p, "story:human")
story.generator.players_storys[player:get_player_name()].pos = p
story.generator.players_storys[player:get_player_name()].text = "Human : bla bla bla \nYou : bla bla\nHuman : bla"
story.generator.players_storys[player:get_player_name()].text = story.generator.parts[1]
end
function story.generator.new_player(player)
@ -83,6 +85,14 @@ function story.generator.new_player(player)
story.generator.players_storys[player:get_player_name()].met_characters_num = 0
end
function story.generator.load_parts()
-- testing
local file = io.open(story.generator.file_paths[1], "r")
story.generator.parts[1] = file:read()
io.close(file)
end
function story.generator.gen_dialog(player)
-- coming soon
str = ""
@ -151,3 +161,5 @@ minetest.register_craftitem("story:human", {
return itemstack
end,
})
story.generator.load_parts()

View File

@ -39,6 +39,8 @@ end)
story.generator = {}
story.generator.names = {"A", "B", "C", "D", "E", "F", "G"}
story.generator.file_paths = {minetest.get_modpath(minetest.get_current_modname()).."/parts/test"}
story.generator.parts = {}
story.generator.players_storys = {}
function story.generator.gen_next_step(player)
@ -72,7 +74,7 @@ function story.generator.gen_next_step(player)
-- add entity
minetest.add_entity(p, "story:human")
story.generator.players_storys[player:get_player_name()].pos = p
story.generator.players_storys[player:get_player_name()].text = "Human : bla bla bla \nYou : bla bla\nHuman : bla"
story.generator.players_storys[player:get_player_name()].text = story.generator.parts[1]
end
function story.generator.new_player(player)
@ -83,6 +85,14 @@ function story.generator.new_player(player)
story.generator.players_storys[player:get_player_name()].met_characters_num = 0
end
function story.generator.load_parts()
-- testing
local file = io.open(story.generator.file_paths[1], "r")
story.generator.parts[1] = file:read()
io.close(file)
end
function story.generator.gen_dialog(player)
-- coming soon
str = ""
@ -151,3 +161,5 @@ minetest.register_craftitem("story:human", {
return itemstack
end,
})
story.generator.load_parts()

View File

@ -1,2 +1,3 @@
default
places
quests

View File

@ -1,2 +1,3 @@
default
places
quests

4
mods/story/parts/test Normal file
View File

@ -0,0 +1,4 @@
<name> Hi! I have bad news for you, some angry blocks destroyed your house :(
You : Thats not good...
<name> You should build a new one.
$quest placenode default:wood 99 15

4
mods/story/parts/test~ Normal file
View File

@ -0,0 +1,4 @@
<name> Hi! I have bad news for you, some angry blocks destroyed your house :(
You : Thats not good...
<name> You should build a new one.
$quest placenode default:wood 99 15