main #9

Merged
minimata merged 8 commits from main into release/polylan-05-26 2026-05-17 11:01:58 +00:00
4 changed files with 12 additions and 3 deletions
Showing only changes of commit 415897b7b0 - Show all commits

View File

@@ -172,7 +172,13 @@ jobs:
mkdir -v -p build/windows mkdir -v -p build/windows
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe ${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
ls -la build/windows 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 # - name: Setup Butler
# shell: bash # shell: bash
# env: # env:

View File

@@ -62,6 +62,9 @@ public partial class ForgeAttributeSet : Node
var name = prop.Name; var name = prop.Name;
if (InitialAttributeValues.TryGetValue(name, out AttributeValues? value)) 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("SetAttributeBaseValue", instance, prop, value.Default);
SetAttributeValue("SetAttributeMinValue", instance, prop, value.Min); SetAttributeValue("SetAttributeMinValue", instance, prop, value.Min);
SetAttributeValue("SetAttributeMaxValue", instance, prop, value.Max); SetAttributeValue("SetAttributeMaxValue", instance, prop, value.Max);

View File

@@ -81,7 +81,7 @@ script_export_mode=2
custom_template/debug="" custom_template/debug=""
custom_template/release="" custom_template/release=""
debug/export_console_wrapper=2 debug/export_console_wrapper=2
binary_format/embed_pck=false binary_format/embed_pck=true
texture_format/s3tc_bptc=true texture_format/s3tc_bptc=true
texture_format/etc2_astc=false texture_format/etc2_astc=false
shader_baker/enabled=true shader_baker/enabled=true

View File

@@ -254,7 +254,7 @@ metadata/_custom_type_script = "uid://cxihb42t2mfqi"
script = ExtResource("10_pw5r7") script = ExtResource("10_pw5r7")
AttributeSetClass = "MetaAttributeSet" AttributeSetClass = "MetaAttributeSet"
InitialAttributeValues = Dictionary[String, ExtResource("11_2rkt1")]({ 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" metadata/_custom_type_script = "uid://cxihb42t2mfqi"