Skip to content

Open 0.2.1, and make the feedstock as illegal as the good - #6

Merged
tastybento merged 2 commits into
developfrom
bump-0.2.1
Aug 9, 2026
Merged

Open 0.2.1, and make the feedstock as illegal as the good#6
tastybento merged 2 commits into
developfrom
bump-0.2.1

Conversation

@tastybento

Copy link
Copy Markdown
Member

Version to 0.2.1-SNAPSHOT now that 0.2.0 is published, plus the first fix for it.

Sugar cane is contraband

One cane crafts into one sugar, so a hold full of cane walked through a customs scan clean and became contraband on the far side with a single click. The crime layer was theatre for anyone who had read a recipe book.

SUGAR_CANE joins SUGAR in illegal-trade.contraband-materials — in the code default and in config.yml, since a list in config replaces the default rather than merging with it. Knock-on effects, all intended:

  • farm ports no longer stock cane over the counter (saleCatalog filters contraband)
  • customs scans catch it in the hold and in pockets
  • the black-market premium applies to it

The rule for when the list grows next is now in the config comment: list the feedstock as well as the finished good.

611 tests green.

Noticed while in there and deliberately not touched: economy.unstamped-sellables ([SUGAR] in config.yml) has no @ConfigEntry in Settings and nothing reads it. Its comment describes behaviour — "materials traders buy even without a customs stamp" — that does not exist. Planned feature or leftover?

⚠️ Server admins with an existing config.yml must add SUGAR_CANE to illegal-trade.contraband-materials by hand; the code default alone will not reach them.

🤖 Generated with Claude Code

https://claude.ai/code/session_014as2obVi1QJj8CRTSqXBRr

tastybento and others added 2 commits August 8, 2026 18:57
Version to 0.2.1-SNAPSHOT: 0.2.0 is out, and the next thing to land will
be a fix.

First of those: sugar cane is contraband now. One cane crafts into one
sugar, so a hold full of cane walked through a customs scan clean and
became contraband on the far side with a single click - the whole crime
layer was theatre for anyone who had read a recipe book (Ben, playtest).

SUGAR_CANE joins SUGAR in illegal-trade.contraband-materials, in the code
default AND in config.yml: a list in config REPLACES the default rather
than merging, so shipping one without the other fixes nothing on a server
that already has a config. Knock-on effects, all intended - farm ports no
longer stock cane over the counter (saleCatalog filters contraband),
customs scans catch it in hold and pockets, and the black-market premium
applies to it.

The rule for when the list grows next, now in the config comment: list
the FEEDSTOCK as well as the finished good.

611 tests green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014as2obVi1QJj8CRTSqXBRr
Custom stamping is gone (it went with the hold plan on 2026-08-01) but its
paperwork stayed: economy.unstamped-sellables sat in config.yml listing
SUGAR, with no @ConfigEntry behind it and nothing in the codebase reading
it - a knob that promised "traders buy this even WITHOUT a customs stamp"
and did nothing at all. Deleted, with the locale item.stamp ("Customs
Stamped") that nothing renders any more.

The comments that outlived the feature go too: Contraband's javadoc still
described stamping as the boundary of what may be sold, the booty settings
claimed drops were "customs-stamped, so salvage can be sold", the buying
page told players their goods were stamped, and CustomsService.sellableAt
called the band rule an addition "on top of the customs stamp" when it is
now the only thing that refuses a sale.

611 tests green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014as2obVi1QJj8CRTSqXBRr
@sonarqubecloud

sonarqubecloud Bot commented Aug 9, 2026

Copy link
Copy Markdown

@tastybento
tastybento merged commit 65667e5 into develop Aug 9, 2026
3 checks passed
@tastybento
tastybento deleted the bump-0.2.1 branch August 9, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant