Recette

Wiki Project Zomboid

Rip Clothing

Nom variable Rip Clothing Mod KAVALASH_Custom Kavalash Custom Mod Time 100

Recette

Ingrédients

Consommé[Recipe.GetItemTypes.RipClothing_Cotton]

Résultat

Condition

Aucune compétence requise.

Résumé
Nom affichéRip Clothing
Nom variableRip Clothing
ModKAVALASH_Custom — Kavalash Custom Mod
Catégorie
Temps100
OnCreate
OnTest
SoundClothesRipping
Anim
Voir les détails techniques
ModuleBase
Sourcemedia\scripts\recipes.txt
lignes: 3682 → 3694
Recipe PK3006
Recipe Sig9eaddb71e6c10ea6385a01e72852c9957766f02f

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_Cotton],

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