Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский — Испания)
Español - Latinoamérica (испанский — Латинская Америка)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский — Португалия)
Português-Brasil (португальский — Бразилия)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việ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 :)