Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
这个mod这几天用下来,确实需要有个菜单来查看队友的装备和单独配置每一个队友的工作。现在的版本是靠玩家脚底下的圈来批量配置,很容易选不到或者选错,然后你就得去点去追才能配置。
以及,还需要一个限定队友可以做哪些饭的功能 笑死越来越像帕鲁了,比如有时候我只需要肉丸和水饺,我希望他们只做这两个东西,而不是做一堆既没法下口又占格子的怪物肉大餐。
然后关于这个功能,得先把队友带到箱子附近,然后关掉跟随玩家,再打开给予玩家物资,他们就会自动去堆叠箱子里已经有的物品看,具体的可以参考作者这个文档https://n77a3mjegs.feishu.cn/docx/GUgUdU2UBoiyo0x20H0cjizPn7b
2. 配置菜单和容器打开绑定,距离不够没法打开容器,我感觉不会需要特别频繁的配置队友
3. 选项太多会不会导致界面更加拥挤,操作更加繁琐
4. 物品栏可视化实现比较复杂,工坊也没有类似mod
5. 给火把就会装备,添加燃料属于火女独有能力,背包里的可燃物我不知道玩家是否愿意消耗掉
6. 已经有归类功能
7. 队友在哪取消跟随就会停在哪里
[string "../mods/workshop-3251951529/scripts/prefabs..."]:60: attempt to index field 'sanity' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-3251951529/scripts/prefabs/mym_player_classified.lua:1161 in (field) OnInitialDirtyStates (Lua) <1145-1175>
inst = 109009 - mym_player_classified (valid:true)
../mods/workshop-3251951529/scripts/prefabs/mym_player_classified.lua:1136 in (field) fn (Lua) <1117-1143>
inst = 109009 - mym_player_classified (valid:true)
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
self =
running = table: 00000000179E69E0
waitingfortick = table: 00000000179E78E0
hibernating = table: 00000000179E75C0
tasks = table: 00000000179E6DA0
waking = table: 00000000C93A47E0
attime = table: 00000000179E6C60
isstatic = true
tick = 885
k = PERIODIC 109009: 0.000000
v = true
already_dead = false
scripts/scheduler.lua:419 in (global) RunStaticScheduler (Lua) <417-425>
tick = 885
scripts/update.lua:178 in () ? (Lua) <169-220>
dt = 0.033333335071802
static_tick = 885
i = 885
[00:03:41]: [string "../mods/workshop-3251951529/scripts/prefabs..."]:60: attempt to index field 'sanity' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-3251951529/scripts/prefabs/mym_player_classified.lua:1161 in (field) OnInitialDirtyStates (Lua) <1145-1175>
../mods/workshop-3251951529/scripts/prefabs/mym_player_classified.lua:1136 in (field) fn (Lua) <1117-1143>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:419 in (global) RunStaticScheduler (Lua) <417-425>
scripts/update.lua:178 in () ? (Lua) <169-220>
[string "scripts/componentactions.lua"]:2629: attempt to index a nil value
LUA ERROR stack traceback:
scripts/entityscript.lua:655 in (method) RemoveComponent (Lua) <642-657>
self (valid:true) =
DynamicShadow = DynamicShadow (00000000F2650BA0)
inlimbo = false
GetMoistureRateScale = function - scripts/prefabs/player_common.lua:254
_lunarportalmax = table: 000000004A9E4570
CanSeePointOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:887
EnableBoatCamera = function - scripts/prefabs/player_common.lua:904
playercolour = table: 0000000021730A40
_SetGhostMode = function - scripts/prefabs/player_common.lua:913
MakeGenericCommander = function - scripts/prefabs/player_common_extensions.lua:898
IsOverheating = function - scripts/prefabs/player_common.lua:224
Light = Light (00000000F2650720)
inherentscenealtaction = table: 000000002A4161B0
OnRemoveEntity = function - scripts/prefabs/player_common.lua:1099
IsBeaverStarving = function - scripts/prefabs/woodie.lua:553
pendingtasks = table: 00000000F5260A70
ShowNickname = 109023 - (valid:true)
SetGhostMode = function - scripts/prefabs/woodie.lua:444
IsChannelCastingItem = function - scripts/prefabs/player_common.lua:290
actionreplica = table: 00000000F525F530
event_listening = table: 00000000F525F5D0
actioncomponents = table: 00000000774B6D90
lower_components_shadow = table: 00000000F525FA80
GetMaxMoisture = function - scripts/prefabs/player_common.lua:244
CanUseTouchStone = function - scripts/prefabs/player_common.lua:194
updatecomponents = table: 0000000071FD1F10
ShakeCamera = function - scripts/prefabs/player_common.lua:1525
OnPostActivateHandshake_Client = function - scripts/prefabs/player_common_extensions.lua:988
persists = true
MiniMapEntity = MiniMapEntity (00000000F26509C0)
IsFreezing = function - scripts/prefabs/player_common.lua:214
replica = table: 00000000F525F670
GetTemperature = function - scripts/prefabs/player_common.lua:204
GUID = 109018
RegisterComponentActions = function - ../mods/workshop-836583293/modmain.lua:56
ghostenabled = true
_underleafcanopy = net_bool (000000004A9E4160)
IsChannelCasting = function - scripts/prefabs/player_common.lua:286
EnableMovementPrediction = function - scripts/prefabs/player_common.lua:843
worldstatewatching = table: 000000001C72B850
inherentsceneaction = table: 000000002A415760
ShowNicknametask = function - ../mods/workshop-2917322514/scripts/ShowNickname.lua:142
_PostActivateHandshakeState_Client = 0
TargetForceAttackOnly = function - scripts/prefabs/player_common.lua:51
CanSeeTileOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:883
_weregooseflying = net_bool (000000004A9E0470)
player_classified = 109020 - mym_player_classified (valid:true)
modactioncomponents = table: 00000000774B14D0
inherentactions = table: 00000000CC287510
Network = Network (00000000F2650630)
mym_commandrange = net_tinybyte (00000000271EBBB0)
mym_ageday = net_byte (00000000271EB840)
GetMoisture = function - scripts/prefabs/player_common.lua:234
mym_refreshcraft = table: 00000000271EBB60
LightWatcher = LightWatcher (00000000F2650690)
SynchronizeOneClientAuthoritativeSetting = function - scripts/prefabs/player_common_extensions.lua:955
_piratemusicstate = net_bool (000000004A9F1220)
spawntime = 65.266670070589
OnLoad = function - ../mods/workshop-2039181790/postinit/any.lua:93
OnSave = function - ../mods/workshop-2039181790/postinit/any.lua:82
name = 伍迪
prefab = woodie
Advertisee = net_entity (00000000271F2B40)
SetClientAuthoritativeSetting = function - scripts/prefabs/player_common_extensions.lua:967
ondetachclassified = function - scripts/prefabs/player_common.lua:1090
PostActivateHandshake = function - scripts/prefabs/pl
[00:05:24]: [string "scripts/componentactions.lua"]:2629: attempt to index a nil value
LUA ERROR stack traceback:
scripts/entityscript.lua:655 in (method) RemoveComponent (Lua) <642-657>
scripts/components/highlight.lua:126 in (method) UnHighlight (Lua) <119-128>
scripts/components/playercontroller.lua:2369 in (method) OnUpdate (Lua) <2154-2685>
scripts/update.lua:262 in () ? (Lua) <224-298>
[00:05:24]: Error deserializing lua state for entity woodie[110252] var:namedirty - Failed to read net var data
[00:05:24]:
[00:05:24]:
[00:05:24]: actioncomponentsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2427481232
[00:05:24]:
[00:05:24]: weregooseflyingdirty
[00:05:24]:
[00:05:24]: isridingdirty
[00:05:24]: sharksounddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: issanedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: piratemusicstatedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._hermit_music
[00:05:24]:
[00:05:24]:
[00:05:24]: woodie._weremoosesmashshake
[00:05:24]:
[00:05:24]: inherentscenealtactiondirty
[00:05:24]:
[00:05:24]: isinsanitymodedirty
[00:05:24]: inherentsceneactiondirty
[00:05:24]: localplayer._lunarportalmax
[00:05:24]:
[00:05:24]:
[00:05:24]: namedirty <----
[00:05:24]: localplayer._shadowportalmax
[00:05:24]: issheltereddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._winters_feast_music
[00:05:24]:
[00:05:24]: inherentactionsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2751937554
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-3251951529
[00:05:24]: localplayer._skilltreeactivatedany
[00:05:24]:
[00:05:24]: player.mym_refreshcraft
[00:05:24]: SetAdvertiseedirty
[00:05:24]:
[00:05:24]: underleafcanopydirty
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-2039181790
[00:05:24]: authordirty
[00:05:24]:
[00:05:24]:
[00:05:24]: frostybreather.breathevent
[00:05:24]: weremodedirty
[00:05:24]: Deserialized invalid platform for entity woodie[109031]
[00:05:24]: Error deserializing lua state for entity woodie[109031] var:namedirty - Failed to read net var data
[00:05:24]:
[00:05:24]:
[00:05:24]: actioncomponentsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2427481232
[00:05:24]:
[00:05:24]: weregooseflyingdirty
[00:05:24]:
[00:05:24]: isridingdirty
[00:05:24]: sharksounddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: issanedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: piratemusicstatedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._hermit_music
[00:05:24]:
[00:05:24]:
[00:05:24]: woodie._weremoosesmashshake
[00:05:24]:
[00:05:24]: inherentscenealtactiondirty
[00:05:24]:
[00:05:24]: isinsanitymodedirty
[00:05:24]: inherentsceneactiondirty
[00:05:24]: localplayer._lunarportalmax
[00:05:24]:
[00:05:24]:
[00:05:24]: namedirty <----
[00:05:24]: localplayer._shadowportalmax
[00:05:24]: issheltereddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._winters_feast_music
[00:05:24]:
[00:05:24]: inherentactionsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2751937554
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-3251951529
[00:05:24]: localplayer._skilltreeactivatedany
[00:05:24]:
[00:05:24]: player.mym_refreshcraft
[00:05:24]: SetAdvertiseedirty
[00:05:24]:
[00:05:24]: underleafcanopydirty
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-2039181790
[00:05:24]: authordirty
[00:05:24]:
[00:05:24]:
[00:05:24]: frostybreather.breathevent
[00:05:24]: weremodedirty
[00:05:24]: Error deserializing lua state for entity woodie[110268] var:authordirty - Failed to read net var data
[00:05:24]:
[00:05:24]:
[00:05:24]: actioncomponentsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2427481232
[00:05:24]:
[00:05:24]: weregooseflyingdirty
[00:05:24]:
[00:05:24]: isridingdirty
[00:05:24]: sharksounddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: issanedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: piratemusicstatedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._hermit_music
[00:05:24]:
[00:05:24]:
[00:05:24]: woodie._weremoosesmashshake
[00:05:24]:
[00:05:24]: inherentscenealtactiondirty
[00:05:24]:
[00:05:24]: isinsanitymodedirty
[00:05:24]: inherentsceneactiondirty
[00:05:24]: localplayer._lunarportalmax
[00:05:24]:
[00:05:24]:
[00:05:24]: namedirty
[00:05:24]: localplayer._shadowportalmax
[00:05:24]: issheltereddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._winters_feast_music
[00:05:24]:
[00:05:24]: inherentactionsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2751937554
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-3251951529
[00:05:24]: localplayer._skilltreeactivatedany
[00:05:24]:
[00:05:24]: player.mym_refreshcraft
[00:05:24]: SetAdvertiseedirty
[00:05:24]:
[00:05:24]: underleafcanopydirty
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-2039181790
[00:05:24]: authordirty <----
[00:05:24]:
[00:05:24]:
[00:05:24]: frostybreather.breathevent
[00:05:24]: weremodedirty
[00:05:24]: Error deserializing lua state for entity woodie[110268] var:namedirty - Failed to read net var data
[00:05:24]:
[00:05:24]:
[00:05:24]: actioncomponentsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2427481232
[00:05:24]:
[00:05:24]: weregooseflyingdirty
[00:05:24]:
[00:05:24]: isridingdirty
[00:05:24]: sharksounddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: issanedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: piratemusicstatedirty
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._hermit_music
[00:05:24]:
[00:05:24]:
[00:05:24]: woodie._weremoosesmashshake
[00:05:24]:
[00:05:24]: inherentscenealtactiondirty
[00:05:24]:
[00:05:24]: isinsanitymodedirty
[00:05:24]: inherentsceneactiondirty
[00:05:24]: localplayer._lunarportalmax
[00:05:24]:
[00:05:24]:
[00:05:24]: namedirty <----
[00:05:24]: localplayer._shadowportalmax
[00:05:24]: issheltereddirty
[00:05:24]:
[00:05:24]:
[00:05:24]:
[00:05:24]: localplayer._winters_feast_music
[00:05:24]:
[00:05:24]: inherentactionsdirty
[00:05:24]: modactioncomponentsdirtyworkshop-2751937554
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-3251951529
[00:05:24]: localplayer._skilltreeactivatedany
[00:05:24]:
[00:05:24]: player.mym_refreshcraft
[00:05:24]: SetAdvertiseedirty
[00:05:24]:
[00:05:24]: underleafcanopydirty
[00:05:24]:
[00:05:24]: modactioncomponentsdirtyworkshop-2039181790
[00:05:24]: authordirty
[00:05:24]:
[00:05:24]:
[00:05:24]: frostybreather.breathevent
[00:05:24]: weremodedirty
[00:05:24]: Error deserializing lua state for entity woodie[109058] var:namedirty - Failed to read net var data
........
LUA ERROR stack traceback:
=[C]:-1 in (field) sort (C) <-1--1>
../mods/workshop-3251951529/modmain/prefabpost.lua:540 in (field) fn (Lua) <521-545>
inst = 122965 - wortox_soul_spawn (valid:true)
soulthieves = table: 000000004BD73A00
soulthiefreceiver = nil
hasthief = true
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
self =
running = table: 000000001EA17DD0
waitingfortick = table: 000000001EA17BA0
hibernating = table: 000000001EA16F70
tasks = table: 000000001EA18000
waking = table: 000000004C50DF00
attime = table: 000000001EA17AB0
tick = 4243
k = PERIODIC 122965: 0.500000
v = true
already_dead = nil
scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
tick = 4243
scripts/update.lua:240 in () ? (Lua) <224-298>
dt = 0.033333335071802
tick = 4243
i = 4243
[00:04:11]: [string "../mods/workshop-3251951529/modmain/prefabp..."]:518: attempt to compare two function values
LUA ERROR stack traceback:
=[C]:-1 in (field) sort (C) <-1--1>
../mods/workshop-3251951529/modmain/prefabpost.lua:540 in (field) fn (Lua) <521-545>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
scripts/update.lua:240 in () ? (Lua) <224-298>
LUA ERROR stack traceback:
=[C]:-1 in (method) HasAnyTag (C) <-1--1>
scripts/entityscript.lua:583 in (method) HasOneOfTags (Lua) <580-587>
self (valid:true) =
modactioncomponents = table: 5EA81960
inlimbo = false
_OldOnLoad = function - scripts/prefabs/pigman.lua:543
_OldOnSave = function - scripts/prefabs/pigman.lua:538
scrapbook_removedeps = table: 5EA7EFD0
worldstatewatching = table: 5EA82FB8
AnimState = AnimState (5E9898C8)
Network = Network (5E989688)
pendingtasks = table: 5EA81848
sg = sg="pig", state="idle", time=6.33, tags = "idle,canrotate,"
spawntime = 0
children = table: 255AE530
moving_cheak_task = PERIODIC 109526: 3.000000
Transform = Transform (5E989848)
brain = --brain--
sleep time: 0.00
Priority - READY <READY> ()>0.00
>Parallel - FAILED <READY> ()>0.00
> >AmIBusyAttacking - SUCCESS <READY> ()>0.00
> >RunAway - FAILED <READY> ()>0.00
>Parallel - FAILED <READY> ()>0.00
> >PanicScared - FAILED <READY> ()>0.00
> >Parallel - READY <READY> ()>0.00
> > >ChattyNode - READY <READY> ()>0.00
> > > >Panic - READY <READY> ()>0.00
> > >Sequence - READY <READY> ()>0.00
> > > >Wait - READY <READY> ()>0.00
> > > >ActionNode - READY <READY> ()>0.00
>Parallel - FAILED <READY> ()>0.00
> >PanicHaunted - FAILED <READY> ()>0.00
> >ChattyNode - READY <READY> ()>0.00
> > >Panic - READY <READY> ()>0.00
>Parallel - FAILED <READY> ()>0.00
> >OnFire - FAILED <READY> ()>0.00
> >ChattyNode - READY <READY> ()>0.00
> > >Panic - READY <READY> ()>0.00
>Parallel - FAILED <READY> ()>0.00
> >IpecacsyrupPanicTrigger - FAILED <READY> ()>0.00
> >Panic - READY <READY> ()>0.00
>ChattyN [**truncated**]
_pig_token_prefab = pig_token
actionreplica = table: 5EA7E8F0
event_listening = table: 5EA7F098
scrapbook_adddeps = table: 5EA7F0C0
actioncomponents = table: 5EA7E5A8
lower_components_shadow = table: 5EA7E6C0
_pigtokeninitialized = true
entity = Entity (5E96B378)
GUID = 109526
prefab = pigman
build = pig_build
OnEntitySleep = function - local _G = GLOBAL
local moving_cheak_count = 3 -- \230\163\128\230\181\139\229\140\186\233\151\180\230\149\176\233\135\143
local moving_cheak_time = 3
local function getismoving(inst)
return inst.sg:HasStateTag("moving") or false
end
local function isalllogmoving(inst)
if not _G.next(inst.moving_cheak_log) then
return
end
for k, v in pairs(inst.moving_cheak_log) do
if not v.ismoveing then
return false
end
end
return true
end
-- \230\163\128\230\181\139\229\137\141\229\144\142\230\156\128\229\164\167\232\183\157\231\166\187
local function getmovedistance(inst)
local max_distance = 0
for k1, v1 in ipairs(inst.moving_cheak_log) do
local count1_pos = v1.pos
for k2, v2 in ipairs(inst.moving_cheak_log) do
if k1 ~= k2 then
local count2_pos = v2.pos
local distance = _G.math.sqrt((count1_pos.x - count2_pos.x) * (count1_pos.x - count2_pos.x) +
(count1_pos.z - count2_pos.z) * (count1_pos.z - count2_pos.z))
max_distance = math.max(distance, max_distance)
end
end
end
return max_distance
end
-- \231\148\159\231\137\169\230\128\188\229\162\153\231\154\132\232\175\157\229\129\156\230\173\162\231\167\187\229\138\168
AddPrefabPostInitAny(function(inst)
if inst:HasTag("player") then
return
elseif inst.components == nil or inst.components.locomotor == nil then
return
elseif inst.brain == nil and inst.sg == nil then
return
elseif inst:HasTag("largecreature") then
return
elseif inst:HasTag("epic") then
return
end
local old_OnEntitySleep = inst.OnEntitySleep
inst.OnEntitySleep = function(...)
[00:05:10]: [string "scripts/entityscript.lua"]:583: bad argument #1 to 'HasAnyTag' (number expected, got table)
LUA ERROR stack traceback:
=[C]:-1 in (method) HasAnyTag (C) <-1--1>
scripts/entityscript.lua:583 in (method) HasOneOfTags (Lua) <580-587>
../mods/workshop-3285271503/scripts/main/extend_tags.lua:191 in (method) FindEntities (Lua) <187-199>
scripts/simutil.lua:35 in (global) FindEntity (Lua) <31-42>
scripts/brains/pigbrain.lua:83 in (field) getactionfn (Lua) <60-117>
scripts/behaviours/doaction.lua:22 in (method) Visit (Lua) <19-58>
scripts/behaviours/chattynode.lua:25 in (method) Visit (Lua) <23-90>
scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
scripts/behaviourtree.lua:671 in (method) Visit (Lua) <661-690>
scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
scripts/brain.lua:227 in (method) OnUpdate (Lua) <220-229>
scripts/brain.lua:146 in (method) Update (Lua) <106-157>
scripts/update.lua:292 in () ? (Lua) <224-298>
[00:05:11]: CURL ERROR: (fireleaves.cn) [28]Resolving timed out after 5063 milliseconds