Current location - Recipe Complete Network - Complete cookbook - How to modify the food return in famine single backpack
How to modify the food return in famine single backpack
First of all, let the refrigerator have the function of keeping fresh.

Open the game directory \ data \ dlc0001\ scripts \ tuning.lua file with notepad, and replace extinction _ refrigerator _MULT =-10 with extinction _ refrigerator _MULT = .5.

Then let the backpack have the function of refrigerator.

1. Ordinary backpacks can refrigerate food: use Notepad to open the game directory \ data \ dlc0001\ scripts \ prepaps \ backpack.lua, and insert inst:AddTag ("refrigerator") on the next line of inst:AddComponent("inspectable ").

2. The food packaged by piglets can be refrigerated: use notepad to open the game directory \ data \ dlc0001\ scripts \ prefabs \ piggyback.lua, and insert inst:AddTag ("refrigerator") in the next line of inst:AddComponent("inspectable ").

3.kamps backpack can be refrigerated: use Notepad to open the game directory \ data \ dlc0001\ scripts \ prefabs \ krampus _ sack.lua, and insert inst:AddTag ("refrigerator") in the next line of inst:AddComponent("inspectable ").

Pay attention to the path DLC000 1, Giant Country 000 1, and Beach 0002. Please pay attention to the revision.