Merge branch 'godot-4.3' of github.com:HumanoidSandvichDispenser/SupaLidlGame into godot-4.3
commit
e7e2a7b999
|
@ -16,4 +16,10 @@ public partial class ItemMetadata : Resource
|
|||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Export]
|
||||
public int BuyPrice { get; set; }
|
||||
|
||||
[Export]
|
||||
public int SellPrice { get; set; }
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -41,6 +41,11 @@ public partial class DashDefensive : AttackState
|
|||
}
|
||||
}
|
||||
|
||||
if (PursueOnNoLOS && !NPC.HasLineOfSight(bestTarget))
|
||||
{
|
||||
return PursueState;
|
||||
}
|
||||
|
||||
if (NPC.CanAttack && NPC.StunTime <= 0)
|
||||
{
|
||||
bool isTargetStunned = bestTarget.StunTime > 0;
|
||||
|
|
|
@ -89,8 +89,9 @@ layout_mode = 2
|
|||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
|
||||
[node name="GridContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Right" instance=ExtResource("5_mmp18")]
|
||||
[node name="GridContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Right" node_paths=PackedStringArray("_slots") instance=ExtResource("5_mmp18")]
|
||||
layout_mode = 2
|
||||
_slots = [NodePath("InventorySlot"), NodePath("InventorySlot2"), NodePath("InventorySlot3")]
|
||||
|
||||
[node name="Bottom" type="HBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main"]
|
||||
layout_mode = 1
|
||||
|
|
Loading…
Reference in New Issue