Jump to content

[Mod] To Do Chores


Recommended Posts

author is js.seth.h
I just try to support this mod

To Do Chores
 

To do chores, it is painful works but imperatively necessary works for surviving.

 
Features

  • Cut and gather logs, pine cone automatically 
  • Mine gold, rocks, flint, nitro automatically 
  • Pick flint, grass, twigs, berries automatically 
  • Dig grass, berry bush, saplings automatically 
  • Plant grass, berry bush, saplings, pine cone automatically

How To Use

  • Open Widget (default Key "V") 
  • Select Option in widget, column 1 is chores icon, column 2~ is option icon. 
  • Start Chores 
  • Don't Close Widget while do chores 
  • after task end (or when you want), close widget ( Key "V") 

Original - last ver 02.02.2015

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

Modified by me - active

https://github.com/hazestalker/DST-to-do-chores

Link to comment
Share on other sites

[00:03:36]: [string "../mods/To Do Chores by me/scripts/chores-l..."]:227: attempt to index field 'inventoryitem' (a nil value)LUA ERROR stack traceback:../mods/To Do Chores by me/scripts/chores-lib/instance.lua:227 in (method) inventoryitem_CanDeploy (Lua) <223-229>   self =      inst = 101245 - pinecone (valid:false)   pos = (-27.00, 0.00, -39.00)../mods/To Do Chores by me/scripts/widgets/chores.lua:192 in (field) testfn (Lua) <186-193>   pt = (-27.00, 0.00, -39.00)   test_item = 101245 - pinecone (valid:false)../mods/To Do Chores by me/scripts/widgets/chores.lua:199 in (method) OnUpdate (Lua) <197-203>   self =      OnUpdate = function - ../mods/To Do Chores by me/scripts/widgets/chores.lua:197      radius = 1      inst = 101526 - pinecone_placer (valid:true)      invobject = 101245 - pinecone (valid:false)      builder = 100088 - wilson (valid:true)      testfn = function - ../mods/To Do Chores by me/scripts/widgets/chores.lua:186      can_build = true      baseinst = 101526 - pinecone_placer (valid:true)   dt = 0.033333335071802scripts/update.lua:183 in () ? (Lua) <146-219>   dt = 0.033333335071802   tick = 5523   k = 101526   v = 101526 - pinecone_placer (valid:true)   cmp = table: 257F4C90[00:03:36]: [string "../mods/To Do Chores by me/scripts/chores-l..."]:227: attempt to index field 'inventoryitem' (a nil value)LUA ERROR stack traceback:    ../mods/To Do Chores by me/scripts/chores-lib/instance.lua:227 in (method) inventoryitem_CanDeploy (Lua) <223-229>    ../mods/To Do Chores by me/scripts/widgets/chores.lua:192 in (field) testfn (Lua) <186-193>    ../mods/To Do Chores by me/scripts/widgets/chores.lua:199 in (method) OnUpdate (Lua) <197-203>    scripts/update.lua:183 in () ? (Lua) <146-219>	[00:03:36]: SCRIPT ERROR! Showing error screen

The error occurs if you connect to another host and planted several trees (starting with 3 seems) with the help of mod. If you interrupt the process at the last tree, the error does not happen. If the seedling inventory 21 (ie more than 20), the error also appears.

Mods do not conflict, and tested without them.

I read about

if not TheWorld.ismastersim then  return instend
but I did not understand whether it is necessary to me, and if you need some where to insert?

Screenshot of error

Link to comment
Share on other sites

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
 Share

×
  • Create New...