Created additional item icons for Item Database. Added Traveling Merchant config lists

pull/28/head
sigonasr2 1 year ago
parent 57377823c5
commit f3bfa81198
  1. 3
      Crawler/InventoryWindow.cpp
  2. 2
      Crawler/Version.h
  3. 276
      Crawler/assets/config/items/ItemDatabase.txt
  4. 26
      Crawler/assets/config/shops/Chapter 1 Merchants.txt
  5. 4
      Crawler/assets/config/shops/Chapter 2 Merchants.txt
  6. 4
      Crawler/assets/config/shops/Chapter 3 Merchants.txt
  7. 4
      Crawler/assets/config/shops/Chapter 4 Merchants.txt
  8. 4
      Crawler/assets/config/shops/Chapter 5 Merchants.txt
  9. 4
      Crawler/assets/config/shops/Chapter 6 Merchants.txt
  10. BIN
      Crawler/assets/items/Bear Blood.png
  11. BIN
      Crawler/assets/items/Bear Claw.png
  12. BIN
      Crawler/assets/items/Berries.png
  13. BIN
      Crawler/assets/items/Elixir of Bear Strength.png
  14. BIN
      Crawler/assets/items/Flower Petals.png
  15. BIN
      Crawler/assets/items/Frog Skin.png
  16. BIN
      Crawler/assets/items/High-Quality Logs.png
  17. 0
      Crawler/assets/items/Minor Health Potion.png
  18. 0
      Crawler/assets/items/Minor Mana Potion.png
  19. BIN
      Crawler/assets/items/Minor Recovery Potion.png
  20. BIN
      Crawler/assets/items/Wolf Skin.png
  21. BIN
      Crawler/assets/items/Yellow Slime Remains.png

@ -98,7 +98,7 @@ void Menu::InitializeInventoryWindow(){
Component<MenuItemItemButton>(data.menu.GetType(),"Item Icon")->SetItem(Item::BLANK);
Component<MenuItemItemButton>(data.menu.GetType(),"Item Icon")->UpdateIcon();
return true;
},{.padding=1,.size={136,28}})END;
},{.padding=1,.size={137,28}})END;
if(first){
lastInventoryTypeOpened=category;
@ -119,6 +119,5 @@ void Menu::InitializeInventoryWindow(){
inventoryWindow->ADD("Item Icon",MenuItemItemButton)({{226+inventoryDescriptionWidth/2-24,30},{48,48}},Item::BLANK,MenuType::ENUM_END,DO_NOTHING,"","",IconButtonAttr::NOT_SELECTABLE)END;
inventoryWindow->ADD("Item Name Label",MenuLabel)({{226,84},{inventoryDescriptionWidth-6,12}},"",0.75f,LEFT_ALIGN|SHADOW)END;
inventoryWindow->ADD("Item Description Label",MenuLabel)({{226,94},{inventoryDescriptionWidth-6,inventoryWindow->size.y-44-66}},"",0.5f,LEFT_ALIGN|SHADOW)END;
#pragma endregion
}

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 1
#define VERSION_BUILD 4057
#define VERSION_BUILD 4059
#define stringify(a) stringify_(a)
#define stringify_(a) #a

@ -1,273 +1,137 @@
ItemDatabase
{
Small Health Potion
Berries
{
ItemScript = Restore
Description = Restores 40 health points.
HP Restore = 40
Description = Restores 15 health points and 5 mana points.
HP Restore = 15
MP Restore = 5
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
SellValue = 8
}
Medium Health Potion
Minor Health Potion
{
ItemScript = Restore
Description = Restores 100 health points.
HP Restore = 100
Description = Restores 50 health points.
HP Restore = 50
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
SellValue = 16
BuyValue = 23
}
Large Health Potion
Minor Mana Potion
{
ItemScript = Restore
Description = Restores 320 health points.
HP Restore = 320
Description = Restores 45 mana points over the next 15 seconds.
MP Restore = 3,1,15
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
SellValue = 21
BuyValue = 30
}
Small Mana Potion
Minor Recovery Potion
{
ItemScript = Restore
Description = Restores 40 mana points.
MP Restore = 40
Description = Recovers 60 health points over the next 15 seconds.
HP Restore = 12,3,15
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Medium Mana Potion
Elixir of Bear Strength
{
ItemScript = Restore
Description = Restores 100 mana points.
MP Restore = 100
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Large Mana Potion
{
ItemScript = Restore
Description = Restores 320 mana points.
MP Restore = 320
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 1
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 2
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemScript = Buff
Description = Increase your attack by 15% for 30 seconds.
HP Restore = 15,30
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 3
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 4
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 5
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 6
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 7
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Equipment
Slot = Armor
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 8
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Equipment
Slot = Armor
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 9
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Equipment
Slot = Armor
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 10
{
Description = Does nothing apparently.
ItemCategory = Equipment
Slot = Armor,Ring1,Ring2
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 11
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 12
Bandages
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Description = Restores 30% health points over 6 seconds. The effect can be interrupted.
HP % Restore = 30%
Cast Time = 6.0
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 13
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
SellValue = 7
BuyValue = 10
}
Dummy Item 14
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 15
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
}
Dummy Item 16
Green Slime Remains
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
Description = The remains of a green slime. It stares at you intently.
ItemCategory = Materials
SellValue = 2
}
Dummy Item 17
Blue Slime Remains
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
Description = The remains of a blue slime. It stares at you intently.
ItemCategory = Materials
SellValue = 4
}
Dummy Item 18
Red Slime Remains
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
Description = The remains of a red slime. It stares at you intently.
ItemCategory = Materials
SellValue = 4
}
Dummy Item 19
Yellow Slime Remains
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
Description = The remains of a yellow slime. It stares at you intently.
ItemCategory = Materials
SellValue = 9
}
Dummy Item 20
Flower Petals
{
ItemScript = Restore
HP Restore = 1
Description = Does nothing apparently.
ItemCategory = Consumables
Cooldown Time = 5.0
Cast Time = 0.0
Description = Some beautiful petals of a flower.
ItemCategory = Materials
SellValue = 3
}
Bandages
Frog Skin
{
ItemScript = Restore
Description = Restores 10% health points.
HP % Restore = 10%
Cast Time = 1.0
Cooldown Time = 5.0
ItemCategory = Consumables
Description = The skin of a frog.
ItemCategory = Materials
SellValue = 5
}
Green Slime Remains
Bear Claw
{
Description = The remains of a green slime. It stares at you intently.
Description = The claw of a bear.
ItemCategory = Materials
SellValue = 12
}
Blue Slime Remains
Bear Blood
{
Description = The remains of a blue slime. It stares at you intently.
Description = Some uncontaminated blood of a bear
ItemCategory = Materials
SellValue = 17
}
Red Slime Remains
Wolf Skin
{
Description = The remains of a red slime. It stares at you intently.
Description = The skin of a wolf with only minor damages.
ItemCategory = Materials
SellValue = 6
}
Logs
{
Description = A small unrefined pile of logs.
ItemCategory = Materials
SellValue = 3
}
High-Quality Logs
{
Description = A small unrefined pile of logs of exceptional quality.
ItemCategory = Materials
SellValue = 7
}
Green Gemstone
{
Description = Radiating with energy from the forest, it is used to refine stronger equipment.
ItemCategory = Materials
SellValue = 180
}
}
}

@ -0,0 +1,26 @@
Merchant
{
Chapter1_A
{
DisplayName = Merchant
Item[1] = Minor Health Potion
Item[2] = Minor Mana Potion
}
Chapter1_B
{
DisplayName = Merchant
Item[1] = Minor Health Potion
}
Chapter1_C
{
DisplayName = Merchant
Item[1] = Minor Mana Potion
}
Chapter1_D
{
DisplayName = Merchant
Item[1] = Minor Health Potion
Item[2] = Minor Mana Potion
Item[3] = Bandages
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 789 B

After

Width:  |  Height:  |  Size: 789 B

Before

Width:  |  Height:  |  Size: 798 B

After

Width:  |  Height:  |  Size: 798 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Loading…
Cancel
Save