@civ-clone/base-terrain-feature-spice
v0.1.0
Published
The Spice terrain feature class.
Readme
base-terrain-feature-spice
The Spice terrain feature: a special resource a square can hold.
For example: Civ2's Spice, found on Swamp.
This package only declares the class: it has no main and registers nothing, so installing it changes no game.
A game's rules register it and give it its yields.
import Spice from '@civ-clone/base-terrain-feature-spice/Spice';
import { instance as availableTerrainFeatureRegistryInstance } from '@civ-clone/core-terrain-feature/AvailableTerrainFeatureRegistry';
availableTerrainFeatureRegistryInstance.register(Spice);Part of the Civ2 work (civ-clone/web-renderer#1008).
