Start making serializable components
This commit is contained in:
+4
-28
@@ -40,45 +40,21 @@ export function start_game(world: ClientWorld) {
|
||||
world.add_entity(create_crop_entity(
|
||||
0,
|
||||
0,
|
||||
new Crop(5, [4, 4, 4, 4], [
|
||||
"bworld:potato_seeds",
|
||||
"bworld:potato_stage_1",
|
||||
"bworld:potato_stage_2",
|
||||
"bworld:potato_stage_3",
|
||||
"bworld:potato_stage_4",
|
||||
], "bworld:potato"),
|
||||
new Crop("bworld:potato"),
|
||||
));
|
||||
world.add_entity(create_crop_entity(
|
||||
32,
|
||||
0,
|
||||
new Crop(5, [5, 5, 5, 5], [
|
||||
"bworld:carrot_seeds",
|
||||
"bworld:carrot_stage_1",
|
||||
"bworld:carrot_stage_2",
|
||||
"bworld:carrot_stage_3",
|
||||
"bworld:carrot_stage_4",
|
||||
], "bworld:carrot"),
|
||||
new Crop("bworld:carrot"),
|
||||
));
|
||||
world.add_entity(create_crop_entity(
|
||||
0,
|
||||
32,
|
||||
new Crop(5, [10, 10, 10, 10], [
|
||||
"bworld:pumpkin_seeds",
|
||||
"bworld:pumpkin_stage_1",
|
||||
"bworld:pumpkin_stage_2",
|
||||
"bworld:pumpkin_stage_3",
|
||||
"bworld:pumpkin_stage_4",
|
||||
], "bworld:pumpkin"),
|
||||
new Crop("bworld:pumpkin"),
|
||||
));
|
||||
world.add_entity(create_crop_entity(
|
||||
32,
|
||||
32,
|
||||
new Crop(5, [7, 7, 7, 7], [
|
||||
"bworld:tomato_seeds",
|
||||
"bworld:tomato_stage_1",
|
||||
"bworld:tomato_stage_2",
|
||||
"bworld:tomato_stage_3",
|
||||
"bworld:tomato_stage_4",
|
||||
], "bworld:tomato"),
|
||||
new Crop("bworld:tomato"),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user