CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10k stars 4.09k forks source link

Unable to find and assign mission target evac_center_13_z2. #69193

Open snipercup opened 8 months ago

snipercup commented 8 months ago

Describe the bug

When talking to dino dave to get him home, I got this error:

 DEBUG    : Unable to find and assign mission target evac_center_13_z2.

 FUNCTION : find_or_create_om_terrain
 FILE     : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\mission_util.cpp
 LINE     : 258
 VERSION  : 1ff72fc

Afterwards, the player is successfully teleported to the roof and inside Dave's fort

Attach save file

Blue Springs-trimmed.tar.gz

Steps to reproduce

  1. Load attached save
  2. Complete the mission by talking to Dino Dave and selecting option A "we've done it, Dave!"
  3. Observe error

Expected behavior

No error shows up

Screenshots

image

image

Versions and configuration

Additional context

No response

harakka commented 8 months ago

/confirm This came up also on devcord. It looks like evac_center_13_z2 was migrated to just open air in #66123, I assume author missed that this very specific one was used as a mapgen update target for Dino Dave's mission.

RenechCDDA commented 8 months ago

Should be able to place the special on any arbitrary OMT by offsetting it from dave's position using location_variable_adjust

This doesn't account for rotation so it might be best off it by making sure dave is right below the spot it will be placed - thus you just need to z-adjust once or twice, and the x and y coordinates are irrelevant.