Skip to content

Commit 5f680c8

Browse files
committed
Groundwork for Item IDs page
1 parent 8b710dd commit 5f680c8

File tree

5 files changed

+71
-3
lines changed

5 files changed

+71
-3
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.csv filter=lfs diff=lfs merge=lfs -text

config/_default/params.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mainSections = ["docs"]
1717

1818
# Navbar
1919
navbarSticky = true # true (default) or false
20-
containerBreakpoint = "lg" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"
20+
containerBreakpoint = "xxl" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"
2121

2222
## Button
2323
navBarButton = false # false (default) or true
@@ -108,7 +108,7 @@ mainSections = ["docs"]
108108
[thulite_images]
109109
[thulite_images.defaults]
110110
decoding = "async" # sync, async, or auto (default)
111-
fetchpriority = "auto" # high, low, or auto (default)
111+
fetchpriority = "auto" # high, low, or auto (default)
112112
loading = "lazy" # eager or lazy (default)
113113
widths = [480, 576, 768, 1025, 1200, 1440] # [640, 768, 1024, 1366, 1600, 1920] for example
114114
sizes = "auto" # 100vw (default), 75vw, or auto for example

content/docs/reference/ingame-command-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Ingame Command list"
3-
description: "Reference pages are ideal for outlining how things work in terse and clear terms."
3+
description: ""
44
summary: ""
55
date: 2023-09-07T16:13:18+02:00
66
lastmod: 2023-09-07T16:13:18+02:00
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: "Item ID List"
3+
description: ""
4+
summary: ""
5+
date: 2023-09-07T16:13:18+02:00
6+
draft: false
7+
weight: 820
8+
toc: false
9+
seo:
10+
title: "" # custom title (optional)
11+
description: "" # custom description (recommended)
12+
canonical: "" # custom canonical URL (optional)
13+
noindex: false # false (default) or true
14+
---
15+
16+
The following tables list all items that are available in version `beta-20100104` (used on the OpenFusion Original server) and `beta-20111013` (last Academy version).
17+
18+
To spawn an item, the following command can be used (do not include the brackets):
19+
20+
```sh {frame="none"}
21+
/itemN [ITEM TYPE NUMBER - LISTED AT TOP OF TABLE] [ITEM ID] [QUANTITY - LEAVE AS 1]
22+
```
23+
24+
So for example - to spawn the Angel's Prayer back item, use:
25+
```sh {frame="none"}
26+
/itemN 6 3 1
27+
```
28+
29+
Note that spawning in items (as well as most other commands) are disabled on the public OpenFusion Academy server. If you wish to spawn in Academy items, [you can host your own server](/docs/guides/hosting-a-server).
30+
31+
[Jump to Academy items](#academy-beta-20111013)
32+
33+
## Original (beta-20100104)
34+
{{< csv-to-table "csv/items-20100104.csv" >}}
35+
36+
## Academy (beta-20111013)
37+
{{< csv-to-table "csv/items-20111013.csv" >}}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{{ with $file := .Get 0 }}
2+
{{ with resources.Get $file }}
3+
{{ with . | transform.Unmarshal }}
4+
<div class="table-resposive">
5+
<table class="table-resposive">
6+
<thead>
7+
<tr>
8+
{{ range index . 0 }}
9+
<th>{{ . }}</th>
10+
{{ end }}
11+
</tr>
12+
</thead>
13+
<tbody>
14+
{{ range after 1 . }}
15+
<tr>
16+
{{ range . }}
17+
<td>{{ . }}</td>
18+
{{ end }}
19+
</tr>
20+
{{ end }}
21+
</tbody>
22+
</table>
23+
</div>
24+
{{ end }}
25+
{{ else }}
26+
{{ errorf "The %q shortcode was unable to find %s. See %s" $.Name $file $.Position }}
27+
{{ end }}
28+
{{ else }}
29+
{{ errorf "The %q shortcode requires one positional argument, the path to the CSV file relative to the assets directory. See %s" .Name .Position }}
30+
{{ end }}

0 commit comments

Comments
 (0)