Skip to content

Commit

Permalink
Don't generate "Unknown commodity" to scoop
Browse files Browse the repository at this point in the history
Removing this since player might be tricked to think this has value,
being some "discovery" of alien origin, sought after by someone.
  • Loading branch information
impaktor committed Jul 8, 2024
1 parent 771aed4 commit 962e0d8
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions data/modules/Scoop/Scoop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,15 @@ local spoiled_food = CommodityType.RegisterCommodity("spoiled_food", {
purchasable = false
})

local unknown = CommodityType.RegisterCommodity("unknown", {
l10n_key = "UNKNOWN",
l10n_resource = "module-scoop",
price = -5,
icon_name = "Default",
mass = 1,
purchasable = false
})
-- -- Unclear what player should do with "Unknown" cargo -> disable for now
-- local unknown = CommodityType.RegisterCommodity("unknown", {
-- l10n_key = "UNKNOWN",
-- l10n_resource = "module-scoop",
-- price = -5,
-- icon_name = "Default",
-- mass = 1,
-- purchasable = false
-- })

local rescue_capsules = {
rescue_capsule
Expand All @@ -115,7 +116,7 @@ local weapons = {
local waste = {
toxic_waste,
spoiled_food,
unknown,
-- unknown,
Commodities.radioactives,
Commodities.rubbish
}
Expand Down

0 comments on commit 962e0d8

Please sign in to comment.