Ver 0.2.3:

+ Added Fern and Lichen to natural regrowth (default 0.5 days).
+ Added Pig Torch (1 day), Merm Head(1 day), Pig Head(1 day), Broken/Repaired Ancient Station (3 days) to event regrowth.
+ Increased Regrowth Rate:
. Berry bush/Spiky berry bush/Juicy berry bush from 3 days to 2 days
. Evil flowers/Light flowers from 1 day to 0.5 days
+ Decreased Regrowth Rate:
. Flintless boulder from 0.5 days to 1 day
. Beehive from 1 day to 2 days
. Killer bee hive from 2 days to 3 days
. Splumonkey pod from 2 days to 3 days
+ A known bug (possibly a DST bug) that fireflies always give position (0,0,0) in onremove event handler. A confirmed work-around is to store locations during the hooking process. But this is really something DST devs should take care of instead of me.
This commit is contained in:
secXsQuared 2018-03-02 01:59:37 -05:00
parent c1280e69ff
commit f2a87d2826
3 changed files with 50 additions and 27 deletions

9
replace.sh Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
MOD_DIR="mods/workshop-1283844026"
DST_DIR="/mnt/c/Program Files (x86)/Steam/steamapps/common/Don't Starve Together"
if [ -z ${var+x} ]; then echo "DST_ROOT unset. Using default:" $DST_DIR; DST_ROOT=$DST_DIR; else echo DST_ROOT=$DST_ROOT; fi
rm -r "$DST_ROOT/$MOD_DIR/"
mkdir "$DST_ROOT/$MOD_DIR/"
cp -r "./src"/* "$DST_ROOT/$MOD_DIR/"

View File

@ -1,5 +1,5 @@
name = "World Regrowth++"
version = "0.2.2"
version = "0.2.3"
description = "Version "..version.."\nPlease reset the mod configuration after updating from 0.1.X to 0.2.0 and above\n\nWorld regrowth with caves support. Please see the Steam Workshop page for changes notes.\n\nHappy hunting and do starve!"
author = "lolo"
@ -34,21 +34,23 @@ local config_table =
{"mushtree_medium","Red Mushtree",REGROWTH_TYPE.NATURAL, 1},
{"mushtree_small","Green Mushtree", REGROWTH_TYPE.NATURAL, 1},
{"berrybush","Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush2","Spiky Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush_juicy","Juicy Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush","Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"berrybush2","Spiky Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"berrybush_juicy","Juicy Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"carrot_planted","Carrot",REGROWTH_TYPE.NATURAL, 1},
{"flower","Flower",REGROWTH_TYPE.NATURAL, 1},
{"flower_evil","Evil Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave","Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave_double","Double Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave_triple","Triple Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_evil","Evil Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave","Light Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave_double","Double Light Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave_triple","Triple Light Flower",REGROWTH_TYPE.EVENT, 1},
{"blue_mushroom","Blue Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"red_mushroom","Red Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"green_mushroom","Green Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"cactus","Cactus",REGROWTH_TYPE.NATURAL, 2},
{"mandrake_planted","Mandrake",REGROWTH_TYPE.EVENT, 6},
{"cave_fern","Fern",REGROWTH_TYPE.NATURAL, 1},
{"lichen","Lichen",REGROWTH_TYPE.NATURAL, 1},
{"reeds","Reeds",REGROWTH_TYPE.NATURAL, 2},
{"sapling","Sapling",REGROWTH_TYPE.NATURAL, 1},
@ -57,21 +59,24 @@ local config_table =
{"rock1","Boulder",REGROWTH_TYPE.NATURAL, 1},
{"rock2","Gold Vein",REGROWTH_TYPE.NATURAL, 1},
{"rock_flintless","Flintless Boulder",REGROWTH_TYPE.NATURAL, 1},
{"rock_flintless","Flintless Boulder",REGROWTH_TYPE.NATURAL, 2},
{"rock_moon","Moon Rock",REGROWTH_TYPE.NATURAL, 2},
{"stalagmite","Stalagmite",REGROWTH_TYPE.NATURAL, 1},
{"stalagmite_tall","Tall Stalagmite",REGROWTH_TYPE.NATURAL, 1},
{"beehive","Beehive",REGROWTH_TYPE.EVENT, 2},
{"wasphive","Killer Bee Hive",REGROWTH_TYPE.EVENT, 4},
{"beehive","Beehive",REGROWTH_TYPE.EVENT, 4},
{"wasphive","Killer Bee Hive",REGROWTH_TYPE.EVENT, 6},
{"houndmound","Hound Mound",REGROWTH_TYPE.EVENT, 6},
{"pighouse","Pig House",REGROWTH_TYPE.EVENT, 4},
{"mermhouse","Rundown House",REGROWTH_TYPE.EVENT, 6},
{"pighead","Pig Head",REGROWTH_TYPE.EVENT, 2},
{"pigtorch","Pig Torch",REGROWTH_TYPE.EVENT, 2},
{"mermhouse","Rundown House",REGROWTH_TYPE.EVENT, 4},
{"mermhead","Merm Head",REGROWTH_TYPE.EVENT, 2},
{"spiderden","Spider Den",REGROWTH_TYPE.EVENT, 6},
{"catcoonden","Hollow Stump",REGROWTH_TYPE.EVENT, 4},
{"rabbithouse","Rabbit Hutch",REGROWTH_TYPE.EVENT, 4},
{"monkeybarrel","Splumonkey Pod",REGROWTH_TYPE.EVENT, 4},
{"monkeybarrel","Splumonkey Pod",REGROWTH_TYPE.EVENT, 6},
{"slurtlehole", "Slurtle Mound", REGROWTH_TYPE.EVENT, 4},
{"tallbirdnest", "Tallbird Nest", REGROWTH_TYPE.EVENT, 4},
@ -87,7 +92,9 @@ local config_table =
{"ruins_statue_mage","Ancient Mage Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_mage_nogem","Gemless Ancient Mage Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_head","Ancient Head Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_head_nogem", "Gemless Ancient Head Statue", REGROWTH_TYPE.EVENT, 4}
{"ruins_statue_head_nogem", "Gemless Ancient Head Statue", REGROWTH_TYPE.EVENT, 4},
{"ancient_altar", "Ancient Pseudoscience Station", REGROWTH_TYPE.EVENT, 6},
{"ancient_altar_broken", "Broken A. Pseudoscience Station", REGROWTH_TYPE.EVENT, 6}
}

View File

@ -20,21 +20,23 @@ local config_table =
{"mushtree_medium","Red Mushtree",REGROWTH_TYPE.NATURAL, 1},
{"mushtree_small","Green Mushtree", REGROWTH_TYPE.NATURAL, 1},
{"berrybush","Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush2","Spiky Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush_juicy","Juicy Berry Bush",REGROWTH_TYPE.NATURAL, 6},
{"berrybush","Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"berrybush2","Spiky Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"berrybush_juicy","Juicy Berry Bush",REGROWTH_TYPE.NATURAL, 4},
{"carrot_planted","Carrot",REGROWTH_TYPE.NATURAL, 1},
{"flower","Flower",REGROWTH_TYPE.NATURAL, 1},
{"flower_evil","Evil Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave","Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave_double","Double Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_cave_triple","Triple Light Flower",REGROWTH_TYPE.EVENT, 2},
{"flower_evil","Evil Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave","Light Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave_double","Double Light Flower",REGROWTH_TYPE.EVENT, 1},
{"flower_cave_triple","Triple Light Flower",REGROWTH_TYPE.EVENT, 1},
{"blue_mushroom","Blue Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"red_mushroom","Red Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"green_mushroom","Green Mushroom",REGROWTH_TYPE.NATURAL, 1},
{"cactus","Cactus",REGROWTH_TYPE.NATURAL, 2},
{"mandrake_planted","Mandrake",REGROWTH_TYPE.EVENT, 6},
{"cave_fern","Fern",REGROWTH_TYPE.NATURAL, 1},
{"lichen","Lichen",REGROWTH_TYPE.NATURAL, 1},
{"reeds","Reeds",REGROWTH_TYPE.NATURAL, 2},
{"sapling","Sapling",REGROWTH_TYPE.NATURAL, 1},
@ -43,21 +45,24 @@ local config_table =
{"rock1","Boulder",REGROWTH_TYPE.NATURAL, 1},
{"rock2","Gold Vein",REGROWTH_TYPE.NATURAL, 1},
{"rock_flintless","Flintless Boulder",REGROWTH_TYPE.NATURAL, 1},
{"rock_flintless","Flintless Boulder",REGROWTH_TYPE.NATURAL, 2},
{"rock_moon","Moon Rock",REGROWTH_TYPE.NATURAL, 2},
{"stalagmite","Stalagmite",REGROWTH_TYPE.NATURAL, 1},
{"stalagmite_tall","Tall Stalagmite",REGROWTH_TYPE.NATURAL, 1},
{"beehive","Beehive",REGROWTH_TYPE.EVENT, 2},
{"wasphive","Killer Bee Hive",REGROWTH_TYPE.EVENT, 4},
{"beehive","Beehive",REGROWTH_TYPE.EVENT, 4},
{"wasphive","Killer Bee Hive",REGROWTH_TYPE.EVENT, 6},
{"houndmound","Hound Mound",REGROWTH_TYPE.EVENT, 6},
{"pighouse","Pig House",REGROWTH_TYPE.EVENT, 4},
{"mermhouse","Rundown House",REGROWTH_TYPE.EVENT, 6},
{"pighead","Pig Head",REGROWTH_TYPE.EVENT, 2},
{"pigtorch","Pig Torch",REGROWTH_TYPE.EVENT, 2},
{"mermhouse","Rundown House",REGROWTH_TYPE.EVENT, 4},
{"mermhead","Merm Head",REGROWTH_TYPE.EVENT, 2},
{"spiderden","Spider Den",REGROWTH_TYPE.EVENT, 6},
{"catcoonden","Hollow Stump",REGROWTH_TYPE.EVENT, 4},
{"rabbithouse","Rabbit Hutch",REGROWTH_TYPE.EVENT, 4},
{"monkeybarrel","Splumonkey Pod",REGROWTH_TYPE.EVENT, 4},
{"monkeybarrel","Splumonkey Pod",REGROWTH_TYPE.EVENT, 6},
{"slurtlehole", "Slurtle Mound", REGROWTH_TYPE.EVENT, 4},
{"tallbirdnest", "Tallbird Nest", REGROWTH_TYPE.EVENT, 4},
@ -73,7 +78,9 @@ local config_table =
{"ruins_statue_mage","Ancient Mage Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_mage_nogem","Gemless Ancient Mage Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_head","Ancient Head Statue",REGROWTH_TYPE.EVENT, 4},
{"ruins_statue_head_nogem", "Gemless Ancient Head Statue", REGROWTH_TYPE.EVENT, 4}
{"ruins_statue_head_nogem", "Gemless Ancient Head Statue", REGROWTH_TYPE.EVENT, 4},
{"ancient_altar", "Ancient Pseudoscience Station", REGROWTH_TYPE.EVENT, 6},
{"ancient_altar_broken", "Broken A. Pseudoscience Station", REGROWTH_TYPE.EVENT, 6}
}