Talk:Message in a Bottle/@comment-71.30.202.44-20161112233942

Relevant commands found through inspection of Shipwrecked files:

c_revealtreasure appears to reveal all X Marks the Spots, as if reading all maps that c_givetreasuremaps would provide, but without actually having to read them. This comes in handy if you spawn X Marks the Spots in a SW-compatible RoG world, as the maps, regardless of how they had been obtained, still don't work in that case.

c_spawntreasure(name) is how you spawn an X Marks the Spot that actually produces a chest. Using c_spawn("buriedtreasure") produces an X that only yields bone shards (no chest is spawned) when dug. "name" appears to be for affecting what generates in the chest, but is not necessarily required.

I haven't tested everything thouroughly yet, and only on a SW-compatible RoG world, but I suspect all of this holds true in a standard SW world. Using both of these command appropriately generates and reveals an X Marks the Spot at the mouse location in my world.