Skip to content

Commit

Permalink
Add indeterminate orientation to gaydar
Browse files Browse the repository at this point in the history
  • Loading branch information
Putnam3145 committed Nov 17, 2015
1 parent 79e1c49 commit c152b90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/gaydar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ local function determineorientation(unit)
if unit.sex~=-1 then
local return_string=''
local orientation=unit.status.current_soul.orientation_flags
if orientation.indeterminate then
return 'indeterminate (probably adventurer)'
end
local male_interested,asexual=false,true
if orientation.romance_male then
return_string=return_string..' likes males'
Expand Down Expand Up @@ -144,6 +147,7 @@ function isNotStraight(v)
if v:find(string.char(12)) and v:find(' female') then return true end
if v:find(string.char(11)) and v:find(' male') then return true end
if v:find('asexual') then return true end
if v:find('indeterminate') then return true end
return false
end

Expand All @@ -155,7 +159,7 @@ function isGay(v)
end

function isAsexual(v)
if v:find('asexual') then return true else return false end
if v:find('asexual') or v:find('indeterminate') then return true else return false end
end

function isBi(v)
Expand Down

0 comments on commit c152b90

Please sign in to comment.