Skip to content

Commit a814715

Browse files
committed
Merge branch 'mergeCommunityMaps'
2 parents 4adaf45 + 1066ba1 commit a814715

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1577
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
.*
3+
Gemfile.lock

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "assets/gitzip"]
2+
path = assets/gitzip
3+
url = https://github.com/KinoLien/gitzip.git

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "github-pages", group: :jekyll_plugins

README.md

-1
This file was deleted.

_backgrounds/bg001.webp

149 KB
Binary file not shown.

_backgrounds/bg002.webp

312 KB
Binary file not shown.

_backgrounds/bg003.webp

248 KB
Binary file not shown.

_backgrounds/bg004.webp

339 KB
Binary file not shown.

_backgrounds/bg005.webp

402 KB
Binary file not shown.

_backgrounds/bg006.webp

68.9 KB
Binary file not shown.

_backgrounds/bg007.webp

165 KB
Binary file not shown.

_backgrounds/bg008.webp

89.5 KB
Binary file not shown.

_backgrounds/bg009.webp

114 KB
Binary file not shown.

_backgrounds/bg101.webp

400 KB
Binary file not shown.

_backgrounds/bg102.webp

107 KB
Binary file not shown.

_backgrounds/bg103.webp

209 KB
Binary file not shown.

_backgrounds/bg104.webp

281 KB
Binary file not shown.

_backgrounds/bg105.webp

238 KB
Binary file not shown.

_backgrounds/bg106.webp

231 KB
Binary file not shown.

_backgrounds/bg107.webp

354 KB
Binary file not shown.

_backgrounds/bg108.webp

291 KB
Binary file not shown.

_backgrounds/bg109.webp

248 KB
Binary file not shown.

_backgrounds/bg901.webp

263 KB
Binary file not shown.

_config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
collections:
2+
maps:
3+
output: true
4+
permalink: /:name
5+
backgrounds:
6+
output: false
7+
8+
defaults:
9+
-
10+
scope:
11+
path: ""
12+
type: "maps"
13+
values:
14+
layout: "maps"
15+
-
16+
scope:
17+
path: "gitzip/js"
18+
values:
19+
js: true
20+
21+
baseurl: "/CommunityMaps"

_data/backgrounds.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
- file: bg001
2+
name: Yoshi's Island
3+
download: false
4+
- file: bg002
5+
name: Mario Circuit
6+
download: false
7+
- file: bg003
8+
name: Peach's Castle
9+
download: false
10+
- file: bg004
11+
name: Mario Stadium
12+
download: false
13+
- file: bg005
14+
name: Delfino Plaza
15+
download: false
16+
- file: bg006
17+
name: Super Mario Bros.
18+
download: false
19+
- file: bg007
20+
name: Bowser's Castle
21+
download: false
22+
- file: bg008
23+
name: Starship Mario
24+
download: false
25+
- file: bg009
26+
name: Good Egg Galaxy
27+
download: false
28+
- file: bg101
29+
name: Castle Trodain
30+
download: false
31+
- file: bg102
32+
name: Ghost Ship
33+
download: false
34+
- file: bg103
35+
name: Colossus
36+
download: false
37+
- file: bg104
38+
name: Mt Magmageddon
39+
download: false
40+
- file: bg105
41+
name: Slimenia
42+
download: false
43+
- file: bg106
44+
name: Robbin' Hood Ruins
45+
download: false
46+
- file: bg107
47+
name: Alefgard
48+
download: false
49+
- file: bg108
50+
name: Alltrades Abbey
51+
download: false
52+
- file: bg109
53+
name: The Observatory
54+
download: false
55+
- file: bg901
56+
name: Tutorial
57+
download: false

_includes/getDirectory.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{%- assign gd_reverse_path_array = include.file_path | split: "/" | reverse -%}
2+
{%- assign gd_path_array_last_item = gd_reverse_path_array.first | append: "/" -%}
3+
{%- assign gd_reverse_path_array_without_first_item = gd_reverse_path_array | join: "/" | remove_first: gd_path_array_last_item | split: "/" -%}
4+
{%- assign gd_path_array_without_last_item = gd_reverse_path_array_without_first_item | reverse -%}
5+
{%- assign gd_directory_name = gd_path_array_without_last_item.last "/" -%}
6+
{%- assign gd_directory_path = gd_path_array_without_last_item | join: "/" -%}
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{%- assign gpffd_directory_name = include.directory_name -%}
2+
{%- assign gpffd_maps_collection = site.collections | where: "label", "maps" | first -%}
3+
{%- for gpffd_item in gpffd_maps_collection.files -%}
4+
{%- if gpffd_item.extname == ".png" or gpffd_item.extname == ".webp" -%}
5+
{%- include getDirectory.html file_path=gpffd_item.path -%}
6+
{%- if gd_directory_name == gpffd_directory_name -%}
7+
{%- assign gpffd_png_file = gpffd_item -%}
8+
{%- break -%}
9+
{%- endif -%}
10+
{%- endif -%}
11+
{%- endfor -%}

_includes/mapCard.html

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{%- include getDirectory.html file_path=include.map.path -%}
2+
{%- assign download_url = "https://github.com/FortuneStreetModding/CommunityMaps/tree/master/" | append: gd_directory_path -%}
3+
{%- include getPngFileFromDirectory.html directory_name=gd_directory_name -%}
4+
<div class="col-md-4 mb-5">
5+
<div class="card h-100">
6+
<div class="relative-container">
7+
<a href="{{ include.map.url | relative_url }}"><img class="card-img-top map-card-image-board" src="{{ gpffd_png_file.name }}"></a>
8+
<img class="card-img-top map-card-image-background" src="backgrounds/{{ include.map.background }}.webp">
9+
<div class="top-right-absolute">
10+
{% if include.map.changeLog -%}
11+
{%- assign firstChange = include.map.changeLog | first -%}
12+
<div class="badge bg-primary">v{{ firstChange.version }}</div>
13+
{%- endif -%}
14+
{% for author in include.map.authors %}
15+
<div class="badge bg-secondary">{%- if author.url -%}<a class="text-reset" href="{{ author.url }}">{{ author.name }}</a>{%- else -%}{{ author.name }}{%- endif -%}</div>
16+
{% endfor %}
17+
</div>
18+
</div>
19+
<div class="card-body">
20+
<h4 class="card-title">{{ include.map.name.en }}</h4>
21+
<p class="card-text">{{ include.map.desc.en }}</p>
22+
</div>
23+
<div class="card-footer">
24+
<button class="btn btn-primary" onclick="GitZip.zipRepo('{{ download_url }}');">Download</button>
25+
</div>
26+
</div>
27+
</div>

_layouts/default.html

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-dark.min.css" rel="stylesheet" crossorigin="anonymous">
8+
<script type="text/javascript" src="{% capture page_link %}{% link /assets/gitzip/js/FileSaver.min.js %}{% endcapture %}{{ page_link | relative_url }}"></script>
9+
<script type="text/javascript" src="{% capture page_link %}{% link /assets/gitzip/js/jszip.min.js %}{% endcapture %}{{ page_link | relative_url }}"></script>
10+
<script type="text/javascript" src="{% capture page_link %}{% link /assets/gitzip/js/API.js %}{% endcapture %}{{ page_link | relative_url }}"></script>
11+
<style>
12+
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
13+
.relative-container {
14+
position: relative;
15+
text-align: center;
16+
color: white;
17+
}
18+
.bottom-left-absolute {
19+
position: absolute;
20+
bottom: 8px;
21+
left: 16px;
22+
z-index: 3;
23+
}
24+
.top-left-absolute {
25+
position: absolute;
26+
top: 8px;
27+
left: 16px;
28+
z-index: 3;
29+
}
30+
.top-right-absolute {
31+
position: absolute;
32+
top: 8px;
33+
right: 16px;
34+
z-index: 3;
35+
}
36+
.bottom-right-absolute {
37+
position: absolute;
38+
bottom: 8px;
39+
right: 16px;
40+
z-index: 3;
41+
}
42+
.centered-absolute {
43+
position: absolute;
44+
top: 50%;
45+
left: 50%;
46+
transform: translate(-50%, -50%);
47+
z-index: 3;
48+
}
49+
.map-card-image-board {
50+
width:100%;
51+
height:400px;
52+
object-fit:contain;
53+
position:absolute;
54+
filter: drop-shadow(0 0 6px #000b);
55+
z-index: 2;
56+
}
57+
.map-card-image-background {
58+
width:100%;
59+
height:400px;
60+
object-fit:cover;
61+
position:relative;
62+
filter: blur(1px) grayscale(50%) contrast(50%) opacity(50%);
63+
z-index: 1;
64+
}
65+
</style>
66+
</head>
67+
<body>
68+
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script> -->
69+
<div>
70+
{{ content }}
71+
</div>
72+
</body>
73+
</html>

_layouts/maps.html

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
layout: default
3+
---
4+
{%- include getDirectory.html file_path=page.path -%}
5+
{%- assign download_url = "https://github.com/FortuneStreetModding/CommunityMaps/tree/master/" | append: gd_directory_path -%}
6+
{%- include getPngFileFromDirectory.html directory_name=gd_directory_name -%}
7+
<div class="container">
8+
<div class="row">
9+
<h1>{{ page.name.en }}</h1>
10+
<section>{{ page.desc.en }}</section>
11+
<img src="{{ gpffd_png_file.name }}"/>
12+
<button class="btn btn-primary" style="width:98.5%" onclick="GitZip.zipRepo('{{ download_url }}');">Download</button>
13+
<h2>Features</h2>
14+
<h2>Map Properties</h2>
15+
16+
<table>
17+
<thead>
18+
<tr>
19+
<th>Map Properties</th>
20+
<th>Value</th>
21+
</tr>
22+
</thead>
23+
<tbody>
24+
<tr>
25+
<td>Initial Cash</td>
26+
<td>{{ page.initialCash }}</td>
27+
</tr>
28+
<tr>
29+
<td>Target Amount</td>
30+
<td>{{ page.targetAmount }}</td>
31+
</tr>
32+
<tr>
33+
<td>Base Salary</td>
34+
<td>{{ page.baseSalary }}</td>
35+
</tr>
36+
<tr>
37+
<td>Salary Increment</td>
38+
<td>{{ page.salaryIncrement }}</td>
39+
</tr>
40+
<tr>
41+
<td>Maximum Dice Roll</td>
42+
<td>{{ page.maxDiceRoll }}</td>
43+
</tr>
44+
<tr>
45+
<td>Looping Mode</td>
46+
<td>{{ page.looping.mode }}</td>
47+
</tr>
48+
</tbody>
49+
</table>
50+
51+
<h2 id="changelog">Changelog</h2>
52+
53+
{% for change in page.changeLog %}
54+
<h3>Version {{ change.version }}</h3>
55+
{% if change.added != '' %}
56+
<h4>Added</h4>
57+
<ul>
58+
{% for added in change.added %}
59+
<li>{{ added }}</li>
60+
{% endfor %}
61+
</ul>
62+
{% endif %}
63+
{% if change.changed != '' %}
64+
<h4>Changed</h4>
65+
<ul>
66+
{% for changed in change.changed %}
67+
<li>{{ changed }}</li>
68+
{% endfor %}
69+
</ul>
70+
{% endif %}
71+
{% if change.removed != '' %}
72+
<h4>Removed</h4>
73+
<ul>
74+
{% for removed in change.removed %}
75+
<li>{{ removed }}</li>
76+
{% endfor %}
77+
</ul>
78+
{% endif %}
79+
{% endfor %}
80+
81+
<h2 id="authors">Authors</h2>
82+
<ul>
83+
{% for author in page.authors %}
84+
<li>{%- if author.url -%}<a href="{{ author.url }}">{{ author.name }}</a>{%- else -%}{{ author.name }}{%- endif -%}</li>
85+
{% endfor %}
86+
</ul>
87+
</div>
88+
</div>

_maps/CatMap/README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Cat Map
2+
3+
I wanted to make a cute cat map.
4+
5+
You can only reach the bottom whiskers with a balloon, but if you can make it, the cyan district becomes powerful.
6+
This map plays best with no vacant plots added.
7+
8+
Beware getting stuck on the meme eyelands!
9+
10+
## Screenshots
11+
12+
![cat.frb](cat.png)
13+
14+
## Features
15+
16+
| Map Properties | Value |
17+
| ----------------- | ---------- |
18+
| Initial Cash | 2240 |
19+
| Target Amount | 32000 |
20+
| Base Salary | 320 |
21+
| Salary Increment | 240 |
22+
| Maximum Dice Roll | 8 |
23+
| Looping Mode | No Looping |
24+
25+
## Prerequisites
26+
27+
- Needs to replace a map that supports cannons.
28+
- Should replace a dragon quest themed map to avoid graphical glitches when using the 2 way doors.
29+
30+
## Changelog
31+
32+
### v2020.10.08
33+
- I have added BOON SQUARE ISLAND at the request of Deflaktor. Although venture card 125 is a very rare card to pick, it is unfortunately necessary to include a boon square somewhere on the map. Cat Map was already purrfect so I did not include a very lame and uninteresting boon square on the original design of Cat Map. (although if I were to do so, the obvious tile choice is the Venture square on the bottom left).
34+
- The addition of BOON SQUARE ISLAND changes gameplay in this way: 1) The cat now has a ball to play with. 2) in the late game, players may choose to warp here on purpose to temporarily escape high priced shops.
35+
36+
### v2017.05.31
37+
- 2017 is the last time I worked on this. It may still benefit from some balancing changes, but overall a great map that has been thoroughly tested with friends. :-)
38+
39+
## Authors
40+
41+
- Logg

_maps/CatMap/cat.png

390 KB
Loading

_maps/CatMap/cat.with.ball.frb

2.44 KB
Binary file not shown.

_maps/FacingWorlds/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Facing Worlds
2+
3+
In this map you need to go to each side to gather all 4 suits. Taking the warp is a good shortcut, if you are lucky enough to land on it. The switches are an alternative though they are also risky since you can end up helping your opponents instead.
4+
5+
## Screenshots
6+
7+
![facing-worlds.frb](facing-worlds.png)
8+
9+
## Features
10+
11+
| Map Properties | Value |
12+
| ----------------- | ---------- |
13+
| Initial Cash | 2000 |
14+
| Target Amount | 25000 |
15+
| Base Salary | 350 |
16+
| Salary Increment | 200 |
17+
| Maximum Dice Roll | 8 |
18+
| Looping Mode | No Looping |
19+
20+
## Prerequisites
21+
22+
- Needs the ASM hack for the 0x2E switch square
23+
- Can be placed over any map, but dahma.frb is a good candidate due to the high target amount
24+
25+
## Changelog
26+
27+
### v1
28+
- Initial Release
29+
30+
## Authors
31+
32+
- [Deflaktor](https://github.com/Deflaktor)

_maps/FacingWorlds/facing-worlds.frb

2.41 KB
Binary file not shown.

_maps/FacingWorlds/facing-worlds.png

390 KB
Loading

0 commit comments

Comments
 (0)