Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 71433f5

Browse files
committedMay 28, 2024
some details
1 parent 5336357 commit 71433f5

12 files changed

+271
-69
lines changed
 

‎game/items/certificate.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
item.draggable("shape")

‎game/items/croco.svg

+52
Loading

‎game/items/croco.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
item.draggable("shape")

‎game/items/invitation.svg

+11-11
Loading

‎game/items/invitation2.svg

+22-22
Loading

‎game/places/kitchen.svg

+9-9
Loading

‎game/places/linas_house.svg

+22-15
Loading

‎game/places/linas_house.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ place.get('bg_lamp').onClick(() => {
1313
void game.getSound("light_switch").play();
1414
})
1515

16-
1716
if (game.state.hadLastDialog) {
1817
place.get('books').onClick(() => {
1918
window.open("https://youtu.be/aXByu2iraEA?si=41pXC-2rTudy681J", "_blank");
2019
})
2120
}
2221

22+
game.spawnItemOnce("croco", place.get("couch_spot"));
23+
2324
const itemsInInventory = await game.controls['inventory'].get('backpack_with_inventory').anchoredItemsRecursive();
2425
const party1 = itemsInInventory.findIndex(item => item.itemName == "invitation") != -1;
2526
const party2 = itemsInInventory.findIndex(item => item.itemName == "invitation2") != -1;
@@ -34,6 +35,7 @@ if (!party1 && !party2) {
3435
place.get('bg_drinks').hide()
3536
place.get('bg_party').hide()
3637
place.get('bg_party2').hide()
38+
place.get('bg_discoball').hide()
3739

3840
const dialog = place.get("dialog_box_lina_no_party").dialog("right");
3941
(async () => {
@@ -156,6 +158,7 @@ if (!party1 && !party2) {
156158
} else if (party1) {
157159
place.get('bg_drinks').hide();
158160
place.get('bg_party2').hide();
161+
place.get('bg_discoball').hide();
159162
(async () => {
160163
// start dialog with lina when the party is happening: give her the cake
161164
const dialog = place.get("dialog_box_lina").dialog("right");

‎game/places/room.svg

+12-4
Loading

‎game/places/sidewalk.svg

+15-7
Loading

‎game/places/streetlamp.svg

+118
Loading

‎game/places/streetlamp.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
place.get("side").onClick(() => {
2+
void game.getSound("step_back").play();
3+
game.navigate("frontdoor_supermarket");
4+
})

0 commit comments

Comments
 (0)
Failed to load comments.