diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 635d3698..0cb54916 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -172,7 +172,13 @@ jobs: mkdir -v -p build/windows ${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe ls -la build/windows - + zip -r Windows.zip build/windows + + - name: Upload build as artifact + uses: actions/upload-artifact@v3-node20 + with: + name: Windows build + path: ${{ github.workspace }}/Windows.zip # - name: Setup Butler # shell: bash # env: diff --git a/addons/forge/nodes/ForgeAttributeSet.cs b/addons/forge/nodes/ForgeAttributeSet.cs index f3e487ec..cefe4067 100644 --- a/addons/forge/nodes/ForgeAttributeSet.cs +++ b/addons/forge/nodes/ForgeAttributeSet.cs @@ -62,6 +62,9 @@ public partial class ForgeAttributeSet : Node var name = prop.Name; if (InitialAttributeValues.TryGetValue(name, out AttributeValues? value)) { + if (value is null) GD.PrintErr("Value is null"); + if (instance is null) GD.PrintErr("Instance is null"); + if (prop is null) GD.PrintErr("Prop is null"); SetAttributeValue("SetAttributeBaseValue", instance, prop, value.Default); SetAttributeValue("SetAttributeMinValue", instance, prop, value.Min); SetAttributeValue("SetAttributeMaxValue", instance, prop, value.Max); diff --git a/export_presets.cfg b/export_presets.cfg index f7bcbbbc..4c87f6d9 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -81,7 +81,7 @@ script_export_mode=2 custom_template/debug="" custom_template/release="" debug/export_console_wrapper=2 -binary_format/embed_pck=false +binary_format/embed_pck=true texture_format/s3tc_bptc=true texture_format/etc2_astc=false shader_baker/enabled=true diff --git a/scenes/player_controller/PlayerController.tscn b/scenes/player_controller/PlayerController.tscn index 4ea6c9e8..b55ece59 100644 --- a/scenes/player_controller/PlayerController.tscn +++ b/scenes/player_controller/PlayerController.tscn @@ -254,7 +254,7 @@ metadata/_custom_type_script = "uid://cxihb42t2mfqi" script = ExtResource("10_pw5r7") AttributeSetClass = "MetaAttributeSet" InitialAttributeValues = Dictionary[String, ExtResource("11_2rkt1")]({ -"IncomingDamage": Object(RefCounted,"script":ExtResource("11_2rkt1"),"Default":0,"Min":0,"Max":1000) +"IncomingDamage": Object(RefCounted,"script":ExtResource("11_2rkt1"),"Default":0,"Min":0,"Max":2147483647) }) metadata/_custom_type_script = "uid://cxihb42t2mfqi"