Current location - Recipe Complete Network - Complete cookbook - How to use the Famine Ability Medal Code
How to use the Famine Ability Medal Code
The code of Famine Ability Medal is used as follows:

1. When the console system is opened, the default is the ""key, which is the key below Esc;

2. You can also change it yourself. Press ESC, select "Keyboard", then find "Debugging Console" and select your favorite keyboard.

3. Start importing codes. First, generate items, c _ give ("item code", item quantity), and the generated items will be automatically stored in the item column;

4. c _ spawn ("item code", item number), which generates items at the mouse position. This function can not only generate items, but also generate biological buildings.

5.Debugspawn "Item Code" is similar to the previous function, except that only one item can be generated at a time;

6, c _ speed (speed value), set the protagonist speed, the protagonist speed is 6 by default;

7.getplayer()。 Component. Health: setmaxhealth (1000) ",the number in brackets is the blood volume you need to modify. Get the player (). Component. Reason: Set max (50), and the number in brackets is the mental value you need to modify. Similarly, replacing reason with hunger is to change the upper limit of hunger;

8. Description: c_sethealth (percentage). You can set the health value (not the upper limit) as a percentage and use decimals instead of percentages. Example: Set the health value to 50%, and then enter: c_sethealth(0.5).