Recette

Wiki Project Zomboid

Démonter

Nom variable Dismantle Flashlight Mod Vanilla Vanilla Cat. Electrical Time 30

Recette

Ingrédients

DétruireTorche / Lampe torche
Garder[Recipe.GetItemTypes.Screwdriver]

Résultat

Condition

Aucune compétence requise.

Résumé
Nom affichéDémonter
Nom variableDismantle Flashlight
ModVanilla — Vanilla
CatégorieElectrical
Temps30
OnCreate
OnTest
Sound
Anim
Voir les détails techniques
ModuleBase
Sourcescripts\recipes.txt
lignes: 635 → 649
Recipe PK4068
Recipe Sigc264f8b8a30e24372272cae37be404bb9d57f2e9

Callbacks

OnCreateRecipe.OnCreate.DismantleFlashlight
OnGiveXPRecipe.OnGiveXP.DismantleElectronics
OnTestRecipe.OnTest.DismantleElectronics
Prop1Screwdriver
Prop2Source=1

Raw block

   recipe Dismantle Flashlight
   {
      destroy Torch/HandTorch,
      keep [Recipe.GetItemTypes.Screwdriver],

      Result:ElectronicsScrap,
      Time:30.0,
      OnTest:Recipe.OnTest.DismantleElectronics,
      OnGiveXP:Recipe.OnGiveXP.DismantleElectronics,
      OnCreate:Recipe.OnCreate.DismantleFlashlight,
      Category:Electrical,
      AnimNode:Disassemble,
      Prop1:Screwdriver,
      Prop2:Source=1,
   }