Skip to main content

WorkKind

Enum WorkKind 

Source
pub enum WorkKind {
Show 22 variants Gather(Gather), Build(BuildWork), Clear(ClearWork), Pickup(PickupWork), Produce(ProduceWork), Location(LocationWork), Herbalist(HerbalistWork), Forester(HerbalistWork), Hunt(HerbalistWork), PlantArea(AreaWork), TendArea(HerbalistWork), Harvest(AreaWork), PlantOrchard(AreaWork), PickFruit(AreaWork), Pasture(HerbalistWork), ClearStorage(HerbalistWork), Fire(HerbalistWork), Trade(TradeWork), Road(RoadWork), Market(MarketWork), Fishing(FishingWork), Test(i32),
}
Expand description

The kinds of work the port has, with their own state.

Variants§

§

Gather(Gather)

GatherRawMaterials.

Original: FUN_1400f1be0.

§

Build(BuildWork)

BuildStructure.

Original: FUN_1400eae90.

§

Clear(ClearWork)

ClearArea.

Original: FUN_1400ebe30.

§

Pickup(PickupWork)

Pickup: carry a pile to storage. A pile makes it when it is activated.

Original: made by FUN_14012e6a0.

§

Produce(ProduceWork)

ConsumeProduce: a workplace’s production.

Original: FUN_1400ee6d0; made by slot FUN_14011e1d0.

§

Location(LocationWork)

LocationWork: staff stand at a school, chapel or doctor.

§

Herbalist(HerbalistWork)

The work of gatherers and herbalists.

Original: made by FUN_14004bac0.

§

Forester(HerbalistWork)

A forester’s work, with the same fields.

Original: made by FUN_140124c50.

§

Hunt(HerbalistWork)

A hunter’s work, with the gatherer’s fields.

Original: made by FUN_140127b70.

§

PlantArea(AreaWork)

PlantArea.

Original: FUN_1400f9b70.

§

TendArea(HerbalistWork)

TendArea: the workers, as the gatherer’s.

§

Harvest(AreaWork)

The harvest work.

Original: FUN_1400f2990.

§

PlantOrchard(AreaWork)

PlantOrchard: need marks the slots being planted.

Original: FUN_1400fa610.

§

PickFruit(AreaWork)

Fruit picking.

Original: FUN_1400f3530.

§

Pasture(HerbalistWork)

PastureComponent’s work: the ranchers tending, as the gatherer’s.

Original: FUN_1400f8250.

§

ClearStorage(HerbalistWork)

ClearStorage: an empty house’s goods go to the town’s storage; the haulers.

Original: FUN_1400ec920.

§

Fire(HerbalistWork)

FireWork: firefighters carrying buckets to a burning building; the workers.

Original: FUN_1400ef0a0.

§

Trade(TradeWork)

TradeWork: haulers keeping the trading post’s stock.

§

Road(RoadWork)

BuildRoad: one cell of road.

§

Market(MarketWork)

MarketWork (made by MarketComponent’s slot).

§

Fishing(FishingWork)

FishingWork.

Original: FUN_1400eff90.

§

Test(i32)

A test stand-in.

Trait Implementations§

Source§

impl Clone for WorkKind

Source§

fn clone(&self) -> WorkKind

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorkKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.