Skip to content

Commit

Permalink
Update pxt.json, costume.md, costume_activity1.md, costume_activity2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neonerz committed Sep 23, 2024
1 parent a04e163 commit c08ec95
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 52 deletions.
58 changes: 29 additions & 29 deletions costume.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Choose the costumes

## Step 1
Time to pick out some costumes! Sequence together the different ``||hoc:head, body, and legs||`` costumes you want the Agent to change into during the show.

#### ~ tutorialhint
You can use a ``||loops:for loop||`` instead of multiple blocks to keep a specific costume on for longer.


```ghost
hoc.costume()
for (let i = 0; i < 5; i++) {}
```
```template
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
for (let i = 0; i < 3; i++) {
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
}
```

```package
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/costume#v0.0.113
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Choose the costumes

## Step 1
Time to pick out some costumes! Sequence together the different ``||hoc:head, body, and legs||`` costumes you want the Agent to change into during the show.

#### ~ tutorialhint
You can use a ``||loops:for loop||`` instead of multiple blocks to keep a specific costume on for longer.


```ghost
hoc.costume()
for (let i = 0; i < 5; i++) {}
```
```template
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
for (let i = 0; i < 3; i++) {
hoc.costume(HeadWear.Knight_Helmet, MidWear.Construction_Shirt, LowerWear.Swim_Shorts)
}
```

```package
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/costume#v0.0.113
```
44 changes: 22 additions & 22 deletions costume_activity1.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Choose the costumes

## Step 1
Look at the lock to see what numbers it's displaying and then use the closet to find which costume pieces matche that number. Once you've matched them up, use the ``||hoc:head, body, and legs||`` block to open the lock.

#### ~ tutorialhint
The lock needs the ``||agent:Knight||`` costume to open. Set the head, body and legs to use the ``||agent:Knight||`` items.


```ghost
hoc._costume_activity(HeadWear_Activity.Knight_Helmet, MidWear_Activity.Knight_Top, LowerWear_Activity.Knight_Legs)
```
```template
\\
```

```package
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/costume#v0.0.113
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Choose the costumes

## Step 1
Look at the lock to see what numbers it's displaying and then use the closet to find which costume pieces matche that number. Once you've matched them up, use the ``||hoc:head, body, and legs||`` block to open the lock.

#### ~ tutorialhint
The lock needs the ``||agent:Knight||`` costume to open. Set the head, body and legs to use the ``||agent:Knight||`` items.


```ghost
hoc._costume_activity(HeadWear_Activity.Knight_Helmet, MidWear_Activity.Knight_Top, LowerWear_Activity.Knight_Legs)
```
```template
\\
```

```package
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/costume#v0.0.113
```
20 changes: 20 additions & 0 deletions costume_activity2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Choose the costumes

## Step 1
It looks like there's a second lock made of copper. You'll need to figure out which costume pieces it requires.


```ghost
hoc._costume_activity(HeadWear_Activity.Knight_Helmet, MidWear_Activity.Knight_Top, LowerWear_Activity.Knight_Legs)
```
```template
\\
```

```package
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/costume#v0.0.113
```
6 changes: 5 additions & 1 deletion pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
"costume_python_activity2.md",
"costume_python_activity3.md",
"dance_activity.md",
"dance_python_activity2.md"
"dance_python_activity2.md",
"costume.md",
"costume_activity1.md",
"costume_activity2.md",
"costume_activity3.md"
],
"testFiles": [],
"public": true,
Expand Down

0 comments on commit c08ec95

Please sign in to comment.