Display item loadout HUD information while playing. Fix item drops bugging out at lower frame rates.

This commit is contained in:
2023-11-26 15:51:13 -06:00
parent 633c9355bc
commit 3605aa818d
9 changed files with 136 additions and 48 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ debug_access_options = 0
debug_map_load_info = 0
# Shows extra info about the player on the HUD
debug_player_info = 1
debug_player_info = 0
# Shows collision boxes of tiles.
debug_collision_boxes = 0
+67 -27
View File
@@ -6,7 +6,7 @@ ItemDatabase
Description = Restores 40 health points.
HP Restore = 40
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Medium Health Potion
@@ -15,7 +15,7 @@ ItemDatabase
Description = Restores 100 health points.
HP Restore = 100
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Large Health Potion
@@ -24,7 +24,7 @@ ItemDatabase
Description = Restores 320 health points.
HP Restore = 320
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Small Mana Potion
@@ -33,7 +33,7 @@ ItemDatabase
Description = Restores 40 mana points.
MP Restore = 40
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Medium Mana Potion
@@ -42,7 +42,7 @@ ItemDatabase
Description = Restores 100 mana points.
MP Restore = 100
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Large Mana Potion
@@ -51,147 +51,187 @@ ItemDatabase
Description = Restores 320 mana points.
MP Restore = 320
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 1
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 2
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 3
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 4
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 5
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 6
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 7
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 8
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 9
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 10
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 11
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 12
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 13
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 14
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 15
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 16
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 17
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 18
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 19
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 20
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 2.5
Cooldown Time = 5.0
Cast Time = 0.0
}
Bandages
@@ -200,7 +240,7 @@ ItemDatabase
Description = Restores 10% health points.
HP % Restore = 10%
Cast Time = 1.0
Cooldown Time = 2.5
Cooldown Time = 5.0
ItemCategory = Consumables
}
Green Slime Remains
+1 -1
View File
@@ -7,7 +7,7 @@ ItemConfiguration
Item
{
# Amount of time to wait before an item can be used again (Global).
Item Cooldown Time = 2.5
Item Cooldown Time = 5.0
}
ItemDrop
{