Function; addSalvage - HWRM/KarosGraveyard GitHub Wiki
addSalvage(<sChunkType>, <tPosition>, <fRU>, ?, ?, ?, ?)
Adds a piece of salvageable debris to a ".level" file. A salvage chunk always has 700ru
if fRU
is 100
.
addSalvage("Slv_Chunk_Lrg03", {0.0, 0.0, 0.0,}, 100, 0, 0, 0, 0)
The following are the models used by each type: https://i.imgur.com/crxvw5a.png
<sChunkType>: the type of debris. Ranges from Slv_Chunk_Lrg01 to Slv_Chunk_Lrg05. You can also put in Slv_Chunk_Sml01 through to 08.
<tPosition>: a table containing the X, Z, and Y coordinates.
<fRU>: a multiplier applied to the default RU amount contained in each debris type.
?: dunno.
?: dunno.
?: dunno.
?: dunno.
Updated Formatting? Initial
Updated for HWRM? Initial