Skip to content

Commit

Permalink
Added forage processing
Browse files Browse the repository at this point in the history
  • Loading branch information
DefbeatCZ committed Jan 10, 2020
1 parent 8608973 commit ea671ed
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 2 deletions.
3 changes: 2 additions & 1 deletion media/lua/shared/Translate/EN/Tooltip_EN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ Tooltip_EN = {
Tooltip_LTS_DryingReady = "Ready for the contents to be extracted.",

-- Wood Burner
Tooltip_LTS_BurnerEmpty = "Fill with Wood Bits first.",
Tooltip_LTS_BurnerEmpty = "Fill it first.",
Tooltip_LTS_BurnerWood = "Ready to process.",
Tooltip_LTS_BurnerFull = "Processing Done. WARNING: Take Wood Gas first as it must be released before taking Charcoal.",
Tooltip_LTS_BurnerChar = "Processing Done. Charcoal remaining.",
Tooltip_LTS_BurnerTar = "Processing Done. Full of Pine Tar.",

-- Lighter Fluid
Tooltip_LTS_LighterFluidWet = "Will settle in less than a day. WARNING: Drying ticks are not counted when placed freely on ground !!!",
Expand Down
1 change: 1 addition & 0 deletions media/scripts/LTSChemistry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ module DLTS {
recipe LTS Mix Lighter Fluid Solution {
BakingPan,
LTSCharcoalDust,
LTSPineTar=1,
PetrolCan=1,
Result:LTSLighterFluidProcess,
Time:240.0,
Expand Down
2 changes: 1 addition & 1 deletion media/scripts/LTSFood.txt
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ module DLTS {

recipe LTS Cut Bits of Vegetable {
keep HuntingKnife/KitchenKnife,
Carrots/Onion/RedRadish/Tomato,
Carrots/Onion/RedRadish/Tomato/LTSWildOnion,
Result:LTSBitsVegetable=4,
Sound:PZ_FoodSlicing,
Time:40.0,
Expand Down
134 changes: 134 additions & 0 deletions media/scripts/LTSForaging.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,140 @@ module DLTS {
imports {
Base
}

/** ------------------------------------------------------------------------- **/
/** Foraging: Birch Bark Tea **/

item LTSTeaServingBirch {
Type=Food,
FoodType=Tea,
Weight=0.05,
HungerChange=-5,
DisplayName=Tea (Birch Bark),
Icon=TeaBirch,
EvolvedRecipe=HotDrink:6,
EvolvedRecipeName=Tea,
}

recipe LTS Prepare Tea Serving {
keep HuntingKnife/KitchenKnife,
LTSBirchBark,
Sound:PZ_FoodSlicing,
Result:LTSTeaServingBirch,
Time:90.0,
Category:LTS-Food,
}

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

recipe LTS Smash Nuts into Butter {
keep MortarPestle,
keep HuntingKnife/KitchenKnife,
LTSWildNuts=20,
Result:Butter,
Time:480.0,
Category:LTS-Food,
OnGiveXP:CraftXP_FoodBase,
}

recipe LTS Smash Nuts into Flour {
keep MortarPestle,
keep HuntingKnife/KitchenKnife,
LTSWildNuts=35,
Result:Flour,
Time:480.0,
Category:LTS-Food,
OnGiveXP:CraftXP_FoodBase,
}

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

item LTSPineTar {
Type=Drainable,
UseWhileEquiped=FALSE,
UseDelta=0.2,
DisplayName=Pine Tar,
Icon=PineTar,
canBeConsolidated=TRUE,
ReplaceOnDeplete=EmptyJar,
}

item LTSWoodBurnerCones {
Type=Normal,
Weight=20.0,
DisplayName=Wood Burning Equipment [Pine Cones],
Icon=WoodBurner,
Tooltip=Tooltip_LTS_BurnerWood,
}

item LTSWoodBurnerTar {
Type=Normal,
Weight=20.0,
DisplayName=Wood Burning Equipment [Tar],
Icon=WoodBurner,
Tooltip=Tooltip_LTS_BurnerTar,
}

recipe LTS Fill Burner With Pine Cones {
LTSWoodBurner,
LTSPineCone=24,
LTSWoodBits=3,
Result:LTSWoodBurnerCones,
Time:180.0,
CanBeDoneFromFloor:true,
Category:LTS-Chem,
}

recipe LTS Fire Wood Burner {
LTSWoodBurnerCones,
LTSLighterFluid=3,
Matches/Lighter,
Result:LTSWoodBurnerTar,
Time:640.0,
Sound:PZ_Fire,
CanBeDoneFromFloor:true,
Category:LTS-Chem,
}

recipe LTS Extract Pine Tar {
destroy LTSWoodBurnerTar,
EmptyJar,
Result:LTSPineTar,
Time:120.0,
OnCreate:giveEmptyBurner,
CanBeDoneFromFloor:true,
Category:LTS-Chem,
}

/** ------------------------------------------------------------------------- **/
/** Foraging: HoneyComb Extraction **/

item LTSWildHoney {
Type=Food,
DisplayName=Wild Honey,
Icon=WildHoney,
Weight=0.6,
HungerChange=-30,
EvolvedRecipe=Cake:5;Sandwich:5;Salad:5;Roasted Vegetables:5;Stir fry Griddle Pan:5;Stir fry:5;HotDrink:5,
Carbohydrates=211,
Proteins=0,
Lipids=0,
Calories=820,
FoodType=NoExplicit,
CantBeFrozen=TRUE,
ReplaceOnUse=EmptyJar,
}

recipe LTS Extract Wild Honey {
EmptyJar,
LTSHoneyComb=10,
Water=1,
Result:LTSWildHoney,
Category:LTS-Food,
Time:240.0,
}

/** ------------------------------------------------------------------------- **/
/** Foraging: New Forage-ables **/
Expand Down
Binary file added media/textures/Item_PineTar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/textures/Item_TeaBirch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/textures/Item_WildHoney.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea671ed

Please sign in to comment.