Skip to content

The Camera ​

pet_camera/ holds one file per camera, named after the camera's item id; the mod's own is pet_camera/camera.json, and it decides how Hachiware takes photos. For how it plays, see Hachiware's Camera.

json
{
  "film": "chiikawa:film",
  "exposures": 8,
  "owner_range": 64.0,
  "cooldown_ticks": 12000,
  "retry_ticks": 600,
  "aim_ticks": 40,
  "posed_chance": 0.5,
  "subjects": { "owner": 3, "friend": 5, "scenery": 1 },
  "width": 320,
  "height": 240,
  "fov": 70
}
FieldMeaningDefault
filmWhich item is used as filmchiikawa:film
exposuresHow many shots a roll holds8
owner_rangeHow many blocks away the owner can be for it to shoot, since the picture is drawn in the owner's game64
cooldown_ticksThe shortest wait after one shot before the next12000 (half a game day)
retry_ticksWhen a shot doesn't happen (the owner wandered off, the pet it meant to shoot ran away), how long before it looks for another chance600
aim_ticksHow long after raising the camera it presses the shutter40
posed_chanceThe chance of a posed shot, the rest being candid snaps, 0 to 10.5
subjectsThe weights for shooting the owner, friends and the scenery3, 5, 1
width, heightThe size of the photo, in pixels320, 240
fovThe field of view for photos, unaffected by the owner sprinting or by potions70

Using something else as a camera. Write another file under your own namespace, named after that item's id, and a Hachiware with that item in its backpack will take photos too.

Who takes photos. Only Hachiware takes photos. That is written in the code, and data can't change it. Whether Hachiware goes and buys a camera and film on its own is written in likes in its personality file.

Unofficial fan-made mod, not affiliated with Nagano / Chiikawa rights holders. No official assets are used.

Unofficial fan-made mod, not affiliated with Nagano / Chiikawa rights holders.
京ICP备2024085629号