Skip to content

Commit

Permalink
Use gravity flag on leg trackers, day 5 tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdtredinnick committed Nov 22, 2024
1 parent 9712439 commit 5868b78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Assets/_Assets/Data/Scripts/Day5/Day5.leaf
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ $call CompleteGoal("Day5_rookery")

$call Wait(1)

$call LegTracker1->Activate()
$call LegTracker2->Activate()
$call LegTracker3->Activate()

{@Player} Wow… it’s so quiet here. $[Day5/Rookery/Player_1]
{@Margo} Looks like some of our Adelie colony has already headed out to sea. $[Day5/Rookery/5rm01]
{@Margo} Luckily, your Fliptastic Five is still here! $[Day5/Rookery/5rm02]
Expand All @@ -83,13 +87,9 @@ $call Wait(1)
{@Margo} Hold the penguin still with one hand. Then snap the trackers onto their legs. $[Day5/Rookery/5rm09]
{@Player} Got it. $[Day5/Rookery/Player_4]

$call LegTracker1->Activate()
$call LegTracker2->Activate()
$call LegTracker3->Activate()

$call ClearGoals()

$call CreateGoal("Day5_band", Band 3 Parent Penguins)
$call CreateGoal("Day5_band", Place 3 Leg Trackers on Banded Penguins)

:: OnSocketedLegTracker
@trigger ObjectSocketed
Expand Down Expand Up @@ -143,7 +143,7 @@ $call SetWarpGroupActive(Rookery, false)

{@Margo} Almost done. Your last task of the season is to do one more scan of the chicks and adults in the Rookery. $[Day5/Bluff/5bm03]

$call CreateGoal("Day5_count", Count Penguins)
$call CreateGoal("day5_count", Count Penguins)

$call PenguinCount->ActivateCount(12)

Expand Down
4 changes: 4 additions & 0 deletions Assets/_Assets/Prefabs/Penguins/Adelie.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -2322,6 +2322,10 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 7426270152890565951}
m_Modifications:
- target: {fileID: 2295772461383459147, guid: ed088ff268e6c47deb00046936bc3f86, type: 3}
propertyPath: m_UseGravity
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2727433517442618833, guid: ed088ff268e6c47deb00046936bc3f86, type: 3}
propertyPath: m_Enabled
value: 1
Expand Down

0 comments on commit 5868b78

Please sign in to comment.