Fixing Android stuff
This commit is contained in:
1 parent
fc93eb6680
commit
2e749ed26e
20 files changed
+716
-32
No files matched your search
@@ -155,8 +155,9 @@ function callback_aiperi_chat()
|
||||
game_api.setIntValue("aiperi_chat_opened", 1)
|
||||
local aiperi_knife_aware = game_api.getIntValue("aiperi_knife_aware")
|
||||
local aiperi_talked_after_knife = game_api.getIntValue("aiperi_talked_after_knife")
|
||||
|
||||
if (player_hold_knife) and (aiperi_talked_after_knife == 0) then
|
||||
local player_hold_knife = game_api.getIntValue("player_hold_knife")
|
||||
|
||||
if (player_hold_knife==1) and (aiperi_talked_after_knife == 0) then
|
||||
game_api.start_dialogue("dialog_chat_aiperi003")
|
||||
game_api.setIntValue("aiperi_talked_after_knife", 1)
|
||||
else
|
||||
@@ -170,6 +171,36 @@ function callback_aiperi_chat()
|
||||
end
|
||||
end
|
||||
end
|
||||
--[[
|
||||
local aiperi_chat_opened = game_api.getIntValue("aiperi_chat_opened")
|
||||
local aiperi_knife_aware = game_api.getIntValue("aiperi_knife_aware")
|
||||
local aiperi_talked_after_knife = game_api.getIntValue("aiperi_talked_after_knife")
|
||||
local lection_is_over = game_api.getIntValue("lection_is_over")
|
||||
local player_hold_knife = game_api.getIntValue("player_hold_knife")
|
||||
local player_hold_key = game_api.getIntValue("player_hold_key")
|
||||
|
||||
if (player_hold_knife==1) and (aiperi_talked_after_knife == 0) then
|
||||
game_api.start_dialogue("dialog_chat_aiperi003")
|
||||
game_api.setIntValue("aiperi_talked_after_knife", 1)
|
||||
else
|
||||
print("dialogx- step 2")
|
||||
if aiperi_chat_opened == 0 then
|
||||
print("dialogx- step 3")
|
||||
game_api.setIntValue("aiperi_chat_opened", 1)
|
||||
if aiperi_knife_aware == 0 then
|
||||
print("dialogx- step 4")
|
||||
if (lection_is_over == 1) then
|
||||
print("dialogx- step 5")
|
||||
if (player_hold_key == 0) then
|
||||
print("dialogx- step 6")
|
||||
game_api.start_dialogue("dialog_chat_aiperi002")
|
||||
end
|
||||
else
|
||||
game_api.start_dialogue("dialog_chat_aiperi001")
|
||||
end
|
||||
end
|
||||
end
|
||||
end]]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user