EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

crop_watered

An actor watered a field (a watering can; rain and snow raise no event).

Signature

{ actor: ActorRef, crop: (CropId)?, kind: "crop_watered", player: (PlayerRef)?, position: Position }

Fields

NameTypeMeaning
actorActorRefActing actor (human- or AI-controlled).
Length: 1…256; Pattern: ^[\s\S]+$
cropCropIdCrop growing on the field; absent on bare soil.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: crop
kind"crop_watered"Discriminant
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
positionPositionWhere the field lies.

Validated example

{
  "actor": "a1",
  "crop": "core:carrot_crop",
  "kind": "crop_watered",
  "player": "p1",
  "position": {
    "map": "m1",
    "x_mm": 1000,
    "y_mm": 0,
    "z_mm": 2000
  }
}