diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..fdeec37 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ +## 📝Description +[Description Here] + +## 🔧Changes +- Change 1 +- Change 2 +- Change 3 + +## 👣Next steps +No further steps are necessary \ No newline at end of file diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..dcc0e78 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,21 @@ +name: Check + +on: + push: + branches: [main] + pull_request: + branches: [main, development] + +jobs: + + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Aftman + uses: ok-nick/setup-aftman@v0.4.2 + + - name: Lint + run: | + selene ./src/StateMachine \ No newline at end of file diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 0000000..89ad0a7 --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,25 @@ +name: Docs + +on: + push: + branches: [main] + +jobs: + publish: + name: Public and Deploy the docs of our project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm i -g moonwave@latest + - name: Publish + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + git config --global user.email "support+actions@github.com" + git config --global user.name "github-actions-bot" + moonwave build --publish --code RoQuest + env: + + GITHUB_TOKEN: ${{ secrets.MOONWAVE_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/wally.yaml b/.github/workflows/wally.yaml new file mode 100644 index 0000000..9982ff7 --- /dev/null +++ b/.github/workflows/wally.yaml @@ -0,0 +1,33 @@ +name: Wally + +on: + push: + branches: [main] + +jobs: + + python: + name: Python + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + + publish: + name: Publish to Wally + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Aftman + uses: ok-nick/setup-aftman@v0.4.2 + + - name: Publish + run: | + wally login --token ${{ secrets.MOONWAVE_TOKEN }} + wally publish + + env: + GITHUB_TOKEN: ${{ secrets.MOONWAVE_TOKEN }} + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3274d6e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Project place file +/RoQuest.rbxlx + +# Roblox Studio lock files +/*.rbxlx.lock +/*.rbxl.lock \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..d5993b7 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# RoQuest +Generated by [Rojo](https://github.com/rojo-rbx/rojo) 6.2.0. + +## Getting Started +To build the place from scratch, use: + +```bash +rojo build -o "RoQuest.rbxlx" +``` + +Next, open `RoQuest.rbxlx` in Roblox Studio and start the Rojo server: + +```bash +rojo serve +``` + +For more help, check out [the Rojo documentation](https://rojo.space/docs). \ No newline at end of file diff --git a/aftman.toml b/aftman.toml index 1555695..4520609 100644 --- a/aftman.toml +++ b/aftman.toml @@ -3,4 +3,6 @@ # To add a new tool, add an entry to this table. [tools] -rojo = "rojo-rbx/rojo@6.2.0" \ No newline at end of file +rojo = "rojo-rbx/rojo@6.2.0" +selene = "Kampfkarren/selene@0.26.1" +wally = "UpliftGames/wally@0.3.2" \ No newline at end of file diff --git a/classes.txt b/classes.txt index c96446a..0bb482c 100644 --- a/classes.txt +++ b/classes.txt @@ -75,7 +75,6 @@ This file contains the structure for our classes and enums - Remove: (amount: number) -> () -- Removes the current progress by the amount - Set: (newAmount: number) -> () -- Sets the current progress to this amount - IsCompleted: () -> boolean -- Returns whether this objective has been completed or not - - Objective: Objective -- The objective static data for this object - _CheckProgress: () -> () -- Checks the progress of our quest objective and sets completed to true if needed - _GetSavingFormat: () -> {[string]: any} -- Returns a hash map with all the data required to save in a data store diff --git a/default.project.json b/default.project.json new file mode 100644 index 0000000..2914fca --- /dev/null +++ b/default.project.json @@ -0,0 +1,29 @@ +{ + "name": "RoQuest", + "tree": { + "$className": "DataModel", + + "RoQuest":{ + "$path": "RoQuest" + }, + + "ReplicatedStorage": { + "$path": "ReplicatedStorage", + "RoQuest":{ + "$path": "RoQuest" + } + }, + + "ServerScriptService": { + "Server": { + "$path": "src/ServerScriptService" + } + }, + + "StarterPlayer": { + "StarterPlayerScripts": { + "$path": "src/StarterPlayerScripts" + } + } + } +} \ No newline at end of file diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..1f1e170 --- /dev/null +++ b/selene.toml @@ -0,0 +1 @@ +std = "roblox" \ No newline at end of file diff --git a/wally.toml b/wally.toml new file mode 100644 index 0000000..05dbb6d --- /dev/null +++ b/wally.toml @@ -0,0 +1,16 @@ +[package] +name = "prooheckcp/RoQuest" +description = "" +version = "0.0.1" +license = "MIT" +registry = "https://github.com/UpliftGames/wally-index" +realm = "shared" +authors = ["Prooheckcp"] +exclude = ["**"] +include = [ + "default.project.json", + "RoQuest", + "RoQuest/*", + "wally.lock", + "wally.toml", +]