Skip to content

Commit

Permalink
Adding Evolved Recipe | Build 41.72
Browse files Browse the repository at this point in the history
  • Loading branch information
kents00 authored Jul 24, 2022
1 parent 6d651d1 commit e4d5f9c
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,62 @@ Here you can see the ingredients are a knife and a fish. `keep` is declared befo

----------------------------------------
### The evolvedrecipe block
The evolved recipe is divided into two parts: the ```thing to be transformed``` and the ```result of the transformation```; we need to create 2 items to do that.

Example, making sandwich using breadslices:
```
item BreadSlices
{
DisplayName = Bread Slices,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = BreadSlices,
DaysFresh = 3,
DaysTotallyRotten = 6,
HungerChange = -10,
Calories = 177,
Carbohydrates = 33,
Lipids = 2.22,
Proteins = 5.9,
WorldStaticModel = BreadSlices,
}
item Sandwich
{
DisplayName = Sandwich,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Sandwich,
DaysFresh = 3,
DaysTotallyRotten = 6,
HungerChange = -10,
Calories = 360,
Carbohydrates = 42,
Lipids = 8.5,
Proteins = 5.8,
StaticModel = Sandwich,
WorldStaticModel = CheeseSandwich,
}
```

Evolved into Sandwich:

```
evolvedrecipe Sandwich
{
BaseItem:BreadSlices,
MaxItems:4,
ResultItem:Sandwich,
Name:Make Sandwich,
}
```

----------------------------------------
### The fixing block
When fixing an item in Project Zomboid Build 41.72, you just need the repair item and the fixer; the template example as follows:
When fixing an item in Project Zomboid Build 41.72, you just need the ```repair item``` and the ```fixer```; the template example as follows:
```
fixing Fix Baseball Bat
{
Expand Down

0 comments on commit e4d5f9c

Please sign in to comment.