Space Engineers

Space Engineers

42 个评价
More Loot & Lootboxes
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Other
文件大小
发表于
更新日期
1.208 MB
2020 年 11 月 24 日 上午 3:22
2022 年 6 月 7 日 上午 7:24
27 项改动说明 ( 查看 )

订阅以下载
More Loot & Lootboxes

在 Sadragos 的 2 个合集中
Epsilon System Mod Collection
35 件物品
RoverWorld Hard Survival
26 件物品
描述
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.
热门讨论 查看全部(1)
1
9 月 12 日 上午 6:02
Food Items
BooseOG
48 条留言
Martha_Farquaar 10 月 21 日 上午 6:59 
@BooseOG
I think from default the 'drops' aren't activated and you have to change the settings to toggle it to 'true'. But with system generated grids, loot is added within 'random' containers. So if a grid contains lockers, cargo containers or barrels/crates, then they can be selected to contain LOOT. Personally I have deselected most ores from the loot table.
BooseOG 8 月 26 日 下午 2:19 
Hi all, IM ttrying to make it so that we stumble across these loot drops but the changes ive made dont seem to effect the drops -the time they are alive for is updating but im still getting warnings and can see the beacons. Anyone have any ideas?

My goal is for in scrap yard to be a random discovery.
Sankhya 4 月 2 日 上午 2:41 
I want to mention that I've had this mod for almost 2 years.
I think Sadragos superseeded any kind of update borking.
Countless time the server has updated and broke so many things.
But the way how this is layered is just right.
I might prefer to have it somewhat more intituitive since you need to be in game to run the reload command otherwise it will reset your configs.
Nonetheless this is one of the best mods I've ever used!
It pulls any possible item in the game aswel so it works with modded items straight out of the bus.
Thanks Sadragos!
Martha_Farquaar 2024 年 8 月 15 日 上午 4:03 
@Reigdaer - Any generated loot should rename the container they are in if the option is set to true. So you should notice cargo containers or lockers renamed to something like "small loot" or "large loot", and contain loot.
Reigdaer 2024 年 6 月 11 日 下午 7:05 
is this working? i saw no difference between the mod and vanilla
dragonraalhaan 2023 年 12 月 10 日 下午 3:12 
Found this from the Plant and Cook Updates... looks great! I am going to give it a go on my next playthrough!
DrakoMT 2023 年 12 月 10 日 下午 12:43 
@Sadragos Ty I will test it
Sadragos  [作者] 2023 年 12 月 10 日 下午 12:39 
@DrakoMT that's be BonusItemChance. The number should works like this: after an item is added pick a random number between 0 and 1. If it is below BonusItemChance add another item and start again... which means if you have a value of 0 only 1 item will be added at all times, while a value of 1 means that your cargo will always be the largest size and be filled completely to the brim. I've had good luck with values around 0.5-0.6 for reasonable loot.
DrakoMT 2023 年 12 月 10 日 上午 11:32 
Which setting controls how many types of items are in a box? I'm only getting 1 or 2 items types at a time that's why I'm asking
Sankhya 2023 年 10 月 19 日 上午 5:07 
@Exmortis it should, try to check the keen logs and see if there are any null references.
There might be a typo somewhere.