-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clone(rpg): clone Epitech private repository
- Loading branch information
BuildTools
committed
Jun 20, 2024
1 parent
fb4157d
commit 730c9c9
Showing
612 changed files
with
18,049 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Paint_au_chocolat | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'ga-ignore-**' | ||
pull_request: | ||
branches-ignore: | ||
- 'ga-ignore-**' | ||
|
||
env: | ||
EXECUTABLES: "my_rpg" | ||
|
||
jobs: | ||
check_coding_style: | ||
name: Check if there are coding style errors in the repository (stop if any). | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/epitech/coding-style-checker:latest | ||
|
||
steps: | ||
- name: Check the content of the current repository. | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check coding-style-report.log and display errors (if any). | ||
run: | | ||
check.sh $(pwd) $(pwd) | ||
SUCCESS=0 | ||
while read line; do | ||
filename=$(echo "$line" | awk -F ':' '{print $1}') | ||
line_number=$(echo "$line" | awk -F ':' '{print $2}') | ||
type_error=$(echo "$line" | awk -F ':' '{print $3}') | ||
error=$(echo "$line" | awk -F ':' '{print $4}') | ||
title=$(echo "$type_error coding style error") | ||
echo ::error file=$filename,line=$line_number,title=$title::$error | ||
SUCCESS=1 | ||
done < coding-style-reports.log | ||
exit $SUCCESS | ||
check_program_compilation: | ||
name: Check if the program compile (stop if not). | ||
needs: check_coding_style | ||
runs-on: ubuntu-latest | ||
container: epitechcontent/epitest-docker | ||
|
||
steps: | ||
- name: Check the content of the current repository. | ||
uses: actions/checkout@v4 | ||
|
||
- name: Launch make at the root of the repository (have a 2 minutes timeout). | ||
run: make | ||
timeout-minutes: 2 | ||
|
||
- name: Clean repository with "make clean" at the root of the repository. | ||
run: make clean | ||
|
||
- name: Verify that each file specified in the EXECUTABLES environment variable exists and is executable. | ||
run: | | ||
IFS=',' read -ra EXECUTABLES_ARRAY <<< "$EXECUTABLES" | ||
for executable in "${EXECUTABLES_ARRAY[@]}"; do | ||
if [ ! -x "$executable" ]; then | ||
echo "Error: $executable does not exist or is not executable." | ||
exit 1 | ||
fi | ||
done | ||
run_tests: | ||
name: Launch "make tests_run" at the root of the repository. | ||
needs: check_program_compilation | ||
runs-on: ubuntu-latest | ||
container: epitechcontent/epitest-docker | ||
|
||
steps: | ||
- name: Check the content of the current repository. | ||
uses: actions/checkout@v4 | ||
- name: Launch "make test_run" | ||
run: make tests_run | ||
timeout-minutes: 2 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
items: | ||
# Food | ||
- 0: | ||
name: Sushi | ||
description: Fresh sushi | ||
sprite: assets/items/food/sushi.png | ||
type: FOOD | ||
heal: 6 | ||
max_stack: 8 | ||
|
||
- 1: | ||
name: Moisted Sushi | ||
description: Expiration date 24/05/2024 | ||
sprite: assets/items/food/moisted_sushi.png | ||
type: FOOD | ||
heal: -6 | ||
max_stack: 8 | ||
|
||
- 2: | ||
name: Beef | ||
description: Good rib steak | ||
sprite: assets/items/food/beef.png | ||
type: FOOD | ||
heal: 10 | ||
max_stack: 4 | ||
|
||
- 3: | ||
name: Calamari | ||
description: Fried calamari | ||
sprite: assets/items/food/calamari.png | ||
type: FOOD | ||
heal: 8 | ||
max_stack: 4 | ||
|
||
- 4: | ||
name: Fish | ||
description: Freshly fished fish | ||
sprite: assets/items/food/fish.png | ||
type: FOOD | ||
heal: 4 | ||
max_stack: 12 | ||
|
||
- 5: | ||
name: Fortune Cookie | ||
description: Cookie with fortune | ||
sprite: assets/items/food/fortune_cookie.png | ||
type: FOOD | ||
heal: 12 | ||
max_stack: 1 | ||
|
||
- 6: | ||
name: Honey | ||
description: Sweet honey | ||
sprite: assets/items/food/honey.png | ||
type: FOOD | ||
heal: 6 | ||
max_stack: 4 | ||
|
||
- 7: | ||
name: Noodle | ||
description: Bowl of noodles | ||
sprite: assets/items/food/noodle.png | ||
type: FOOD | ||
heal: 10 | ||
max_stack: 1 | ||
|
||
- 8: | ||
name: Nut | ||
description: haha funi xd | ||
sprite: assets/items/food/nut.png | ||
type: FOOD | ||
heal: 2 | ||
max_stack: 16 | ||
|
||
- 9: | ||
name: Octopus | ||
description: Fresh octopus | ||
sprite: assets/items/food/octopus.png | ||
type: FOOD | ||
heal: 6 | ||
max_stack: 8 | ||
|
||
- 10: | ||
name: Onigiri | ||
description: Rice ball | ||
sprite: assets/items/food/onigiri.png | ||
type: FOOD | ||
heal: 4 | ||
max_stack: 16 | ||
|
||
- 11: | ||
name: Seed | ||
description: Plant seed | ||
sprite: assets/items/food/seed.png | ||
type: FOOD | ||
heal: 2 | ||
max_stack: 16 | ||
|
||
- 12: | ||
name: Big Seed | ||
description: Large seed | ||
sprite: assets/items/food/big_seed.png | ||
type: FOOD | ||
heal: 4 | ||
max_stack: 12 | ||
|
||
- 13: | ||
name: Large Seed | ||
description: Very large seed | ||
sprite: assets/items/food/large_seed.png | ||
type: FOOD | ||
heal: 6 | ||
max_stack: 8 | ||
|
||
- 14: | ||
name: Shrimp | ||
description: Shrimp (with shell) | ||
sprite: assets/items/food/shrimp.png | ||
type: FOOD | ||
heal: 2 | ||
max_stack: 16 | ||
|
||
- 15: | ||
name: Tea Leaf | ||
description: Fresh tea leaves | ||
sprite: assets/items/food/tea_leaf.png | ||
type: FOOD | ||
heal: 1 | ||
max_stack: 16 | ||
|
||
- 16: | ||
name: Yakitori | ||
description: Grilled chicken | ||
sprite: assets/items/food/yakitori.png | ||
type: FOOD | ||
heal: 12 | ||
max_stack: 4 | ||
|
||
# Weapons | ||
- 17: | ||
name: Axe | ||
description: Sharp and powerful | ||
sprite: assets/items/weapons/axe.png | ||
type: WEAPON | ||
damage: 15 | ||
damage_critical: 22 | ||
durability: 160 | ||
|
||
- 18: | ||
name: Sword | ||
description: A sharp blade | ||
sprite: assets/items/weapons/sword.png | ||
type: WEAPON | ||
damage: 22 | ||
damage_critical: 34 | ||
durability: 200 | ||
|
||
- 19: | ||
name: Fork | ||
description: For eating... or fighting | ||
sprite: assets/items/weapons/fork.png | ||
type: WEAPON | ||
damage: 10 | ||
damage_critical: 14 | ||
durability: 20 | ||
|
||
- 20: | ||
name: Hammer | ||
description: Heavy and strong | ||
sprite: assets/items/weapons/hammer.png | ||
type: WEAPON | ||
damage: 14 | ||
damage_critical: 36 | ||
durability: 120 | ||
|
||
- 21: | ||
name: Katana | ||
description: Swift and deadly | ||
sprite: assets/items/weapons/katana.png | ||
type: WEAPON | ||
damage: 36 | ||
damage_critical: 54 | ||
durability: 30 | ||
|
||
- 22: | ||
name: Pickaxe | ||
description: Good for mining and fighting | ||
sprite: assets/items/weapons/pickaxe.png | ||
type: WEAPON | ||
damage: 8 | ||
damage_critical: 18 | ||
durability: 240 | ||
|
||
- 23: | ||
name: Stick | ||
description: Simple but effective | ||
sprite: assets/items/weapons/stick.png | ||
type: WEAPON | ||
damage: 1 | ||
damage_critical: 3 | ||
durability: 8 | ||
|
||
# Potions | ||
- 24: | ||
name: Empty potion | ||
description: There's nothing in here | ||
sprite: assets/items/potions/empty_pot.png | ||
type: POTION | ||
action: | ||
|
||
- 25: | ||
name: Heal potion | ||
description: Gives you full health instantly | ||
sprite: assets/items/potions/heal_pot.png | ||
type: POTION | ||
action: hp max | ||
|
||
- 26: | ||
name: Speed potion | ||
description: Makes you walk faster for 30 seconds | ||
sprite: assets/items/potions/speed_pot.png | ||
type: POTION | ||
action: effect speed 30 | ||
|
||
- 27: | ||
name: Strength potion | ||
description: Doubles your damages for 30 seconds | ||
sprite: assets/items/potions/strength_pot.png | ||
type: POTION | ||
action: effect strength 30 |
Oops, something went wrong.