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 User:Fleeting Frames/relationsindicator

Jump to navigation Jump to search

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


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 4: Line 4:
 
relations-indicator
 
relations-indicator
 
===================
 
===================
       v1.17
+
       v1.16
 
Displays the pregnancy, fertility and romantic status of unit(s).
 
Displays the pregnancy, fertility and romantic status of unit(s).
 
     For singular unit, in (v)iew-(g)eneral mode.
 
     For singular unit, in (v)iew-(g)eneral mode.
Line 315: Line 315:
 
     elseif getFlag(unit, "info") then
 
     elseif getFlag(unit, "info") then
 
             --historical unit
 
             --historical unit
         if (getFlag(unit.info, "wounds") and getFlag(unit.info, "wounds") and (getFlag(unit.info.wounds,"geld") ==1 or getFlag(unit.info.wounds,"unk_flags")[0])) then
+
         if (getFlag(unit.info, "wounds") and getFlag(unit.info, "wounds").anon_3 ==1 ) then
 
             --suspected gelding flag. 0 is dead, -1 is default?
 
             --suspected gelding flag. 0 is dead, -1 is default?
 
             return true
 
             return true
Line 531: Line 531:
 
                 if hfUnitFuckThisCreatureInParticular.id == relationship.histfig_id then
 
                 if hfUnitFuckThisCreatureInParticular.id == relationship.histfig_id then
 
                     --Found a relationship between the two units. Now for grudge!
 
                     --Found a relationship between the two units. Now for grudge!
                     if getFlag(relationship, "love") then if (relationship.love < 0 or relationship.trust < 0) then return true else return false end end
+
                     if getFlag(relationship, "love") then if (relationship.love < 0) then return true else return false end end
 
                     local attitude
 
                     local attitude
 
                     if getFlag(relationship,'anon_3') ~= nil then attitude = relationship.anon_3 else attitude = relationship.attitude end
 
                     if getFlag(relationship,'anon_3') ~= nil then attitude = relationship.anon_3 else attitude = relationship.attitude end
Line 1,517: Line 1,517:
 
     end
 
     end
 
     end
 
     end
 +
 
</source>
 
</source>

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)

This page is a member of 1 hidden category: