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. | + | 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") | + | 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 | + | 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> |