Hi there. I'm serching about how to work Creature Farm because it doesn't work in my server. But I couldn't figure out so I want to ask about this...
I'm using 8.1 but the creature farm doesn't work as I said. Does anyone know how to work it? Can't leave the creature to NPC in the creature farm though. Sorry for making a new thread.
I'm using 8.1 but the creature farm doesn't work as I said. Does anyone know how to work it? Can't leave the creature to NPC in the creature farm though. Sorry for making a new thread.
Code:
---- Lua スコナゥクウニョ セマネ」ネュ
function get_module_name()
return "NPC_Creature_farm"
end
-- "タフーヌ コ・ョ タヨエツオ・ タフーヘオオ DBキホ ウヨセ﨨゚ ヌムエル" カ・サー「オヌステエツ
-- コホコミオ鯀。 エ・リシュエツ ソャカ・チヨシシソ・
math.randomseed( get_os_time() )
--============================================================
-- <<<<<< ナゥクョテト ウ・NPC >>>>>>
--============================================================
function NPC_Creature_Farm_init()
cprint( "!ナゥクョテト ウ・NPC ー。オソ" )
set_npc_name( "@91000349" )
end
ticket_table = {
{{1,1,1,2,2,3},
{3,3,3,6,6,9}},
{{2,2,2,3,3,4},
{6,6,6,9,9,12}},
{{2,2,2,3,3,4},
{6,6,6,9,9,12}},
{{3,3,3,4,4,5},
{9,9,9,12,12,15}},
{{3,3,3,4,4,5},
{9,9,9,12,12,15}},
{{4,4,4,5,5,6},
{12,12,12,15,15,18}}
}
--ticket_code_table = {}
--ticket_code_table[ "259200" ] = {}
--ticket_code_table[ "259200" ][ "0" ] = { 710005 } -- , テ゚ー。オネ セニタフオ・... }
--ticket_code_table[ "259200" ][ "1" ] = { 710007 } -- , テ゚ー。オネ セニタフオ・... }
--ticket_code_table[ "604800" ] = {}
--ticket_code_table[ "604800" ][ "0" ] = { 710006 } -- , テ゚ー。オネ セニタフオ・... }
--ticket_code_table[ "604800" ][ "1" ] = { 710008 } -- , テ゚ー。オネ セニタフオ・... }
--cracker_code_table = { 2902163, 2902162, 2902167, 2902166, 2902161 }
slot_usable = {}
slot_usable = { 0, 0, 0 }
function NPC_Creature_Farm_nurse_handler()
local rate = math.random(1, 10)
if rate < 6 then
insert_item( 710009, 1 )
return 1
end
return 0
end
function NPC_Creature_Farm_contact()
-- エルタフセホアラ テ箙ツ
dlg_title( "@91000350" ) --ナゥクョテト ウ・チヨタホ シメウト
dlg_text( "@91000351" ) -- npc エ・・ dlg_menu( "@91000352", "NPC_Creature_Farm_explain()" ) -- ナゥクョテト ウ・シメーウ
dlg_menu( "@91000353", "show_creature_farm_window()" ) -- ナゥクョテト ー・ョ
dlg_menu( "@90010002", " " )
dlg_show()
end
function NPC_Creature_Farm_explain()
dlg_title( "@91000350" ) --ナゥクョテト ウ・チヨタホ シメウト
dlg_text( "@91000358" ) -- セ鋐イ ーヤ アテアンヌリ?
dlg_menu( "@91000355", "NPC_Creature_Farm_Whatis()" ) -- ナゥクョテト ウ蠡フカ・ dlg_menu( "@91000356", "NPC_Creature_Farm_Creature_Growup()" ) -- ナゥクョテト シコタ・ dlg_menu( "@91000357", "NPC_Creature_Farm_Whatis_Creature_Care()" ) -- オケコクア・ dlg_menu( "@90010003", "NPC_Creature_Farm_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function NPC_Creature_Farm_Whatis() -- ナゥクョテト ウ蠡フカ・ dlg_title( "@91000350" )
dlg_text( "@91000359" )
dlg_menu( "@90010003", "NPC_Creature_Farm_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function NPC_Creature_Farm_Creature_Growup() -- ナゥクョテト シコタ・ dlg_title( "@91000350" )
dlg_text( "@91000360" )
dlg_menu( "@90010003", "NPC_Creature_Farm_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function NPC_Creature_Farm_Whatis_Creature_Care() -- オケコクア・ dlg_title( "@91000350" )
dlg_text( "@91000361" )
dlg_menu( "@90010003", "NPC_Creature_Farm_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end