文档库 最新最全的文档下载
当前位置:文档库 › 饥荒无敌代码

饥荒无敌代码

GetPlayer().components.builder:GiveAllRecipes()

-------- 全物品直接制造

GetPlayer().components.hungerause(true)

-------------- 不饿

GetPlayer().components.sanity:SetMax(5000)

---------- maximum sanity 慎用,不可取消

GetPlayer().components.health:SetMaxHealth(7000)

---------- 最大血格

下面是开全地图,要输入2个指令才行,每次都要回车执行:

minimap = TheSim:FindFirstEntityWithTag("minimap")

minimap.MiniMap:ShowArea(0,0,0, 10000)

--------

GetPlayer().components.health:SetInvincible(true)

--------- 上帝模式

GetPlayer().components.hunger:SetMaxHunger(7000)

相关文档