Jump to content

Recommended Posts

Yeah.. I have no idea where to start with a custom item. I want to make it a teddy bear that people can equip that sits on your head so you regen sanity. I have no idea how to make This appear in the inventory of a character or anything... Does anyone have a template/ tutorial they could lead me to?


And I'm not good at scripting plus I don't know how to make the art work. soo

Link to comment
https://forums.kleientertainment.com/forums/topic/50003-custom-item/
Share on other sites

I've been searching for such tutorial but couldn't find any.

I did finally make one hat - I learned from Klei's bee hat example in the Downloads section (in this site).

Currently the download section is down, though.

 

Edit:

It's up now.

Here it is http://forums.kleientertainment.com/files/file/373-hat-example/

You may need to tweak it abit to make it work with your png files. Good luck!

Edited by SenL

@Crestonia, you may want to take a look at my Soulmates mod (http://steamcommunity.com/sharedfiles/filedetails/?id=350811795) as an example of how make a custom item.

 

Hello there!

 

I checked all the links you gave there. Still doesn't solve my problem. 

I have made a hand-slot item working correclty.. but can't figure out how to make placer one. Like campfire, science machine etc.... 

 

So there are the things about the item:

 

*has sanity/insanity aura - this I know how to do...

*It's placable (like capfire)

*It has light aura (little of light, like willow's lighter) - NO idea how to make the light as well D: I checked all campfires, torches, lantern and other DS luas... None of combination works.. I know I need myitem.lua prefab and connected with it - myitemfire.lua prefab right? 

 

Item I made is based on hand-slot one a bit. It doesn't crash the game BUT it doesn't work as well.. It looks like this: I can't PLACE the item on the ground. When i DROP it it starts to fly away - just moving to the top of screen... 

 

Sorry for the lenght but I just have no idea what to add :/ guess my coding skills suck...

https://github.com/kleientertainment/ds_assets/tree/master/builds

It's where I got all the builds to make characters and hats in Spriter for my own mods (thanks, Cheerio).

Take whichever hat you feel it would be easiest to draw over, save the images to your hat's folder, creating another folder called "swap_yourhatsname" inside, and putting the images in there. Create the .scml files outside the swap_yourhatsname folder (to do this, create new text documents, open the .scmls for the original hat, and copy/paste the code inside to the text documents, simply renaming them hat_yourhatsname.scml, and hat_yourhatsname_swap.scml by changing "txt" to "scml". You can open .scmls in Notepad++ to change something inside the code, btw).

 

Open the hat images in your art program of choice, draw over them, and save them once you feel you've gotten the art the way you like it. Put the hat folder in the DST mods folder, and open DST (I almost forgot to mention: you're going to need Don't Starve mod tools on Steam, but I guess I assumed you already had it). Let the autocompiler put your new hat together, and then close DST once it comes up. You will now have an "anim" folder in your hat's folder with the files "hat_yourhatsname.zip", and "hat_yourhatsname_swap.zip". You only need hat_yourhatsname.zip, but I recommend keeping the swap around your computer just in case.

 

create a prefab for the hat in your character's scripts/prefabs folder (at this point, might I add, you can just rename the hat "yourhatsname", if you please). Create another .txt document called "yourhatsname.txt", and put the following code inside:

local assets={    Asset("ANIM", "anim/yourhatsname.zip"),    Asset("ATLAS", "images/inventoryimages/yourhatsname.xml"),}local function onequip(inst, owner)        owner.AnimState:OverrideSymbol("swap_hat", "yourhatsname", "swap_hat")        owner.AnimState:Show("HAT")        owner.AnimState:Show("HAT_HAIR")        owner.AnimState:Hide("HAIR_NOHAT")        owner.AnimState:Hide("HAIR")                  if owner:HasTag("player") then         owner.AnimState:Hide("HEAD")         owner.AnimState:Show("HEAD_HAIR")     end        endlocal function onunequip(inst, owner)        owner.AnimState:Hide("HAT")        owner.AnimState:Hide("HAT_HAIR")        owner.AnimState:Show("HAIR_NOHAT")        owner.AnimState:Show("HAIR")                if owner:HasTag("player") then            owner.AnimState:Show("HEAD")            owner.AnimState:Hide("HEAD_HAIR")        end        end        local function fn(Sim)    local inst = CreateEntity()    local trans = inst.entity:AddTransform()    local anim = inst.entity:AddAnimState()    MakeInventoryPhysics(inst)    inst:AddTag("hat")        anim:SetBank("(whichever hat you copied over)")    anim:SetBuild("yourhatsname")    anim:PlayAnimation("anim")          inst:AddComponent("inspectable")        inst:AddTag("irreplaceable")        inst:AddComponent("inventoryitem")    inst.components.inventoryitem.atlasname = "images/inventoryimages/yourhatsname.xml"        inst:AddComponent("dapperness")    inst.components.dapperness.dapperness = TUNING.DAPPERNESS_MED --(This will give your hat sanity restoring powers!)        inst:AddComponent("equippable")    inst.components.equippable.equipslot = EQUIPSLOTS.HEAD        inst.components.equippable:SetOnEquip( onequip )    inst.components.equippable:SetOnUnequip( onunequip )        return instendreturn Prefab( "common/inventory/yourhatsname", fn, assets)

Don't forget to make an inventory image for your hat (in your character's image folder, make an "inventoryimages" folder, and put a 64x64 size image of your hat inside), and don't forget to change all instances of "yourhatsname" with your hat's actual name.

 

Boom, hat. I'm sorry this was so long, and if you have any questions (which you probably do, 'cause I suck at explanations), feel free to ask.

 

Edit: I almost forgot that you need to make your inventoryimage a .tex file, heh. Get Matt's TexTool in the "Downloads" section (just look up "textool"), open TEXCreator, add the image, choose an output directory, and convert. Put the .tex back in the inventoryimages folder, and, uh, there's supposed to be a .xml that comes with it, but if one doesn't get created, tell me and I'll make one for you, lol.

Edited by Worthington

@SenL I'm sorry I have other mods with with my game e.e

[00:00:00]: Starting Up
[00:00:00]: Version: 125063
[00:00:00]: Command Line Arguments: 
[00:00:00]: Don't Starve: 125063 WIN32_STEAM
Build Date: 2015-01-28_14-39-59
[00:00:00]: THREAD - started 'GAClient' (6696)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:10]: THREAD - started 'GAClient' (6376)
[00:00:10]: THREAD - started 'GAClient' (6172)
[00:00:10]: HttpClient::ClientThread::Main()
[00:00:10]: HttpClient::ClientThread::Main()
[00:00:10]: Network tick rate: U=15(2), D=0
[00:00:10]: Network tick rate: U=15(2), D=0
[00:00:10]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Beta\bin\dontstarve_steam.exe is enabled in the firewall.
[00:00:10]: WindowsFirewall - Application already authorized
[00:00:11]: loaded ping_cache
[00:00:11]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)
[00:00:11]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)
[00:00:11]: Offline user name: OU_76561198114310539
[00:00:11]: SteamID: 76561198114310539
[00:00:11]: cGame::InitializeOnMainThread
[00:00:11]: WindowManager::Initialize
[00:00:11]: THREAD - started 'GAClient' (7796)
[00:00:11]: HttpClient::ClientThread::Main()
[00:00:11]: RestoreWindowPosition
[00:00:11]:    Saved Client Pos (47 x 31)
[00:00:11]:    Adjusted Window Pos (39 x 0)
[00:00:11]: EnsureWindowOnScreen
[00:00:11]:    All good.
[00:00:11]: GLInfo
[00:00:11]: ~~~~~~
[00:00:11]: GL_VENDOR: Google Inc.
[00:00:11]: GL_RENDERER: ANGLE (AMD Radeon R4 Graphics)
[00:00:11]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:11]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:11]: THREAD - started 'WindowsInputManager' (1512)
[00:00:11]: OpenGL extensions (19, 19):
[00:00:11]: GL_ANGLE_depth_texture
[00:00:11]: GL_ANGLE_framebuffer_blit
[00:00:11]: GL_ANGLE_framebuffer_multisample
[00:00:11]: GL_ANGLE_instanced_arrays
[00:00:11]: GL_ANGLE_pack_reverse_row_order
[00:00:11]: GL_ANGLE_texture_compression_dxt3
[00:00:11]: GL_ANGLE_texture_compression_dxt5
[00:00:11]: GL_ANGLE_texture_usage
[00:00:11]: GL_ANGLE_translated_shader_source
[00:00:11]: GL_EXT_read_format_bgra
[00:00:11]: GL_EXT_robustness
[00:00:11]: GL_EXT_texture_compression_dxt1
[00:00:11]: GL_EXT_texture_format_BGRA8888
[00:00:11]: GL_EXT_texture_storage
[00:00:11]: GL_OES_get_program_binary
[00:00:11]: GL_OES_packed_depth_stencil
[00:00:11]: GL_OES_rgb8_rgba8
[00:00:11]: GL_OES_standard_derivatives
[00:00:11]: GL_OES_texture_npot
[00:00:11]: GL_MAX_TEXTURE_SIZE = 16384
[00:00:11]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:11]: GL_MAX_RENDERBUFFER_SIZE = 16384
[00:00:11]: GL_MAX_VIEWPORT_DIMS = 16384, 16384
[00:00:11]: GL_MAX_VARYING_VECTORS = 10
[00:00:11]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:11]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:11]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:11]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:11]: 4 compressed texture formats
[00:00:11]: texture format 0x83f0
[00:00:11]: texture format 0x83f1
[00:00:11]: texture format 0x83f2
[00:00:11]: texture format 0x83f3
[00:00:14]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:14]: cGame::StartPlaying
[00:00:15]: LOADING LUA
[00:00:15]: DoLuaFile scripts/main.lua
[00:00:15]: DoLuaFile loading buffer scripts/main.lua
[00:00:19]: scripts/main.lua(167,1) running main.lua
 
[00:00:19]: loaded modindex
[00:00:19]: ModIndex: Beginning normal load sequence.
 
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-347360448
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-353697884
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-355163774
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-356930882
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-357847848
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-357875628
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-358297643
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-359020477
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-359424598
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-359479220
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-359821133
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-360125875
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-360174374
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-360590216
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-361994110
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-362115981
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-362327212
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-363112314
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-364189966
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-364255295
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-364491382
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-366500901
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-367593872
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-368824234
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-369588618
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-369845558
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-371920345
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-373991022
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-374550642
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-375027081
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-375919633
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-376108724
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-376244443
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-377986023
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-378962221
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-379619995
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-380366899
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-380423963
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-381004387
[00:00:20]: ModIndex:GetModsToLoad inserting moddir, workshop-384004189
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-347360448
[00:00:21]: Loading mod: workshop-347360448 (DST Where's My Beefalo?)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-353697884
[00:00:21]: Loading mod: workshop-353697884 (Craftable Gears)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-355163774
[00:00:21]: Loading mod: workshop-355163774 (Player Pooper)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-356930882
[00:00:21]: Loading mod: workshop-356930882 (Infinite Tent Uses)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-357847848
[00:00:21]: Loading mod: workshop-357847848 (Better Boomerang)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-357875628
[00:00:21]: Loading mod: workshop-357875628 (Wall Gates)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-358297643
[00:00:21]: Loading mod: workshop-358297643 (Durable Tools)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-359020477
[00:00:21]: Loading mod: workshop-359020477 (Stay with me, friend!)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-359424598
[00:00:21]: Loading mod: workshop-359424598 (Regeneration)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-359479220
[00:00:21]: Loading mod: workshop-359479220 (Sollyz [DST])
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-359821133
[00:00:21]: Loading mod: workshop-359821133 (Haruz [DST])
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-360125875
[00:00:21]: Loading mod: workshop-360125875 (DST Extra Easy Resurrection Shelter)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-360174374
[00:00:21]: Loading mod: workshop-360174374 (Healing Plus)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-360590216
[00:00:21]: Loading mod: workshop-360590216 (DST Craftable Lighter)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-361994110
[00:00:21]: Loading mod: workshop-361994110 (Bee Nice)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-362115981
[00:00:21]: Loading mod: workshop-362115981 (flower_cave)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-362327212
[00:00:21]: Loading mod: workshop-362327212 (BetterWalls)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-363112314
[00:00:21]: Loading mod: workshop-363112314 (Map Revealer for DST)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-364189966
[00:00:21]: Loading mod: workshop-364189966 (Mitsuru [DST])
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-364255295
[00:00:21]: Loading mod: workshop-364255295 (Auto ReTrap)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-364491382
[00:00:21]: Loading mod: workshop-364491382 (Faroz Character [DST])
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-366500901
[00:00:21]: Loading mod: workshop-366500901 (Pond Manager)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-367593872
[00:00:21]: Loading mod: workshop-367593872 (No More Lag)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-368824234
[00:00:21]: Loading mod: workshop-368824234 (Faroz Glasses [DST])
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-369588618
[00:00:21]: Loading mod: workshop-369588618 (Renewable World)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-369845558
[00:00:21]: Loading mod: workshop-369845558 (50 Saveslots)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-371920345
[00:00:21]: Loading mod: workshop-371920345 ([DST]Auto Catch)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-373991022
[00:00:21]: Loading mod: workshop-373991022 (Global Player Icons)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-374550642
[00:00:21]: Loading mod: workshop-374550642 (Increased Stack size)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-375027081
[00:00:21]: Loading mod: workshop-375027081 (More Storage)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-375919633
[00:00:21]: Loading mod: workshop-375919633 (Additional equipslots)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-376108724
[00:00:21]: Loading mod: workshop-376108724 (Loot-Chance Modifier)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-376244443
[00:00:21]: Loading mod: workshop-376244443 (Saber)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-377986023
[00:00:21]: Loading mod: workshop-377986023 (Crestonia)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-378962221
[00:00:21]: Loading mod: workshop-378962221 (More Inventory)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-379619995
[00:00:21]: Loading mod: workshop-379619995 (Chester Recipe)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-380366899
[00:00:21]: Loading mod: workshop-380366899 (Custom Text)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-380423963
[00:00:21]: Loading mod: workshop-380423963 (Mineable Gems)
[00:00:21]: loaded mod_config_data/modconfiguration_workshop-381004387
[00:00:21]: Loading mod: workshop-381004387 (The Tallbird Mod)
[00:00:21]: Could not load mod_config_data/modconfiguration_workshop-384004189
[00:00:21]: Loading mod: workshop-384004189 (Rosaleana(Custom version))
[00:00:21]: Mod: workshop-379619995 (Chester Recipe) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-379619995 (Chester Recipe)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-379619995 (Chester Recipe) Loading modmain.lua
[00:00:21]: Mod: workshop-347360448 (DST Where's My Beefalo?) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-347360448 (DST Where's My Beefalo?)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-347360448 (DST Where's My Beefalo?) Loading modmain.lua
[00:00:21]: Mod: workshop-369845558 (50 Saveslots) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-369845558 (50 Saveslots)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-369845558 (50 Saveslots) Loading modmain.lua
[00:00:21]: Mod: workshop-371920345 ([DST]Auto Catch) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-371920345 ([DST]Auto Catch)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-371920345 ([DST]Auto Catch) Loading modmain.lua
[00:00:21]: Mod: workshop-369588618 (Renewable World) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-369588618 (Renewable World)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-369588618 (Renewable World) Loading modmain.lua
[00:00:21]: Mod: workshop-368824234 (Faroz Glasses [DST]) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-368824234 (Faroz Glasses [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-368824234 (Faroz Glasses [DST]) Loading modmain.lua
[00:00:21]: Mod: workshop-367593872 (No More Lag) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-367593872 (No More Lag)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-367593872 (No More Lag) Loading modmain.lua
[00:00:21]: Mod: workshop-374550642 (Increased Stack size) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-374550642 (Increased Stack size)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-374550642 (Increased Stack size) Loading modmain.lua
[00:00:21]: Mod: workshop-366500901 (Pond Manager) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-366500901 (Pond Manager)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-366500901 (Pond Manager) Loading modmain.lua
[00:00:21]: modimport: ../mods/workshop-366500901/global.lua
[00:00:21]: modimport: ../mods/workshop-366500901/actions.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/fishingrod/base.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/fishable/base.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/childspawner/base.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/pond/base.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/pond/winter.lua
[00:00:21]: modimport: ../mods/workshop-366500901/configurations/pond/winter.lua
[00:00:21]: modimport: ../mods/workshop-366500901/loottables/pond/winter.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/pond/summer.lua
[00:00:21]: modimport: ../mods/workshop-366500901/configurations/pond/summer.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/pond/spring.lua
[00:00:21]: modimport: ../mods/workshop-366500901/configurations/pond/spring.lua
[00:00:21]: modimport: ../mods/workshop-366500901/data/pond/autumn.lua
[00:00:21]: modimport: ../mods/workshop-366500901/configurations/pond/autumn.lua
[00:00:21]: Mod: workshop-364491382 (Faroz Character [DST]) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-364491382 (Faroz Character [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-364491382 (Faroz Character [DST]) Loading modmain.lua
[00:00:21]: Warning: Mod Character faroz does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:21]: Mod: workshop-375027081 (More Storage) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-375027081 (More Storage)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-375027081 (More Storage) Loading modmain.lua
[00:00:21]: Mod: workshop-376108724 (Loot-Chance Modifier) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-376108724 (Loot-Chance Modifier)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-376108724 (Loot-Chance Modifier) Loading modmain.lua
[00:00:21]: Mod: workshop-380366899 (Custom Text) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-380366899 (Custom Text)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-380366899 (Custom Text) Loading modmain.lua
[00:00:21]: Mod: workshop-380423963 (Mineable Gems) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-380423963 (Mineable Gems)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-380423963 (Mineable Gems) Loading modmain.lua
[00:00:21]: Mod: workshop-375919633 (Additional equipslots) Loading modworldgenmain.lua
[00:00:21]: Mod: workshop-375919633 (Additional equipslots)  Mod had no modworldgenmain.lua. Skipping.
[00:00:21]: Mod: workshop-375919633 (Additional equipslots) Loading modmain.lua
[00:00:22]: Mod: workshop-378962221 (More Inventory) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-378962221 (More Inventory)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-378962221 (More Inventory) Loading modmain.lua
[00:00:22]: Mod: workshop-376244443 (Saber) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-376244443 (Saber)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-376244443 (Saber) Loading modmain.lua
[00:00:22]: Warning: Mod Character saber does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-377986023 (Crestonia) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-377986023 (Crestonia)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-377986023 (Crestonia) Loading modmain.lua
[00:00:22]: Warning: Mod Character crestonia does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-381004387 (The Tallbird Mod) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-381004387 (The Tallbird Mod) Loading modmain.lua
[00:00:22]: Mod: workshop-364255295 (Auto ReTrap) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-364255295 (Auto ReTrap)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-364255295 (Auto ReTrap) Loading modmain.lua
[00:00:22]: Mod: workshop-363112314 (Map Revealer for DST) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-363112314 (Map Revealer for DST)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-363112314 (Map Revealer for DST) Loading modmain.lua
[00:00:22]: Mod: workshop-357875628 (Wall Gates) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-357875628 (Wall Gates)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-357875628 (Wall Gates) Loading modmain.lua
[00:00:22]: Mod: workshop-358297643 (Durable Tools) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-358297643 (Durable Tools)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-358297643 (Durable Tools) Loading modmain.lua
[00:00:22]: Mod: workshop-359020477 (Stay with me, friend!) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-359020477 (Stay with me, friend!)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-359020477 (Stay with me, friend!) Loading modmain.lua
[00:00:22]: Mod: workshop-359424598 (Regeneration) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-359424598 (Regeneration)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-359424598 (Regeneration) Loading modmain.lua
[00:00:22]: Mod: workshop-357847848 (Better Boomerang) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-357847848 (Better Boomerang)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-357847848 (Better Boomerang) Loading modmain.lua
[00:00:22]: Mod: workshop-355163774 (Player Pooper) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-355163774 (Player Pooper)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-355163774 (Player Pooper) Loading modmain.lua
[00:00:22]: Mod: workshop-356930882 (Infinite Tent Uses) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-356930882 (Infinite Tent Uses)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-356930882 (Infinite Tent Uses) Loading modmain.lua
[00:00:22]: Mod: workshop-353697884 (Craftable Gears) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-353697884 (Craftable Gears)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-353697884 (Craftable Gears) Loading modmain.lua
[00:00:22]: Mod: workshop-364189966 (Mitsuru [DST]) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-364189966 (Mitsuru [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-364189966 (Mitsuru [DST]) Loading modmain.lua
[00:00:22]: Warning: Mod Character mitsuru does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-359479220 (Sollyz [DST]) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-359479220 (Sollyz [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-359479220 (Sollyz [DST]) Loading modmain.lua
[00:00:22]: Warning: Mod Character sollyz does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-384004189 (Rosaleana(Custom version)) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-384004189 (Rosaleana(Custom version))  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-384004189 (Rosaleana(Custom version)) Loading modmain.lua
[00:00:22]: Warning: Mod Character rosaleana does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-359821133 (Haruz [DST]) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-359821133 (Haruz [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-359821133 (Haruz [DST]) Loading modmain.lua
[00:00:22]: Warning: Mod Character haruz does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:22]: Mod: workshop-362115981 (flower_cave) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-362115981 (flower_cave)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-362115981 (flower_cave) Loading modmain.lua
[00:00:22]: Mod: workshop-360590216 (DST Craftable Lighter) Loading modworldgenmain.lua
[00:00:22]: Mod: workshop-360590216 (DST Craftable Lighter)  Mod had no modworldgenmain.lua. Skipping.
[00:00:22]: Mod: workshop-360590216 (DST Craftable Lighter) Loading modmain.lua
[00:00:23]: Mod: workshop-361994110 (Bee Nice) Loading modworldgenmain.lua
[00:00:23]: Mod: workshop-361994110 (Bee Nice)  Mod had no modworldgenmain.lua. Skipping.
[00:00:23]: Mod: workshop-361994110 (Bee Nice) Loading modmain.lua
[00:00:23]: Mod: workshop-360125875 (DST Extra Easy Resurrection Shelter) Loading modworldgenmain.lua
[00:00:23]: Mod: workshop-360125875 (DST Extra Easy Resurrection Shelter)  Mod had no modworldgenmain.lua. Skipping.
[00:00:23]: Mod: workshop-360125875 (DST Extra Easy Resurrection Shelter) Loading modmain.lua
[00:00:23]: Mod: workshop-360174374 (Healing Plus) Loading modworldgenmain.lua
[00:00:23]: Mod: workshop-360174374 (Healing Plus)  Mod had no modworldgenmain.lua. Skipping.
[00:00:23]: Mod: workshop-360174374 (Healing Plus) Loading modmain.lua
[00:00:23]: Mod: workshop-362327212 (BetterWalls) Loading modworldgenmain.lua
[00:00:23]: Mod: workshop-362327212 (BetterWalls)  Mod had no modworldgenmain.lua. Skipping.
[00:00:23]: Mod: workshop-362327212 (BetterWalls) Loading modmain.lua
[00:00:23]: Mod: workshop-373991022 (Global Player Icons) Loading modworldgenmain.lua
[00:00:23]: Mod: workshop-373991022 (Global Player Icons)  Mod had no modworldgenmain.lua. Skipping.
[00:00:23]: Mod: workshop-373991022 (Global Player Icons) Loading modmain.lua
[00:00:27]: LOADING LUA SUCCESS
[00:00:27]: PlayerDeaths loaded morgue 4459
[00:00:28]: loaded profile
[00:00:28]: bloom_enabled false
[00:00:28]: loaded saveindex
[00:00:28]: OnFilesLoaded()
[00:00:28]: OnUpdatePurchaseStateComplete
[00:00:28]: Unload BE
[00:00:28]: Could not unload undefined prefab 0x4374c56c (yellowstaff)
[00:00:28]: Could not unload undefined prefab 0x36768a92 (orangestaff)
[00:00:28]: Could not unload undefined prefab 0x378bda50 (wall_wood_item)
[00:00:28]: Could not unload undefined prefab 0x8cc766ef (pumpkin_lantern)
[00:00:28]: Could not unload undefined prefab 0xe2bfa46 (tophat)
[00:00:28]: Could not unload undefined prefab 0x7f46d7c0 (batbat)
[00:00:28]: Could not unload undefined prefab 0xcceee6c3 (cutstone)
[00:00:28]: Could not unload undefined prefab 0xaf34ecc0 (trunkvest_winter)
[00:00:28]: Could not unload undefined prefab 0x875750ea (turf_road)
[00:00:28]: Could not unload undefined prefab 0xcd7669e5 (nightsword)
[00:00:28]: Could not unload undefined prefab 0xa8b25abc (wall_ruins_item)
[00:00:28]: Could not unload undefined prefab 0xefa57cea (bandage)
[00:00:28]: Could not unload undefined prefab 0x86860bc2 (boomerang)
[00:00:28]: Could not unload undefined prefab 0xe51acd32 (lightning_rod)
[00:00:28]: Could not unload undefined prefab 0x947bfcb8 (lightning_rod_placer)
[00:00:28]: Could not unload undefined prefab 0x68ba7100 (researchlab2)
[00:00:28]: Could not unload undefined prefab 0x3386a16a (researchlab2_placer)
[00:00:28]: Could not unload undefined prefab 0xe490ce6b (book_tentacles)
[00:00:28]: Could not unload undefined prefab 0x3f5176c5 (firepit)
[00:00:28]: Could not unload undefined prefab 0x8a462465 (firepit_placer)
[00:00:28]: Could not unload undefined prefab 0xe87e06c0 (icebox)
[00:00:28]: Could not unload undefined prefab 0xf2bd1baa (icebox_placer)
[00:00:28]: Could not unload undefined prefab 0xbea16a01 (hambat)
[00:00:28]: Could not unload undefined prefab 0xb4aeae54 (mech_hay_item)
[00:00:28]: Could not unload undefined prefab 0x10473739 (spear)
[00:00:28]: Could not unload undefined prefab 0x8d44bbad (cookpot)
[00:00:28]: Could not unload undefined prefab 0x30d2f57d (cookpot_placer)
[00:00:28]: Could not unload undefined prefab 0x89c20b1b (telebase)
[00:00:28]: Could not unload undefined prefab 0x868a468f (telebase_placer)
[00:00:28]: Could not unload undefined prefab 0x9d92cce (purpleamulet)
[00:00:28]: Could not unload undefined prefab 0xcf1626 (rabbithouse)
[00:00:28]: Could not unload undefined prefab 0x1aa31ec4 (rabbithouse_placer)
[00:00:28]: Could not unload undefined prefab 0xe474f23c (armormarble)
[00:00:28]: Could not unload undefined prefab 0x3ccdbe75 (icestaff)
[00:00:28]: Could not unload undefined prefab 0x68ba7101 (researchlab3)
[00:00:28]: Could not unload undefined prefab 0xd6985329 (researchlab3_placer)
[00:00:28]: Could not unload undefined prefab 0x5c7109da (locked_mech_stone_item)
[00:00:28]: Could not unload undefined prefab 0x21bf03b1 (thulecite)
[00:00:28]: Could not unload undefined prefab 0x539e9e8a (trunkvest_summer)
[00:00:28]: Could not unload undefined prefab 0xec43b9f4 (sewing_kit)
[00:00:28]: Could not unload undefined prefab 0x761a1799 (gunpowder)
[00:00:28]: Could not unload undefined prefab 0x9a99c7b7 (armorgrass)
[00:00:28]: Could not unload undefined prefab 0x8c71ac9e (tallbirdnest)
[00:00:28]: Could not unload undefined prefab 0x18f25a4c (tallbirdnest_placer)
[00:00:28]: Could not unload undefined prefab 0xda17c8e8 (armorslurper)
[00:00:28]: Could not unload undefined prefab 0x47611d71 (sweatervest)
[00:00:28]: Could not unload undefined prefab 0x85181f7c (minerhat)
[00:00:28]: Could not unload undefined prefab 0xe8f381a1 (turf_checkerfloor)
[00:00:28]: Could not unload undefined prefab 0x80cb1e18 (featherhat)
[00:00:28]: Could not unload undefined prefab 0x2e264dbc (blowdart_pipe)
[00:00:28]: Could not unload undefined prefab 0xc4101586 (hammer)
[00:00:28]: Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)
[00:00:28]: Could not unload undefined prefab 0xfbaefa0e (rainometer)
[00:00:28]: Could not unload undefined prefab 0xeea990dc (rainometer_placer)
[00:00:28]: Could not unload undefined prefab 0x7fcb037d (greenstaff)
[00:00:28]: Could not unload undefined prefab 0xa90e8c50 (lifeinjector)
[00:00:28]: Could not unload undefined prefab 0x3c935451 (eyeturret_item)
[00:00:28]: Could not unload undefined prefab 0xcba65752 (amulet)
[00:00:28]: Could not unload undefined prefab 0xe16c07d0 (ruinshat)
[00:00:28]: Could not unload undefined prefab 0xcad92460 (flowerhat)
[00:00:28]: Could not unload undefined prefab 0xb1591875 (greenamulet)
[00:00:28]: Could not unload undefined prefab 0xdac7fbf5 (birdcage)
[00:00:28]: Could not unload undefined prefab 0xe1f9b335 (birdcage_placer)
[00:00:28]: Could not unload undefined prefab 0x68ba7102 (researchlab4)
[00:00:28]: Could not unload undefined prefab 0x79aa04e8 (researchlab4_placer)
[00:00:28]: Could not unload undefined prefab 0xe04f8f23 (mech_wood_item)
[00:00:28]: Could not unload undefined prefab 0x1cba00e4 (chester_eyebone)
[00:00:28]: Could not unload undefined prefab 0x2c158f7c (torch)
[00:00:28]: Could not unload undefined prefab 0x265d1455 (turf_woodfloor)
[00:00:28]: Could not unload undefined prefab 0x9a0ed246 (yellowamulet)
[00:00:28]: Could not unload undefined prefab 0x7938ee15 (lighter_1)
[00:00:28]: Could not unload undefined prefab 0x9a6718eb (resurrectionstatue)
[00:00:28]: Could not unload undefined prefab 0x6b0c64bf (resurrectionstatue_placer)
[00:00:28]: Could not unload undefined prefab 0xdfb37276 (telestaff)
[00:00:28]: Could not unload undefined prefab 0x3f6c9ebb (diviningrod)
[00:00:28]: Could not unload undefined prefab 0xdf809124 (gears)
[00:00:28]: Could not unload undefined prefab 0xe5936c6a (firestaff)
[00:00:28]: Could not unload undefined prefab 0x34fb4f82 (pitchfork)
[00:00:28]: Could not unload undefined prefab 0x3d4d1dc6 (bedroll_straw)
[00:00:28]: Could not unload undefined prefab 0xadfdb7ae (armor_sanity)
[00:00:28]: Could not unload undefined prefab 0xf8e41fa9 (bedroll_furry)
[00:00:28]: Could not unload undefined prefab 0x5ce426c4 (blowdart_fire)
[00:00:28]: Could not unload undefined prefab 0x5fe8b7ef (mech_stone_item)
[00:00:28]: Could not unload undefined prefab 0x4740cff7 (tent)
[00:00:28]: Could not unload undefined prefab 0xb4d742b3 (tent_placer)
[00:00:28]: Could not unload undefined prefab 0x62a5e7fe (nightlight)
[00:00:28]: Could not unload undefined prefab 0x185806ec (nightlight_placer)
[00:00:28]: Could not unload undefined prefab 0xa1e54a85 (goldenaxe)
[00:00:28]: Could not unload undefined prefab 0x1c70505f (locked_mech_moonrock_item)
[00:00:28]: Could not unload undefined prefab 0xe6af29d2 (compass)
[00:00:28]: Could not unload undefined prefab 0x19c004b2 (pighouse)
[00:00:28]: Could not unload undefined prefab 0x469fe538 (pighouse_placer)
[00:00:28]: Could not unload undefined prefab 0xca16846d (boards)
[00:00:28]: Could not unload undefined prefab 0xfa14dec6 (birdtrap)
[00:00:28]: Could not unload undefined prefab 0x7c11af2 (treasurechest)
[00:00:28]: Could not unload undefined prefab 0xd411bef8 (treasurechest_placer)
[00:00:28]: Could not unload undefined prefab 0xef21c9f2 (rope)
[00:00:28]: Could not unload undefined prefab 0xb981ecda (fast_farmplot)
[00:00:28]: Could not unload undefined prefab 0x2639673 (farmplot_placer)
[00:00:28]: Could not unload undefined prefab 0xbcfca634 (strawhat)
[00:00:28]: Could not unload undefined prefab 0x111db7ae (footballhat)
[00:00:28]: Could not unload undefined prefab 0x68370bd6 (trap_teeth)
[00:00:28]: Could not unload undefined prefab 0x62fde398 (r_shelter)
[00:00:28]: Could not unload undefined prefab 0xf22c38d2 (r_shelter_placer)
[00:00:28]: Could not unload undefined prefab 0xb6201ac9 (onemanband)
[00:00:28]: Could not unload undefined prefab 0x1cd9e60e (razor)
[00:00:28]: Could not unload undefined prefab 0xd8067599 (beehat)
[00:00:28]: Could not unload undefined prefab 0xc3bf310c (blueamulet)
[00:00:28]: Could not unload undefined prefab 0xb82382d1 (faroz_gls)
[00:00:28]: Could not unload undefined prefab 0x303bfdce (axe)
[00:00:28]: Could not unload undefined prefab 0x15220700 (backpack)
[00:00:28]: Could not unload undefined prefab 0x94cf6c04 (goldenpickaxe)
[00:00:28]: Could not unload undefined prefab 0x1541c9cc (armorruins)
[00:00:28]: Could not unload undefined prefab 0xd5201c09 (beebox)
[00:00:28]: Could not unload undefined prefab 0x753b7621 (beebox_placer)
[00:00:28]: Could not unload undefined prefab 0xb918c5fd (fishingrod)
[00:00:28]: Could not unload undefined prefab 0xfdcabd86 (earmuffshat)
[00:00:28]: Could not unload undefined prefab 0x69afe33b (book_brimstone)
[00:00:28]: Could not unload undefined prefab 0x5a59f5cc (goldenshovel)
[00:00:28]: Could not unload undefined prefab 0x34a58be1 (book_sleep)
[00:00:28]: Could not unload undefined prefab 0x4d9a964d (trap)
[00:00:28]: Could not unload undefined prefab 0x4685284 (umbrella)
[00:00:28]: Could not unload undefined prefab 0xda1f7edf (winterometer)
[00:00:28]: Could not unload undefined prefab 0x955229cb (winterometer_placer)
[00:00:28]: Could not unload undefined prefab 0xa3ec4f57 (book_gardening)
[00:00:28]: Could not unload undefined prefab 0xf4eb0943 (shovel)
[00:00:28]: Could not unload undefined prefab 0x3949a42 (meatrack)
[00:00:28]: Could not unload undefined prefab 0x56340ba8 (meatrack_placer)
[00:00:28]: Could not unload undefined prefab 0xbc429ef3 (bushhat)
[00:00:28]: Could not unload undefined prefab 0x1daa5ab7 (turf_carpetfloor)
[00:00:28]: Could not unload undefined prefab 0xde4bc7e7 (wall_hay_item)
[00:00:28]: Could not unload undefined prefab 0xb1fa364d (pickaxe)
[00:00:28]: Could not unload undefined prefab 0x3cb06493 (healingsalve)
[00:00:28]: Could not unload undefined prefab 0xd52a420a (mech_moonrock_item)
[00:00:28]: Could not unload undefined prefab 0x37c31aa6 (lantern)
[00:00:28]: Could not unload undefined prefab 0xe5aedaa9 (mech_ruins_item)
[00:00:28]: Could not unload undefined prefab 0x76d26529 (bugnet)
[00:00:28]: Could not unload undefined prefab 0x3edae42e (multitool_axe_pickaxe)
[00:00:28]: Could not unload undefined prefab 0x7f2d088c (armorwood)
[00:00:28]: Could not unload undefined prefab 0xa0c84037 (wall_moonrock_item)
[00:00:28]: Could not unload undefined prefab 0x1c48b877 (campfire)
[00:00:28]: Could not unload undefined prefab 0xdfe3a33 (campfire_placer)
[00:00:28]: Could not unload undefined prefab 0x1153dbb9 (pottedfern)
[00:00:28]: Could not unload undefined prefab 0xf2102a71 (pottedfern_placer)
[00:00:28]: Could not unload undefined prefab 0x2ca456a0 (orangeamulet)
[00:00:28]: Could not unload undefined prefab 0x739fbe3c (homesign)
[00:00:28]: Could not unload undefined prefab 0x33fdbd2e (homesign_placer)
[00:00:28]: Could not unload undefined prefab 0xcda99af6 (winterhat)
[00:00:28]: Could not unload undefined prefab 0x8bbc7f55 (beemine)
[00:00:28]: Could not unload undefined prefab 0xbd603add (reviver)
[00:00:28]: Could not unload undefined prefab 0x75370b6 (papyrus)
[00:00:28]: Could not unload undefined prefab 0xfb180669 (blowdart_sleep)
[00:00:28]: Could not unload undefined prefab 0x38967bb2 (researchlab)
[00:00:28]: Could not unload undefined prefab 0x77e9ae38 (researchlab_placer)
[00:00:28]: Could not unload undefined prefab 0x2cc493e4 (book_birds)
[00:00:28]: Could not unload undefined prefab 0xdf13a0c1 (ruins_bat)
[00:00:28]: Could not unload undefined prefab 0x22ec3802 (wall_stone_item)
[00:00:28]: Could not unload undefined prefab 0x46094f1b (beefalohat)
[00:00:28]: Could not unload undefined prefab 0x263bc4d5 (slow_farmplot)
[00:00:28]: Could not unload undefined prefab 0x2639673 (farmplot_placer)
[00:00:28]: Could not unload undefined prefab 0xe5071541 (nightmare_timepiece)
[00:00:28]: Could not unload undefined prefab 0x2e54b535 (cane)
[00:00:28]: Could not unload undefined prefab 0x2ae7e3b3 (purplegem)
[00:00:28]: Could not unload undefined prefab 0x6f21e747 (piggyback)
[00:00:28]: Could not unload undefined prefab 0xe2372c94 (locked_mech_ruins_item)
[00:00:28]: Could not unload undefined prefab 0xdb20fa95 (heatrock)
[00:00:28]: Could not unload undefined prefab 0xf0330963 (panflute)
[00:00:28]: Could not unload undefined prefab 0x33ab6997 (hud)
[00:00:28]: Could not unload undefined prefab 0x3364203d (forest)
[00:00:28]: Could not unload undefined prefab 0x2e5cb72d (cave)
[00:00:28]: Could not unload undefined prefab 0x40b82ff2 (maxwell)
[00:00:28]: Could not unload undefined prefab 0xbddda476 (fire)
[00:00:28]: Could not unload undefined prefab 0x1078732c (character_fire)
[00:00:28]: Could not unload undefined prefab 0x427b5b39 (shatter)
[00:00:28]: Unload BE done
[00:00:51]: Mod: workshop-379619995 (Chester Recipe) Registering prefabs
[00:00:51]: Mod: workshop-379619995 (Chester Recipe)  Registering default mod prefab
[00:00:51]: Mod: workshop-347360448 (DST Where's My Beefalo?) Registering prefabs
[00:00:51]: Mod: workshop-347360448 (DST Where's My Beefalo?)  Registering default mod prefab
[00:00:52]: Mod: workshop-369845558 (50 Saveslots) Registering prefabs
[00:00:52]: Mod: workshop-369845558 (50 Saveslots)  Registering default mod prefab
[00:00:52]: Mod: workshop-371920345 ([DST]Auto Catch) Registering prefabs
[00:00:52]: Mod: workshop-371920345 ([DST]Auto Catch)  Registering default mod prefab
[00:00:52]: Mod: workshop-369588618 (Renewable World) Registering prefabs
[00:00:52]: Mod: workshop-369588618 (Renewable World)  Registering default mod prefab
[00:00:52]: Mod: workshop-368824234 (Faroz Glasses [DST]) Registering prefabs
[00:00:52]: Mod: workshop-368824234 (Faroz Glasses [DST])  Registering prefab file: prefabs/faroz_gls
[00:00:52]: Mod: workshop-368824234 (Faroz Glasses [DST])    faroz_gls
[00:00:52]: Mod: workshop-368824234 (Faroz Glasses [DST])  Registering default mod prefab
[00:00:52]: Mod: workshop-367593872 (No More Lag) Registering prefabs
[00:00:52]: Mod: workshop-367593872 (No More Lag)  Registering default mod prefab
[00:00:52]: Mod: workshop-374550642 (Increased Stack size) Registering prefabs
[00:00:52]: Mod: workshop-374550642 (Increased Stack size)  Registering default mod prefab
[00:00:52]: Mod: workshop-366500901 (Pond Manager) Registering prefabs
[00:00:52]: Mod: workshop-366500901 (Pond Manager)  Registering default mod prefab
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST]) Registering prefabs
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST])  Registering prefab file: prefabs/faroz
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST])    faroz
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST])  Registering prefab file: prefabs/faroz_gls
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST])    faroz_gls
[00:00:52]: Mod: workshop-364491382 (Faroz Character [DST])  Registering default mod prefab
[00:00:54]: Mod: workshop-375027081 (More Storage) Registering prefabs
[00:00:54]: Mod: workshop-375027081 (More Storage)  Registering default mod prefab
[00:00:54]: [string "scripts/util.lua"]:292: Could not find an asset matching images/container.xml in any of the search paths.
LUA ERROR stack traceback:
=[C]:-1 in (global) assert © <-1--1>
scripts/util.lua:292 in (global) resolvefilepath (Lua) <290-294>
   filepath = images/container.xml
   resolved = nil
scripts/mainfunctions.lua:72 in (global) RegisterPrefabs (Lua) <67-82>
   arg = nil
   i = 1
   prefab = Prefab MOD_workshop-375027081 - 
   i = 1
   asset = table: 0CA48BA8
scripts/mods.lua:478 in (method) RegisterPrefabs (Lua) <441-484>
   self =
      records = table: 0BB1B7B0
      worldgen = false
      mods = table: 0BB1B3F0
      enabledmods = table: 0BB1B828
      modnames = table: 0BB1B418
      loadedprefabs = table: 0BB1B508
      failedmods = table: 0BB1B468
   i = 11
   modname = workshop-375027081
   mod = table: 0C99EB60
   prefabnames = table: 159C4170
scripts/gamelogic.lua:158 in (upvalue) LoadAssets (Lua) <112-203>
   asset_set = FRONTEND
   load_frontend = true
   in_backend = false
   in_frontend = true
scripts/gamelogic.lua:943 in (upvalue) DoResetAction (Lua) <869-950>
scripts/gamelogic.lua:961 in (local) complete_callback (Lua) <953-962>
scripts/upsell.lua:27 in (global) UpdateGamePurchasedState (Lua) <11-30>
   complete_callback = function - scripts/gamelogic.lua:953
scripts/gamelogic.lua:966 in () ? (Lua) <964-967>
=[C]:-1 in (method) SetPersistentString © <-1--1>
scripts/saveindex.lua:84 in (method) Save (Lua) <81-85>
   self =
      data = table: 11E03920
      current_slot = 1
   callback = function - scripts/gamelogic.lua:964
   data = return {
  last_used_slot=3,
  slots={
    {
      character="rosaleana",
      continue_pending=false,
      current_mode="survival",
      dlc={ REIGN_OF_GIANTS=false },
      modes={ survival={ day=1, file="survival_1", files={ "survival_1" }, world=1 } },
      resurrectors={  },
      save_id="154044811@steam-1422647079-1",
      server={
        description="Modded server. Some mods are not on the Workshop here. Sorry",
        friends_only=false,
        game_mode="survival",
        maxplayers=4,
        name="Erza Scarlet",
        online_mode=true,
        password="",
        pvp=false 
      },
      session_id="0F200131195B14F4",
      snapshots={ interval=3, max=10, version=1 } 
    },
    {
      current_mode="survival",
      dlc={ REIGN_OF_GIANTS=false },
      modes={ survival={ day=1, world=1 } },
      save_id="154044811@steam-1422658373-2",
      server={
        description="Modded server. Some mods are not on the Workshop here. Sorry",
        friends_only=false,
        game_mode="survival",
        maxplayers=4,
        name="Erza Scarlet",
        online_mode=true,
        password="",
        pvp=false 
      },
      session_id="",
      snapshots={ interval=3, max=10, version=1 } 
    },
    {
      continue_pending=false,
      current_mode="survival",
      dlc={ REIGN_OF_GIANTS=false },
      modes={ survival={ day=1, file="survival_3", files={ "survival_3" }, world=1 } },
      save_id="154044811@steam-1422888859-3",
      server={
        description="Modded server. Some mods are not on the Workshop here. Sorry",
        friends_only=false,
        game_mode="survival",
        maxplayers=4,
        name="Erza Scarlet",
        online_mode=true,
        password="",
        pvp=false 
      },
      session_id="06A00169664D55AC",
      snapshots={ interval=3, max=10, version=1 } 
    },
    { modes={  }, save_id="154044811@steam-1422037982-4", server={  } },
    { modes={  }, save_id="154044811@steam-1422037982-5", server={  } },
    {
      dlc={  },
      modes={ survival={  } },
      resurrectors={  },
      save_id="154044811@steam-1420848089-6",
      server={  } 
    },
    {
      dlc={  },
      modes={ survival={  } },
      resurrectors={  },
      save_id="154044811@steam-1420848089-7",
      server={  } 
    },
    {
      dlc={  },
      modes={ survival={  } },
      resurrectors={  },
      save_id="154044811@steam-1420848089-8",
      server={  } 
    },
    {
      dlc={  },
      modes={ survival={  }
[00:00:54]: SCRIPT ERROR! Showing error screen
[00:00:54]: ModIndex: Load sequence finished successfully.
 
[00:00:54]: Reset() returning
[00:00:54]: ../mods/workshop-364491382/images/saveslot_portraits/faroz.tex is 120x104 but compressed textures must have power of 2 dimensions.
[00:00:56]: QueryServerComplete no callback
[00:00:57]: QueryServerComplete no callback
[00:01:27]: unloading prefabs for mod MOD_workshop-379619995
[00:01:27]: unloading prefabs for mod MOD_workshop-347360448
[00:01:27]: unloading prefabs for mod MOD_workshop-369845558
[00:01:27]: unloading prefabs for mod MOD_workshop-371920345
[00:01:27]: unloading prefabs for mod MOD_workshop-369588618
[00:01:27]: unloading prefabs for mod MOD_workshop-368824234
[00:01:27]: unloading prefabs for mod MOD_workshop-367593872
[00:01:27]: unloading prefabs for mod MOD_workshop-374550642
[00:01:27]: unloading prefabs for mod MOD_workshop-366500901
[00:01:27]: unloading prefabs for mod MOD_workshop-364491382
[00:01:28]: Collecting garbage...
[00:01:28]: lua_gc took 0.02 seconds
[00:01:28]: ~NetworkLuaProxy()
[00:01:28]: ~SimLuaProxy()
[00:01:28]: lua_close took 0.06 seconds
[00:01:28]: HttpClient::ClientThread::Main() complete
[00:01:28]: HttpClient::ClientThread::Main() complete
[00:01:28]: HttpClient::ClientThread::Main() complete
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:01:28]: HttpClient::ClientThread::Main() complete
[00:01:28]: Shutting down

@SenL I don't have container.xml and here's the prefab

local assets=
    Asset("ANIM", "anim/hat_bee_bw.zip"),
    Asset("ANIM", "anim/hat_bee_bw_swap.zip"), 
 
    Asset("ATLAS", "images/inventoryimages/hat_bee_bw.xml"),
    Asset("IMAGE", "images/inventoryimages/hat_bee_bw.tex"),
}
 
local prefabs = 
{
}
 
local function fn()
 
    local function OnEquip(inst, owner) 
        owner.AnimState:OverrideSymbol("swap_hat", "hat_bee_bw_swap", "swap_hat")
        owner.AnimState:Show("HAT")
        owner.AnimState:Show("HAT_HAIR")
        owner.AnimState:Hide("HAIR_NOHAT")
        owner.AnimState:Hide("HAIR")
        print('A')
        if owner:HasTag("player") then
            print('B')
            owner.AnimState:Hide("HEAD")
            owner.AnimState:Show("HEAD_HAIR")
        end
    end
 
    local function OnUnequip(inst, owner) 
        owner.AnimState:Hide("HAT")
        owner.AnimState:Hide("HAT_HAIR")
        owner.AnimState:Show("HAIR_NOHAT")
        owner.AnimState:Show("HAIR")
 
        if owner:HasTag("player") then
            owner.AnimState:Show("HEAD")
            owner.AnimState:Hide("HEAD_HAIR")
        end
    end
 
    local inst = CreateEntity()
    local trans = inst.entity:AddTransform()
    local anim = inst.entity:AddAnimState()
    MakeInventoryPhysics(inst)
    
    anim:SetBank("hat_bee_bw")
    anim:SetBuild("hat_bee_bw")
    anim:PlayAnimation("idle")
 
    inst:AddComponent("inventoryitem")
    inst.components.inventoryitem.imagename = "hat_bee_bw"
    inst.components.inventoryitem.atlasname = "images/inventoryimages/hat_bee_bw.xml"
    
    inst:AddComponent("equippable")
    inst.components.equippable.equipslot = EQUIPSLOTS.HEAD
    inst.components.equippable:SetOnEquip(OnEquip)
    inst.components.equippable:SetOnUnequip(OnUnequip)
 
    return inst
end
 
return  Prefab("common/inventory/hat_bee_bw", fn, assets, prefabs)

@Crestonia, disable this mod or update the mod as it's causing the issue.

http://steamcommunity.com/sharedfiles/filedetails/?id=375027081

 

In fact when you are debugging and/or testing your own mod it is wise to disable all mods unless you are specifically altering data of another mod.

 

Also you're missing the following code in your function fn()

inst.entity:AddNetwork()if not TheWorld.ismastersim then    return instend

@Kzisor

Modmain

PrefabFiles = {
    "hat_bee_bw",
}
 
AddSimPostInit( function()
local player_pos = GLOBAL.GetPlayer():GetPosition()
local hat = GLOBAL.SpawnPrefab('hat_bee_bw')
hat.Transform:SetPosition(player_pos.x, player_pos.y, player_pos.z)
end)
Do you want me to post the mod file also?
Edited by Crestonia

@Crestonia, are you trying to make the hat spawn at the players feet when they load into the game? If so I'd skip that and just place it in their inventory; otherwise other players might steal the hat.

 

For reference: GetPlayer() is obsolete it should be ThePlayer.

 

On a side note, you did place the code in the wrong place. It goes here:

    anim:SetBank("hat_bee_bw")    anim:SetBuild("hat_bee_bw")    anim:PlayAnimation("idle")    inst.entity:AddNetwork() if not TheWorld.ismastersim then    return instend    inst:AddComponent("inventoryitem")
Edited by Kzisor

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...