Skip to content

Commit 0cbe15e

Browse files
committed
ponder: update stargate scene, add info about crystal usage
1 parent 6fb89e0 commit 0cbe15e

2 files changed

Lines changed: 54 additions & 12 deletions

File tree

kubejs/client_scripts/ponder/main.js

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,44 @@
2323
return result;
2424
}
2525

26+
let gtMachines = getGregtechMachines("multiblock");
27+
let stargateBlocks = [
28+
"sgjourney:classic_stargate",
29+
"sgjourney:classic_stargate_base_block",
30+
"sgjourney:classic_stargate_chevron_block",
31+
"sgjourney:classic_stargate_ring_block",
32+
"sgjourney:crystal_interface",
33+
"sgjourney:classic_dhd",
34+
];
35+
2636
Ponder.tags((event) => {
2737
event.createTag(
2838
"kubejs:gtceu",
2939
"gtceu:electric_blast_furnace",
3040
"GregTech Multiblocks",
3141
"Informations on how to use GregTech Multiblocks",
32-
getGregtechMachines("multiblock")
42+
gtMachines
43+
);
44+
45+
event.createTag(
46+
"kubejs:stargate",
47+
"Stargate Travel",
48+
"Informations on how to use the Stargates of this modpack",
49+
stargateBlocks
3350
);
3451
});
3552

3653
Ponder.registry((event) => {
3754
event
38-
.create([
39-
"sgjourney:classic_stargate_base_block",
40-
"sgjourney:classic_stargate_chevron_block",
41-
"sgjourney:classic_stargate_ring_block",
42-
"sgjourney:crystal_interface",
43-
"sgjourney:classic_dhd",
44-
])
55+
.create(stargateBlocks)
4556
.scene(
4657
"classic_stargate",
4758
"Classic Stargate",
4859
ponderScenes["classic_stargate"]
4960
);
5061

5162
event
52-
.create(getGregtechMachines("multiblock"))
63+
.create(gtMachines)
5364
.scene(
5465
"multiblock_introduction",
5566
"Multiblock Introduction",

kubejs/client_scripts/ponder/scenes/classic_stargate.js

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,42 @@
135135
},
136136
]);
137137

138-
scene.idle(40);
139-
scene.rotateCameraY(-90);
140138
scene.idle(60);
141139
scene.addKeyframe();
142140

141+
scene
142+
.overlay()
143+
.showText(80)
144+
.text(
145+
"To dial and enter the Stargate you need a §dAbydos §dInscribed §dCoordinate §dCrystal§r. Sneak and right-click it while looking at the air to absorbe its knowledge."
146+
);
147+
148+
scene.idle(100);
149+
150+
scene
151+
.overlay()
152+
.showText(80)
153+
.text(
154+
"Then right-click the base block of the stargate with the crystal be allowed to enter the dimension."
155+
);
156+
157+
scene
158+
.overlay()
159+
.showControls(
160+
util.vector().blockSurface([4, 1, 4], Direction.UP),
161+
PonderPointing.DOWN,
162+
80
163+
)
164+
.withItem("kubejs:abydos_coordinate_crystal")
165+
.rightClick();
166+
167+
scene.idle(100);
168+
169+
scene.idle(20);
170+
scene.addKeyframe();
171+
scene.rotateCameraY(-90);
172+
scene.idle(20);
173+
143174
scene
144175
.overlay()
145176
.showText(60)
@@ -295,7 +326,7 @@
295326
.overlay()
296327
.showText(120)
297328
.text(
298-
"Right-click the §eDHD§r and start dialing in the address of your destination."
329+
"Right-click the §eDHD§r and start dialing in the address you got when you absorbed the crystal knowledge."
299330
);
300331

301332
scene.idle(20);

0 commit comments

Comments
 (0)