Skip to content

Commit a16d308

Browse files
JoLoZJJL772
authored andcommitted
Added game system
1 parent 7ea62b8 commit a16d308

File tree

12 files changed

+57
-247
lines changed

12 files changed

+57
-247
lines changed

docs/test/status/deprecated.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Deprecated
3+
deprecated: true
4+
---
5+
6+
# Pretty sure you shouldn't use this anymore

docs/test/status/experimental.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Experimental
3+
experimental: true
4+
---
5+
6+
# Maybe don't use this

docs/test/status/feature-flags-all.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Feature flags every game has
3+
features:
4+
- MOD_PORTAL2
5+
---
6+
7+
# It should be supported

docs/test/status/feature-flags.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Feature flags
3+
features:
4+
- VSCRIPT
5+
- MOD_PORTAL2
6+
---
7+
8+
# Maybe it's supported
9+
10+
Only P2CE and Revo should support this feature.

docs/test/status/meta.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"title": "Status tests"
3+
}

games/momentum/meta.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "Momentum Mod",
3+
"features": ["PORTALS", "MOD_PORTAL2"]
4+
}

games/p2ce/meta.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Portal 2: Community Edition",
3+
"features": ["VSCRIPT", "PORTALS", "MOD_PORTAL2"]
4+
}
5+

games/revolution/meta.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "Portal: Revolution",
3+
"features": ["VSCRIPT", "PORTALS", "MOD_PORTAL2"]
4+
}

package-lock.json

Lines changed: 1 addition & 236 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

run.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
REM Basic getting started script for the Wiki generator
33

44
REM Ensure we have the generator
5-
IF NOT EXIST generator\.git (
6-
echo Cloning submodule generator...
7-
git submodule init generator
8-
git submodule update generator
5+
IF NOT EXIST site\.git (
6+
echo Cloning submodule site...
7+
git submodule init site
8+
git submodule update site
99
)
1010

11-
cd generator
11+
cd site
1212

1313
REM Ensure we have our dependencies
1414
IF NOT EXIST node_modules (

run.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# Basic getting started script for the Wiki generator
33

44
# Ensure we have the generator
5-
if [ ! -f "generator/.git" ]; then
6-
echo "Cloning submodule generator..."
7-
git submodule init generator
8-
git submodule update generator
5+
if [ ! -f "site/.git" ]; then
6+
echo "Cloning submodule site..."
7+
git submodule init site
8+
git submodule update site
99
fi
1010

11-
cd generator
11+
cd site
1212

1313
# Ensure we have our dependencies
1414
if [ ! -d "node_modules" ]; then

0 commit comments

Comments
 (0)