Recette

Wiki Project Zomboid

Déchirer les vêtements

Nom variable Rip Clothing Mod Vanilla Vanilla Time 100

Recette

Ingrédients

Consommé[Recipe.GetItemTypes.RipClothing_Denim]
Garder[Recipe.GetItemTypes.Scissors]

Résultat

Condition

Aucune compétence requise.

Résumé
Nom affichéDéchirer les vêtements
Nom variableRip Clothing
ModVanilla — Vanilla
Catégorie
Temps100
OnCreate
OnTest
SoundClothesRipping
Anim
Voir les détails techniques
ModuleBase
Sourcescripts\recipes.txt
lignes: 3776 → 3789
Recipe PK4315
Recipe Sigc5b615d6c5e0a4e02488f92efb9f92b0f067dda8

Callbacks

InSameInventory1
OnCreateRecipe.OnCreate.RipClothing
OnTestRecipe.OnTest.IsWorn
RemoveResultItem1

Raw block

    recipe Rip Clothing /*this second recipe is so that worn clothing items are not consumed when ripping all clothing*/
    {
        [Recipe.GetItemTypes.RipClothing_Denim],
        keep [Recipe.GetItemTypes.Scissors],

        Result:DenimStrips,
        RemoveResultItem:true,
        InSameInventory:true,
        Sound:ClothesRipping,
        Time:100.0,
        AnimNode:RipSheets,
        OnCreate:Recipe.OnCreate.RipClothing,
		OnTest:Recipe.OnTest.IsWorn,
    }