More Loot & Lootboxes
О материале
«More Loot & Lootboxes» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
This Mod adds random loot to all NPCs (Vanilla and Modded). It is possible to change the Loottables, remove or Add Items and change their amount and possibility. You can also blacklist specific blocks or grids to be excluded from the Loot generation.
You can also add Lootboxes that can be purchased for SpaceCredits. If the player is on a planet it will drop near the player like an unknown signal does. If the player is in space it will spawn in front of him.
A new addition are random Lootboxes - in the config you can define that any lootbox can spawn as a random lootbox. Every so often a random player is chosen and a random box from the lists spawns near him, just like unknown signals. This was implemented to prevent the buggy behaviour of Unknown Signals on MP Servers.
Commands
/lootbox info - shows a List of all available Lootboxes /lootbox info BOXNAME - shows the possible Content of a Lootbox /lootbox buy BOXNAME - tries to buy the Lootbox /lootbox chances - Lists all possible random lootboxes and their chances /lootbox reload - reloads the lootbox config (admin only) /lootbox spawn random - spawns a random lootbox near a random player (admin only) /lootbox adminbuy BOXNAME PLAYERNAME - spawns a lootbox near the player (admin only)
Config
The Config file is the the Storagefolder of your Save.
General
| Tag | Values | Default | Description |
|---|---|---|---|
| LootChance | 0-1 | 0.4 | Chance, that a Container has Loot |
| MaxLootCargos | 1-1000 | 8 | Limit on how many containers on a grid may contain loot. It's 0 - this Value |
| LootboxCount | - | 0 | This is the counter of al spawned Lootboxes. Used for numbering the boxes. |
| SpawnHeightPlanet | 20-50000 | 2000 | The height at which boxes are spawned in natural gravity |
| MinSpawnDistance | 20-50000 | 500 | Minimum spawn distance from player |
| MaxSpawnDistance | 20-10000 | 1000 | maximum spawn distance from player |
| RandomLootboxMinDelaySec | 1-10000 | 300 | The minimum delay in seconds between random lootboxes |
| RandomLootboxMaxDelaySec | 1-10000 | 1800 | The maximum delay in seconds between random lootboxes |
| RandomLootPlayerMod | 0.01-1.00 | 0.95 | For every player above 1 on the Server the minimum and maximum amount between random lootbox spawns is multiplied by this value. This leads to the following times: time = baseTime * factor^(players - 1) |
| BeaconRangeRandom | 0-50000 | 1500 | Range for Beacons on Random Lootboxes |
| BeaconRangeBrought | 0-50000 | 750 | Range for Beacons on brought Lootboxes |
| RenameLootContainer | true/false | true | Containers, in which loot has been generated will be renamed with the name of the Loottable |
| RenameLootboxGrids | true/false | true | Lootboxgrids will be ranamed according to the chosen Loottable and owner |
| RenameLootboxBeacons | true/false | true | Beacons on Lootboxgrids will be ranamed according to the chosen Loottable and owner. This does not affect random loot on normal NPCs |
| ShareLootWithAll | true/false | false | Should Containers, for which loot has been generated be shared with all |
| CleanupMinutes | 1-60 | 15 | After what amount of time should Lootboxes be cleaned up |
Loottable
| Tag | Values | Default | Description |
|---|---|---|---|
| Name | - | - | The Name of the Loottable. Will be shown in the list of Lootboxes of it is enabled. |
| SmallGrid | true/false | - | Should this Loottable be used on Small Grids |
| LargeGrid | true/false | - | Should this Loottable be used on Large Grids |
| RandomSpawn | true/false | - | Should this Loottable be used as Random Spawn. Set this to false to disable it as random lootbox |
| BonusItemChance | 0.0-1.0 | - | Chance for another Item to be added to the box |
| Weight | 0-999999 | 1 | The weight that this Loottable will be picket if multiple tables are available. |
| MinBlocks | 0-999999 | 1 | Grids with less Blocks than this will not use this Loottable. |
| MaxBlocks | 0-999999 | 1 | Grids with more Blocks than this will not use this Loottable. Set to 0 to disable. |
| LootboxAvailable | true/false | - | Should this Loottable be purchasable as Lootbox |
| LootboxPrice | 0-99999999 | - | The price for this Lootbox if a player wishes to buy it. |
| BlacklistedGridTags | - | - | List of exclude Tags. If a spawned Grid contains any of these it will not use this Loottable. |
| BlacklistedContainerTags | - | - | List of exclude Tags. If a Container on a spawned Grid contains any of these it will not use this Loottable. |
| WhitelistedGridTags | - | - | If a whitelist is defined and the grid is not blacklisted only grids containing this tag will use this Loottable |
| Items | - | - | List of possible Items. See the other Table for more Info. |
Item
| Tag | Description |
|---|---|
| Type | The Item Category. Always starts with "MyObjectBuilder_". For example "MyObjectBuilder_Component" |
| Subtype | The Subtype of the Item. For example "SteelPlate" |
| Weight | Detemines the chance of the item to be picked. The higher the weight compared to the other weightvalues, the higher the chance that this item will be picked. |
| Min | Minimum amount of generated Items |
| Max | Maximum amount of generated Items |
Copyright
No extra permission required if the mod is unlisted / hidden and you add a link back to the original in the description. Please ask for permission if you plan to reupload a public mod that includes this work.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.