Changes for page Item Acquisition
Last modified by Alexandros Mloukie on 2026/01/12 19:51
From version 7.2
edited by Alexandros Mloukie
on 2025/12/11 20:58
on 2025/12/11 20:58
Change comment:
There is no comment for this version
To version 15.1
edited by Alexandros Mloukie
on 2025/12/12 09:26
on 2025/12/12 09:26
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +5,3 @@ 1 -{{toc/}} 2 - 3 ----- 4 - 5 5 = 0 - Introduction = 6 6 7 7 This document defines the sources of items within the game, as well as their respective methods of acquisition. It outlines: ... ... @@ -111,10 +111,10 @@ 111 111 This struct forms the basis of the loot entries used in the Loot Data Table. 112 112 113 113 (% class="table-bordered" %) 114 -(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 2 54px;" %)Type|=(% style="width:722px;" %)Details115 -|(% style="width:187px" %)Item|(% style="width:2 54px" %){{info}}Data Table Row Handle{{/info}}|(% style="width:722px" %)The entry of the item from the Items Data Table.116 -|(% style="width:187px" %)MinAmount|(% style="width:2 54px" %){{success}}Integer{{/success}}|(% style="width:722px" %)The minimum amount of the item that can be acquired from this looting.117 -|(% style="width:187px" %)MaxAmount|(% style="width:2 54px" %){{success}}Integer{{/success}}|(% style="width:722px" %)The maximum amount of the item that can be acquired from this looting.110 +(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 326px;" %)Type|=(% style="width: 650px;" %)Details 111 +|(% style="width:187px" %)Item|(% style="width:326px" %){{info}}Data Table Row Handle - Items{{/info}}|(% style="width:650px" %)The entry of the item from the Items Data Table. 112 +|(% style="width:187px" %)MinAmount|(% style="width:326px" %){{success}}Integer{{/success}}|(% style="width:650px" %)The minimum amount of the item that can be acquired from this looting. 113 +|(% style="width:187px" %)MaxAmount|(% style="width:326px" %){{success}}Integer{{/success}}|(% style="width:650px" %)The maximum amount of the item that can be acquired from this looting. 118 118 119 119 === 2.1.2 - Loot Entry Struct === 120 120 ... ... @@ -121,7 +121,39 @@ 121 121 This is the struct that is used to form the Loot Data Table 122 122 123 123 (% class="table-bordered" %) 124 -(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 253px;" %)Type|=(% style="width:723px;" %)Details125 -|(% style="width:187px" %)LootElements|(% style="width: 253px" %){{info}}Data Table Row Handle{{/info}} [ Array ]|(% style="width:723px" %)An array of all items with their min-max values that can be acquired by looting.120 +(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 326px;" %)Type|=(% style="width: 650px;" %)Details 121 +|(% style="width:187px" %)LootElements|(% style="width:326px" %){{info}}Data Table Row Handle - Loot Element{{/info}} [ Array ]|(% style="width:650px" %)An array of all items with their min-max values that can be acquired by looting. 126 126 127 - 123 +When used as the struct basis for the Loot Data Table, here is an example entry (the items and name used are examples only): 124 + 125 +(% class="table-bordered" %) 126 +(% class="active" %)|=(% style="width: 187px;" %)Row Name|=(% style="width: 975px;" %)Loot Entry Data 127 +|(% style="width:187px" %)(% class="box errormessage" %) 128 +((( 129 +FireAnt 130 +)))|(% style="width:975px" %)((( 131 +(% class="box infomessage" %) 132 +((( 133 +[ ~{~{DT_Items, FireStone}, 2, 4}, ~{~{DT_Items, ObsidianShard}, 0, 1} ] 134 +))) 135 +))) 136 + 137 +== 2.2 Replenishable Source Component == 138 + 139 +This component is responsible for handling the functionality used by the forageable actors, as well as mineral growths. 140 + 141 +(% class="table-bordered" %) 142 +(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 324px;" %)Type|=(% style="width: 652px;" %)Details 143 +|(% style="width:187px" %)GrowthMesh|(% style="width:324px" %){{info}}Mesh{{/info}}|(% style="width:652px" %)The mesh used for the forageable/minable part of the actor. 144 +|(% style="width:187px" %)TimerMax|(% style="width:324px" %){{success}}Float{{/success}}|(% style="width:652px" %)The maximum amount of time it takes for the growths to regrow. 145 +|(% style="width:187px" %)TimerHandle|(% style="width:324px" %){{info}}Timer Handle{{/info}}|(% style="width:652px" %)The handle for the regrowth timer. 146 +|(% style="width:187px" %)Loot|(% style="width:324px" %){{info}}Data Table Row Handle - Loot Data Table{{/info}}|(% style="width:652px" %)The Loot Data Table entry used for deciding on the drops. 147 + 148 + The difference between forageable actors and mineral growths is in how the component gets utilized. Forageable actors are coded to make interactions with the actor trigger the component's functionality, while mineral growths trigger it when the health of the growth reaches 0 instead. 149 + 150 +== 2.3 Mineral Deposit Actor == 151 + 152 +(% class="table-bordered" %) 153 +(% class="active" %)|=(% style="width: 187px;" %)Variable Name|=(% style="width: 324px;" %)Type|=(% style="width: 652px;" %)Details 154 +|(% style="width:187px" %)Health|(% style="width:324px" %){{success}}Float{{/success}}|(% style="width:652px" %)The health of the deposit actor. Once it reaches 0, the items are awarded. 155 +|(% style="width:187px" %)Loot|(% style="width:324px" %){{info}}Data Table Row Handle - Loot Data Table{{/info}}|(% style="width:652px" %)The Loot Data Table entry used for deciding on the drops.