Skip to content
Snippets Groups Projects
Commit f233dbe4 authored by dg's avatar dg
Browse files

Clarified how to get a random name on the birth screen

git-svn-id: http://svn.net-core.org/repos/t-engine4@6017 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9e152bb4
No related branches found
No related tags found
No related merge requests found
......@@ -436,7 +436,8 @@ function _M:randomName()
end
function _M:on_focus(id, ui)
if self.focus_ui and self.focus_ui.ui == self.c_female then self.c_desc:switchItem(self.c_female, self.birth_descriptor_def.sex.Female.desc)
if self.focus_ui and self.focus_ui.ui == self.c_name then self.c_desc:switchItem(self.c_name, "This is the name of your character.\nRight mouse click to generate a random name based on race and sex.")
elseif self.focus_ui and self.focus_ui.ui == self.c_female then self.c_desc:switchItem(self.c_female, self.birth_descriptor_def.sex.Female.desc)
elseif self.focus_ui and self.focus_ui.ui == self.c_male then self.c_desc:switchItem(self.c_male, self.birth_descriptor_def.sex.Male.desc)
elseif self.focus_ui and self.focus_ui.ui == self.c_campaign then
local item = self.c_campaign.c_list.list[self.c_campaign.c_list.sel]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment