Skip to content

Commit

Permalink
Added Woodglue recipe, Pine Tar is now used for wood tools/weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
DefbeatCZ committed Jan 10, 2020
1 parent ea671ed commit ff40bcc
Show file tree
Hide file tree
Showing 10 changed files with 166 additions and 31 deletions.
2 changes: 2 additions & 0 deletions media/lua/client/AdjustEmptyObjects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ end

Adjust("Base.Lighter", "ReplaceOnDeplete", "DLTS.LTSDepletedLighter");
Adjust("Base.PropaneTank", "ReplaceOnDeplete", "DLTS.LTSPropaneTankEmpty");
Adjust("Base.Glue", "ReplaceOnDeplete", "DLTS.LTSGlueEmpty");
Adjust("Base.Woodglue", "ReplaceOnDeplete", "DLTS.LTSGlueEmpty");
5 changes: 5 additions & 0 deletions media/lua/server/AdjustFuels.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
require "Camping/camping_fuel";

campingFuelType.LTSUsedLiterature=15/60.0;
campingFuelType.LTSBirchBark=10/60.0;
campingFuelType.LTSPineCone=10/60.0;

campingLightFireType.LTSUsedLiterature = 15/60.0;
campingLightFireType.LTSBirchBark=10/60.0;
campingLightFireType.LTSPineCone=10/60.0;
7 changes: 7 additions & 0 deletions media/scripts/LTSBase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ module DLTS {
Category:LTS-Base,
}

item LTSGlueEmpty {
Type=Normal,
Weight=4.0,
DisplayName=Empty Glue Bottle,
Icon=EmptyGlue,
}

/** ------------------------------------------------------------------------- **/
/** Corpse Disposal: Butcher Corpses to Meat (Poison) **/

Expand Down
31 changes: 31 additions & 0 deletions media/scripts/LTSChemistry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,35 @@ module DLTS {
Category:LTS-Chem,
}

/** ------------------------------------------------------------------------- **/
/** Chemistry: Wood Glue from Pine Tar **/

item LTSGlueMixture {
Type=Drainable,
UseDelta=0.25,
UseWhileEquiped=FALSE,
DisplayName=Glue Mixture,
Icon=GlueMixture,
Weight=0.8,
ReplaceOnDeplete=EmptyJar,
}

recipe LTS Prepare Glue Mixture {
LTSWoodAsh,
LTSPineTar=2,
Water=2,
Vinegar=1,
Result:LTSGlueMixture,
Time:180.0,
Category:LTS-Chem,
}

recipe LTS Fill Wood Glue {
LTSGlueEmpty,
LTSGlueMixture=1,
Result:Woodglue,
Time:180.0,
Category:LTS-Chem,
}

}
2 changes: 1 addition & 1 deletion media/scripts/LTSForaging.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module DLTS {
}

/** ------------------------------------------------------------------------- **/
/** Foraging: Pine Tar Extraction **/
/** Foraging: Nuts Processing **/

recipe LTS Smash Nuts into Butter {
keep MortarPestle,
Expand Down
Loading

0 comments on commit ff40bcc

Please sign in to comment.