饥荒游戏源代码修改_第1页
饥荒游戏源代码修改_第2页
饥荒游戏源代码修改_第3页
饥荒游戏源代码修改_第4页
饥荒游戏源代码修改_第5页
已阅读5页,还剩231页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1226.10.10.18.Ctrl +1.21.6089685.39.18.22.89685.100%.100%.10.21.3.89685.50%22.22.10.10.10.10.89685.1.327.981.10.22.1060.1.20.H.0%.22.50.18.18.18.418.11110.20.1020.20.1.20.981.1.30.21.89685.811589685.89685.89685.10218.19.99%.21.F115.20.89685.89685.89685.10.500100.HOMEEND.10.89685.R.10.100.50.3%.1.3.1

2、816.10.F5.F6.Enter.P.ModsMods.3.datascriptsplayerprofile.luaif not table.contains(CHARACTERLIST, character) thenreturn true - mod characterendreturn falseif not table.contains(CHARACTERLIST, character) thenreturn true - mod characterendreturn true.10datascriptstuning.lua1. local wilson_health = 150l

3、ocal wilson_health = 15002. WX78_MIN_HEALTH = 100,WX78_MIN_HEALTH = 1000,3. WX78_MAX_HEALTH = 400,WX78_MAX_HEALTH = 4000,4. WOLFGANG_HEALTH_MIGHTY = 300,WOLFGANG_HEALTH_NORMAL = 200,WOLFGANG_HEALTH_WIMPY = 150,WOLFGANG_HEALTH_MIGHTY = 3000,WOLFGANG_HEALTH_NORMAL = 2000,WOLFGANG_HEALTH_WIMPY = 1500,1

4、010.datascriptsprefabsplayer_common.luaponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)ponents.health:StartRegen(30, 10)301010.10datascriptstuning.luaHEALING_TINY = 1,HEALING_SMALL = 3,HEALING_MEDSMALL = 8,HEALING_MED = 20,HEALING_MEDLARGE = 30,HEALING_LARGE = 40,HEALING_HUGE = 60,HEALING_SUPERHUGE

5、 = 100,HEALING_TINY = 10,HEALING_SMALL = 30,HEALING_MEDSMALL = 80,HEALING_MED = 200,HEALING_MEDLARGE = 300,HEALING_LARGE = 400,HEALING_HUGE = 600,HEALING_SUPERHUGE = 1000,10.datascriptsprefabsplayer_common.lua1. inst.Transform:SetFourFaced()local function OnAttacked(inst, data)if ponents.health and

6、not data.attacker:HasTag(player) thenponents.health:DoDelta(TUNING.HEALING_SUPERHUGE*5)ponents.sanity:DoDelta(TUNING.SANITY_HUGE*5)ponents.health:DoDelta(-TUNING.HEALING_SUPERHUGE*30)endendinst:ListenForEvent(attacked, OnAttacked)2. inst:AddComponent(grue)ponents.grue:SetSounds(dontstarve/charlie/wa

7、rn,dontstarve/charlie/attack)-inst:AddComponent(grue)-ponents.grue:SetSounds(dontstarve/charlie/warn,dontstarve/charlie/attack).datascriptsprefabsresurrectionstone.luainst:Remove()SpawnPrefab(resurrectionstone).Transform:SetPosition(inst.Transform:GetWorldPosition().datascriptstuning.luaSANITY_DAY_G

8、AIN = 0,-100/(day_time*32),SANITY_NIGHT_LIGHT = -100/(night_time*20),SANITY_NIGHT_MID = -100/(night_time*20),SANITY_NIGHT_DARK = -100/(night_time*2),SANITY_DAY_GAIN = 100/(day_time),SANITY_NIGHT_LIGHT = 100/(night_time),SANITY_NIGHT_MID = 100/(night_time),SANITY_NIGHT_DARK = 100/(night_time),.datasc

9、riptstuning.lualocal calories_per_day = 75local calories_per_day = 075.datascriptstuning.luaFREEZING_KILL_TIME = 120,STARVE_KILL_TIME = 120,FREEZING_KILL_TIME = 1200,STARVE_KILL_TIME = 1200,10.datascriptsprefabsplayer_common.luainst:AddComponent(grue)ponents.grue:SetSounds(dontstarve/charlie/warn,do

10、ntstarve/charlie/attack)-inst:AddComponent(grue)-ponents.grue:SetSounds(dontstarve/charlie/warn,dontstarve/charlie/attack)ponents.health.fire_damage_scale = 0.datascriptstuning.lualocal wilson_attack = 34local wilson_attack = 50034500.datascriptscomponentsplayeractionpicker.lua2passable = tile = GRO

11、UND.IMPASSABLEpassable = tile = GROUND.IMPASSABLE21.datascriptstuning.luaWILSON_WALK_SPEED = 4,WILSON_RUN_SPEED = 6,WILSON_WALK_SPEED = 8,WILSON_RUN_SPEED = 12,1.datascriptstuning.lua1. PIGGYBACK_SPEED_MULT = 0.8,PIGGYBACK_SPEED_MULT = 1,2. ARMORMARBLE_SLOW = 0.7,ARMORMARBLE_SLOW = 1,.datascriptstun

12、ing.luaCANE_SPEED_MULT = 1.25,CANE_SPEED_MULT = 2.5,1.181. datascriptsprefabsplayer_common.luainst:AddComponent(builder)ponents.builder.science_bonus = 3ponents.builder.magic_bonus = 3ponents.builder.ancient_bonus = 42. datascriptsprefabswickerbottom.luaponents.builder.science_bonus = 1-ponents.buil

13、der.science_bonus = 1.datascriptsactions.luaBUILD = Action(),BUILD = Action(0, true),.Ctrl +1datascriptsprefabsplayer_common.luainst:AddComponent(resurrectable)TheInput:AddKeyUpHandler(KEY_1, function()if TheInput:IsKeyDown(KEY_CTRL) thenlocal map = TheSim:FindFirstEntityWithTag(minimap)local x,y,z = GetPlayer().Transform:GetWorldPosition()map.MiniMap:ShowArea(x, y, z, 10000)endend)Ctrl + 1.datascriptstuning.luaSTACK_SIZE_LARGEITEM = 10,STACK_SIZE_MEDITEM = 20,STACK_SIZE_SMALLITEM = 40,STACK_SIZE_LARGEITEM = 999,STACK_SI

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论