Cài đặt Steam
Đăng nhập
|
Ngôn ngữ
简体中文 (Trung giản thể)
繁體中文 (Trung phồn thể)
日本語 (Nhật)
한국어 (Hàn Quốc)
ไทย (Thái)
Български (Bungari)
Čeština (CH Séc)
Dansk (Đan Mạch)
Deutsch (Đức)
English (Anh)
Español - España (Tây Ban Nha - TBN)
Español - Latinoamérica (Tây Ban Nha cho Mỹ Latin)
Ελληνικά (Hy Lạp)
Français (Pháp)
Italiano (Ý)
Bahasa Indonesia (Indonesia)
Magyar (Hungary)
Nederlands (Hà Lan)
Norsk (Na Uy)
Polski (Ba Lan)
Português (Tiếng Bồ Đào Nha - BĐN)
Português - Brasil (Bồ Đào Nha - Brazil)
Română (Rumani)
Русский (Nga)
Suomi (Phần Lan)
Svenska (Thụy Điển)
Türkçe (Thổ Nhĩ Kỳ)
Українська (Ukraine)
Báo cáo lỗi dịch thuật
Also if it is useful for you I also tested some updates/deletes for the TimedActions and checked if it still worked and everything seems fine, for the TimedActions files I deleted all of them except for: "ISGetHitFromBehindAction", "ISGetHitFromFrontAction", "ISNPCScavengeAction", "ISSurenderAction" as those 4 are custom TimedActions and does not override anything in vanilla
For "ISInventoryTransferAction" is what I mentioned above to fix Snake's modpack error and for "ISGrabItemAction" I updated it too following the same logic, make it not override vanilla so it improves the compatibility with other mods. Hope this helps!
Same logic as above:
file renamed to "SSISGrabItemAction"
And the code:
require "TimedActions/ISGrabItemAction"
local SSISGrabItemAction = {}
SSISGrabItemAction.ISGrabItemAction = {}
SSISGrabItemAction.ISGrabItemAction.perform = SSISGrabItemAction.perform
function ISGrabItemAction:perform()
SSISGrabItemAction.ISGrabItemAction.perform(self)
print("SSISGrabItemAction perform");
if(self.item ~= nil) then
local ssquare = getSourceSquareOfItem(self.item,self.character)
if(ssquare ~= nil) then
local OwnerGroupId = SSGM:GetGroupIdFromSquare(ssquare)
local TakerGroupId = self.character:getModData().Group
if(OwnerGroupId ~= -1) and (TakerGroupId ~= OwnerGroupId) then
print("ga stealing detected!")
SSGM:Get(OwnerGroupId):stealingDetected(self.character)
end
end
end
end
Thank you so much for the awesome work :)