+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
+3
-6
project/mods/Atproto/atproto_client.gd
+3
-6
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))
384
380
area_entries[entry.name] = {
385
381
count = entry.count,
386
382
record = float(entry.record),
387
-
quality = new_quality
383
+
quality = entry.quality
388
384
}
389
385
390
386
modified_journal[area.name] = area_entries
···
401
397
for item in save.inventory:
402
398
item.size = float(item.size)
403
399
item.quality = int(item.quality)
400
+
var x = PlayerData.QUALITY_DATA[item.quality]
404
401
405
402
save.version = float(save.version)
406
-
save.saved_aqua_fish.quality = int(save.saved_aqua_fish.quality)
407
403
save.saved_aqua_fish.size = float(save.saved_aqua_fish.size)
408
404
for letter in save.inbound_mail:
409
405
for item in letter.items:
410
406
item.size = float(item.size)
411
407
item.quality = int(item.quality)
408
+
var x = PlayerData.QUALITY_DATA[item.quality]
412
409
413
410
var modified_hotbar = {}
414
411
for item in save.hotbar: