v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Wagon

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 124: Line 124:
  
 
Update '''as of v51.10-beta and DFHACK v51.10-beta2''', I was able to figure out a VERY EXPERIMENTAL way to do this when the fortress has never had a baron(ness) before:
 
Update '''as of v51.10-beta and DFHACK v51.10-beta2''', I was able to figure out a VERY EXPERIMENTAL way to do this when the fortress has never had a baron(ness) before:
 
+
# For step five my site had a ``position_profile_id`` of ``-1`` likely due to the lack of a previous baron. Into this I put a ``position_profile_id`` I made up (in case it matters I used ``8``). I made sure it wasn't in ``df.historical_entity.find(df.global.plotinfo.civ_id).positions.assignments`` because I don't believe a collision would be a good thing here.
+
# For step 5 I used alt+i to add a new entry into the assignments list because my site did not have one. Into this I put a ``position_profile_id`` I made up (in case it matters I used ``8``). I made sure it wasn't in ``df.historical_entity.find(df.global.plotinfo.civ_id).positions.assignments`` because I don't believe a collision would be a good thing here. I also had noticed that multiple barons on my fort that actually had two(one of which was a baron for a different site) had a ``position_vector_idx`` of ``8``. I do not yet know if this is significant, but I matched it just in case.
# For step six I used alt+i and typed ``entity_position_assignment`` to add a new entry into the assignments list because my site did not have one. I filled in the ``id`` to be the ``position_profile_id`` I made up and the ``position_id`` to be the value retrieved in 3 for the ``code`` of the ``BARON`` position (``18`` in my case). Finally, I filled in `histfig` and `histfig2` with my dwarf's ``desired_histfig_id`` from step 2.
+
# I used my new ID I made as the ``desired_position_assignment_id`` for the rest of the instructions. After the final step my dwarf was indeed the baroness of the fort! I have not tested whether all the related things (like caravans) work or not yet.
# I used my new ID I made for ``position_profile_id`` as the ``desired_position_assignment_id`` for the rest of the instructions. After the final step my dwarf was indeed the baroness of the fort! I have not tested whether all the related things (like caravans) work or not yet.
 
  
 
[[File:wood_wagon.jpg|thumb|400px|center|"Now to get another wagon for NON-alcohol items."]]
 
[[File:wood_wagon.jpg|thumb|400px|center|"Now to get another wagon for NON-alcohol items."]]

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page:

This page is a member of 2 hidden categories: