Godot 3 Inventory Tutorial | Item Rarity With Affix | Part 5

Опубликовано: 16 Июль 2026
на канале: Calame321
1,871
59

Adding a rarity generation system. You can expand this system by adding more data, like weight, stats/level requirements, durability, etc.

Github: https://github.com/Calame321/Modular-...

Next part Poll:   / modular-tutorial-61427512  

Useful links
itch.io: https://itch.io/profile/calame
Twitch:   / calame321  
Discord:   / discord  
Patreon:   / calame  

Timestamps:
0:00 - What you'll get
1:57 - Adding Affixes Data File
5:56 - Affix.gd
8:07 - Affix_Group.gd
11:30 - Loading the Affixes Data
13:15 - Affix_Item.gd
15:13 - Changing get_line to set_info
16:09 - Changing the Stat Display String
17:31 - Rarity Colors
19:25 - Affix_Item_List
21:00 - Getting a Random Item
23:53 - Displaying the Components' Infos
26:40 - Using randomize()
27:35 - Generate Rarity
31:08 - get_valid_affixes_group()
34:10 - get_random_affix_group()
36:40 - Set the affix to the item
37:56 - Change to the Random Chest
39:24 - Testing the Random Chest
39:43 - Get Magic Item Name
42:09 - Auto Scaling Item Title
43:23 - Rare Item Name
46:35 - Unique Item Data
48:32 - Stat_Scale.gd
50:02 - Item_Unique_Stats.gd
51:01 - Generate Unique Rarity
53:50 - Treasure Chest
56:48 - Next Part & Polls
57:55 - Thank you!