Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions code/modules/cargo/exports/seeds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GLOBAL_LIST_EMPTY(discoveredPlants)

/datum/export/seed
cost = 50 // Gets multiplied by potency
k_elasticity = 1 //price inelastic/quantity elastic, only need to export a few samples
k_elasticity = 0 //price inelastic/quantity elastic, only need to export a few samples
unit_name = "new plant species sample"
export_types = list(/obj/item/seeds)
var/needs_discovery = FALSE // Only for undiscovered species
Expand All @@ -15,9 +15,9 @@ GLOBAL_LIST_EMPTY(discoveredPlants)
return 0
return ..() * S.rarity // That's right, no bonus for potency. Send a crappy sample first to "show improvement" later.

/datum/export/seed/sell_object(obj/O)
/datum/export/seed/sell_object(obj/O, datum/export_report/report, dry_run, apply_elastic)
. = ..()
if(.)
if(. && !dry_run)
var/obj/item/seeds/S = O
GLOB.discoveredPlants[S.type] = S.potency

Expand Down