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_Denim]
Garder[Recipe.GetItemTypes.Scissors]

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: 3711 → 3724
Recipe PK3008
Recipe Sig13ebd47427f20752bb04397626c57fa79af16eea

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,
    }