-56
.tangled/workflows/build-publish.yaml
-56
.tangled/workflows/build-publish.yaml
···
1
-
when:
2
-
- event: ["push", "manual"]
3
-
branch: ["master"]
4
-
- event: ["push", "manual"]
5
-
branch: ["testing"]
6
-
7
-
engine: "nixery"
8
-
9
-
# using the default values
10
-
clone:
11
-
skip: false
12
-
depth: 1
13
-
submodules: false
14
-
15
-
dependencies:
16
-
# nixpkgs
17
-
nixpkgs:
18
-
- cargo
19
-
- dotnet-sdk
20
-
- wget
21
-
- unzip
22
-
- git
23
-
- gcc
24
-
25
-
environment:
26
-
MANIFESTATION_CONFIG_DIR: "$PWD/manifestation_config"
27
-
28
-
steps:
29
-
# GODOTSTEAM
30
-
- name: "Get GodotSteam"
31
-
command: "wget https://codeberg.org/godotsteam/godotsteam/releases/download/v3.21/linux64-g352-s158-gs321.zip -O godotsteam.zip"
32
-
- name: "Unzip GodotSteam"
33
-
command: "unzip godotsteam.zip -d godotsteam"
34
-
- name: "Make GodotSteam executable"
35
-
command: "chmod +x godotsteam/linux-352-editor.64"
36
-
37
-
# GDWEAVE
38
-
- name: "Get GDWeave"
39
-
command: "wget https://github.com/NotNite/GDWeave/releases/download/v2.0.14/GDWeave.zip -O gdweave.zip"
40
-
- name: "Unzip GDWeave"
41
-
command: "unzip gdweave.zip"
42
-
43
-
# MANIFESTATION
44
-
- name: "Install Manifestation"
45
-
command: "cargo install --git https://github.com/NotNite/manifestation.git"
46
-
47
-
- name: "Create Manifestation config dir"
48
-
command: "mkdir -pv $MANIFESTATION_CONFIG_DIR"
49
-
50
-
- name: "Create Manifestation config"
51
-
command: >
52
-
echo 'godot_path = $PWD/godotsteam/linux-352-editor.64
53
-
gdweave_path = $PWD/GDWeave' > $MANIFESTATION_CONFIG_DIR/config.toml
54
-
55
-
- name: "Run manifestation"
56
-
command: "~/.cargo/bin/manifestation ./manifestation.toml"
+2
-2
manifestation.toml
+2
-2
manifestation.toml
+6
-3
project/mods/Atproto/atproto_client.gd
+6
-3
project/mods/Atproto/atproto_client.gd
···
377
377
for area in save.journal:
378
378
var area_entries = {}
379
379
for entry in area.entries:
380
+
var new_quality = []
381
+
for x in entry.quality:
382
+
if !new_quality.has(int(x)):
383
+
new_quality.append(int(x))
380
384
area_entries[entry.name] = {
381
385
count = entry.count,
382
386
record = float(entry.record),
383
-
quality = entry.quality
387
+
quality = new_quality
384
388
}
385
389
386
390
modified_journal[area.name] = area_entries
···
397
401
for item in save.inventory:
398
402
item.size = float(item.size)
399
403
item.quality = int(item.quality)
400
-
var x = PlayerData.QUALITY_DATA[item.quality]
401
404
402
405
save.version = float(save.version)
406
+
save.saved_aqua_fish.quality = int(save.saved_aqua_fish.quality)
403
407
save.saved_aqua_fish.size = float(save.saved_aqua_fish.size)
404
408
for letter in save.inbound_mail:
405
409
for item in letter.items:
406
410
item.size = float(item.size)
407
411
item.quality = int(item.quality)
408
-
var x = PlayerData.QUALITY_DATA[item.quality]
409
412
410
413
var modified_hotbar = {}
411
414
for item in save.hotbar: