-66
.tangled/workflows/build-publish.yaml
-66
.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
-
- mono
21
-
- wget
22
-
- unzip
23
-
- git
24
-
- gcc
25
-
26
-
steps:
27
-
# SETUP passwd
28
-
- name: "Create /etc/passwd"
29
-
command: "echo root:x:0:0::$PWD/home:/usr/bin/bash > /etc/passwd"
30
-
- name: "Create fake home"
31
-
command: "mkdir $PWD/home"
32
-
33
-
# GODOTSTEAM
34
-
- name: "Get GodotSteam"
35
-
command: "wget -nv https://codeberg.org/godotsteam/godotsteam/releases/download/v3.21/linux64-g352-s158-gs321.zip -O godotsteam.zip"
36
-
- name: "Unzip GodotSteam"
37
-
command: "unzip godotsteam.zip -d godotsteam"
38
-
- name: "Make GodotSteam executable"
39
-
command: "chmod +x godotsteam/linux-352-editor.64"
40
-
41
-
# GDWEAVE
42
-
- name: "Get GDWeave"
43
-
command: "wget -nv https://github.com/NotNite/GDWeave/releases/download/v2.0.14/GDWeave.zip -O gdweave.zip"
44
-
- name: "Unzip GDWeave"
45
-
command: "unzip gdweave.zip"
46
-
47
-
# Setup home dir
48
-
49
-
50
-
# MANIFESTATION
51
-
- name: "Install Manifestation"
52
-
command: "cargo install --git https://github.com/NotNite/manifestation.git"
53
-
54
-
- name: "Create Manifestation config dir"
55
-
command: "mkdir manifestation_config"
56
-
57
-
- name: "Add GodotSteam to manifestation config"
58
-
command: "echo godot_path = \\\"${PWD}/godotsteam/linux-352-editor.64\\\" > manifestation_config/config.toml"
59
-
- name: "Add GDWeave to manifestation config"
60
-
command: "echo gdweave_path = \\\"${PWD}/GDWeave\\\" >> manifestation_config/config.toml"
61
-
62
-
- name: "LOG"
63
-
command: "cat manifestation_config/config.toml"
64
-
65
-
- name: "Run manifestation"
66
-
command: "MANIFESTATION_CONFIG_DIR=$PWD/manifestation_config ~/.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: