-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Supporft for multiple games WIP. * pylint updates. * Support for multiple games WIP. * Requirements update. * DEM multiplier for FS25. * Dev scripts update. * Bot updates for FS25. * Actions update.
- Loading branch information
Showing
21 changed files
with
696 additions
and
259 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Tests | |
on: | ||
push: | ||
branches: | ||
- main | ||
- '**' | ||
|
||
jobs: | ||
check: | ||
|
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,24 @@ | ||
name: Publish Python Package to PyPI | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install build twine | ||
- name: Build package | ||
run: | | ||
python -m build | ||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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
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
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
File renamed without changes.
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,96 @@ | ||
[ | ||
{ | ||
"name": "animalMud", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "asphalt", | ||
"count": 4, | ||
"tags": { "highway": ["motorway", "trunk", "primary"] }, | ||
"width": 8, | ||
"color": [70, 70, 70] | ||
}, | ||
{ | ||
"name": "cobbleStone", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "concrete", | ||
"count": 4, | ||
"tags": { "building": "true" }, | ||
"width": 8, | ||
"color": [130, 130, 130] | ||
}, | ||
{ | ||
"name": "concreteRubble", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "concreteTiles", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "dirt", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "dirtDark", | ||
"count": 2, | ||
"tags": { "highway": ["unclassified", "residential", "track"] }, | ||
"width": 2, | ||
"color": [33, 67, 101] | ||
}, | ||
{ | ||
"name": "forestGround", | ||
"count": 4, | ||
"tags": { "landuse": "farmland" }, | ||
"color": [47, 107, 85] | ||
}, | ||
{ | ||
"name": "forestGroundLeaves", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "grass", | ||
"count": 4, | ||
"tags": { "natural": "grassland" }, | ||
"color": [34, 255, 34] | ||
}, | ||
{ | ||
"name": "grassDirt", | ||
"count": 4, | ||
"tags": { "natural": ["wood", "tree_row"] }, | ||
"width": 2, | ||
"color": [0, 252, 124] | ||
}, | ||
{ | ||
"name": "gravel", | ||
"count": 4, | ||
"tags": { "highway": ["secondary", "tertiary", "road"] }, | ||
"width": 4, | ||
"color": [140, 180, 210] | ||
}, | ||
{ | ||
"name": "groundBricks", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "mountainRock", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "mountainRockDark", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "riverMud", | ||
"count": 4 | ||
}, | ||
{ | ||
"name": "waterPuddle", | ||
"count": 0, | ||
"tags": { "natural": "water", "waterway": "true" }, | ||
"width": 10, | ||
"color": [255, 20, 20] | ||
} | ||
] |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
opencv-python | ||
osmnx | ||
osmnx<2.0.0 | ||
rasterio | ||
python_dotenv | ||
aiogram==2.25.1 | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
opencv-python | ||
osmnx | ||
osmnx<2.0.0 | ||
rasterio | ||
python_dotenv | ||
aiogram==2.25.1 | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
opencv-python | ||
osmnx | ||
osmnx<2.0.0 | ||
rasterio | ||
streamlit | ||
tqdm |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# pylint: disable=missing-module-docstring | ||
from maps4fs.generator.game import Game | ||
from maps4fs.generator.map import Map | ||
from maps4fs.logger import Logger |
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
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
Oops, something went wrong.