Git游戏

您现在的位置是:首页 > 攻略大全 > 黑科技

黑科技

继续解锁市场买卖加资源修改

2023-08-11 黑科技4009
欢迎加入黑科技QQ群:934074044 交流,请勿在其它群炫耀修改成果,谢谢合作!
本文内容涉及修改、作弊,不喜勿入哈!

PS:每次转生和超转生以后js文件会重置所以要重新修改


--1、市场购买销售资源时加其他资源------------

47032行附近,key: "buy"和key: "sell"内部

this.MainStore.ResourcesStore.addResource(e, t);后添加

this.MainStore.ResourcesStore.addResource(e, 1000); //加购买资源1000

this.MainStore.ResourcesStore.addResource("research", 100000); //研究

this.MainStore.ResourcesStore.addResource("gold", 100000); //黄金

this.MainStore.ResourcesStore.addResource("food", 100000); //食物

this.MainStore.ResourcesStore.addResource("wood", 100000); //木头

this.MainStore.ResourcesStore.addResource("stone", 100000); //石头

this.MainStore.ResourcesStore.addResource("copper", 100000); //铜

this.MainStore.ResourcesStore.addResource("iron", 100000); //铁

this.MainStore.ResourcesStore.addResource("tools", 100000); //工具

this.MainStore.ResourcesStore.addResource("cow", 100000); //牛                              

this.MainStore.ResourcesStore.addResource("horse", 100000); //马

this.MainStore.ResourcesStore.addResource("steel", 100000); //钢

this.MainStore.ResourcesStore.addResource("faith", 100000); //信念

this.MainStore.ResourcesStore.addResource("mana", 100000); //法力

this.MainStore.ResourcesStore.addResource("building_material", 100000); //原料

this.MainStore.ResourcesStore.addResource("crystal", 100000); //水晶

this.MainStore.ResourcesStore.addResource("supplies", 100000); //补给 

this.MainStore.ResourcesStore.addResource("saltpetre", 100000); //硝石

this.MainStore.ResourcesStore.addResource("natronite", 100000); //钠红石

//后两项看不见但是转生时有效

this.MainStore.ResourcesStore.addResource("luck", 50); //幸运,不晓得有无副作用,加一点意思下

this.MainStore.ResourcesStore.addResource("fame", 10000); //声誉


--1结束------------

--2、由评论区获得------------

--点按右边【食物】【木材】【石头】时增加其他材料,于第一次时代进化时失效(按钮消失)------------

于main*****.js搜索

e.props.MainStore.ResourcesStore.addResourceManual(e.props.id, e.props.manual)

末尾加个;

然后添加下面这堆,按资源类型增加行,和数量,注意头和上面不太一样

e.props.MainStore.ResourcesStore.addResource("research", 100000);

e.props.MainStore.ResourcesStore.addResource("gold", 100000);

e.props.MainStore.ResourcesStore.addResource("food", 100000);

e.props.MainStore.ResourcesStore.addResource("wood", 100000);

e.props.MainStore.ResourcesStore.addResource("stone", 100000);

e.props.MainStore.ResourcesStore.addResource("copper", 100000);

e.props.MainStore.ResourcesStore.addResource("iron", 100000);

e.props.MainStore.ResourcesStore.addResource("tools", 100000);

e.props.MainStore.ResourcesStore.addResource("cow", 100000); 

e.props.MainStore.ResourcesStore.addResource("horse", 100000);

e.props.MainStore.ResourcesStore.addResource("steel", 100000);

e.props.MainStore.ResourcesStore.addResource("faith", 100000);

e.props.MainStore.ResourcesStore.addResource("building_material", 100000);

e.props.MainStore.ResourcesStore.addResource("crystal", 100000);

e.props.MainStore.ResourcesStore.addResource("supplies", 100000);

e.props.MainStore.ResourcesStore.addResource("saltpetre", 100000);

e.props.MainStore.ResourcesStore.addResource("natronite", 100000);

e.props.MainStore.ResourcesStore.addResource("luck", 50);  

e.props.MainStore.ResourcesStore.addResource("fame", 10000); 

--2结束------------

已知资源:

army: "军队",coin: "代币",copper: "铜",cow: "奶牛",crystal: "水晶",faith: "信念",

fame: "声誉",food: "食物",gold: "黄金",horse: "马",iron: "铁",     legacy: "传承",

luck: "运气",mana: "法力",natronite: "钠红石",population: "人口",     stone: "石头",

relic: "遗物",research: "研究点",tools: "工具",wood: "木材",building_material: "原料",

steel: "钢",supplies: "补给",saltpetre: "硝石",tome_wisdom: "智慧卷轴",gem: "宝石",

titan_gift: "泰坦之礼物"


修改完毕按ctrl+S保存文件!

文章评论

共有0条评论来说两句吧...