Giter VIP home page Giter VIP logo

morebuilds's Introduction

Project Zomboid MoreBuilds Mod

  • Project: ProjectSky
  • Date: September 10, 2015

Description

  • This mod adds more builds containers, furniture, decorations and more to the game
  • If you like this mod, don't forget to star

External link

morebuilds's People

Contributors

nshpam avatar projectsky avatar tomasdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

morebuilds's Issues

完善代码注释

代码缺少注释,目前已经补全一部分,仍有缺失需补充或修改

优化性能

ISContextMenu性能过差,经测试,注册300+ISContextMenu实例会导致游戏主线程冻结0.24秒左右,这是非常严重的问题, 可能需要官方解决,除非不使用ISContextMenu改用其它交互系统,先待定,如果有好办法再处理这个问题

重写材料需求代码

目前解析材料需求的代码过于繁琐,材料添加/修改需要同时编辑neededMaterials和modData表,重写后仅需修改/添加neededMaterials表

新的neededMaterials表结构如下

MoreBuild.neededMaterials = {
	Material = {
		'need:Base.Nails=10',
		'need:Base.Rope=5',
		'need:Base.Plank=5',
		'need:Base.Gravelbag=2',
		'need:Base.BucketEmpty=1',
		'xp:Woodwork=50'
	}
}

完善API

目前缺少可用的API,需要实现这些内容,API预计可用来添加新建筑菜单,禁用/启用已有建筑,修改属性

Customize construction materials

Hello, good evening. First of all, I have used the mod, and the truth is that it is a great job. However, I was wondering, if it is possible to make, that the materials that some of them ask for, were different, given, that in some occasions, certain elements, are cheaper to build, than the official ones, and that makes the game a little unbalanced.

I am initiating in the development of mods, so if possible, I would like to collaborate with you in this new implementation. However, when trying to access the information of some methods, I find little documentation, which makes it a little difficult for me to understand some things yet.

I have participated in some open source projects. I've used Lua a little bit, in the World of Warcraft addons, but not really too much yet. That's why I was interested in learning a bit more about it.

Hopefully, I can help you in the expansion of the mod.
Greetings.
Walter.

Pd. I leave you my discord: Stevej#5879

优化材料/技能需求

很多建筑的材料/技能需求目前并不完善,需要调整,可能在完成重写材料需求代码后开始这项工作

Some names wrong in EN Translation

During translation to portuguese, I noticied some issues with English translation, please check when you have time.

(Actual name in game) ► (How I changed)

CHANGED
Beige Wooden Chair ► Brown Wooden Chair
Brown Wooden Chair ► Beige Wooden Chair
Powder Blue Armchair ► White Armchair
Powder Blue ► White
Gray Counter ► Metal Counter
Gray Corner ► Metal Corner
Theatre Storage ► Theatre Popcorn Storage
White Stairs ► Dark Brown Stairs
White Wooden Motel Stairs ► Brown Stairs
Gas-2-Go Counter ► Gas-2-Go Corner
Square Beige Table ► Beige Square Table
Brown Office Tabl ► Brown Office Table

CANT CHANGE (didn't find option in translate files)
Long Table ► Long Dark Wooden Table
Long Light Table ► Long Light Wooden Table
Long Dark Table ► Long Brown Table

添加配置文件

通过配置文件来设定一些变量和建筑权限,需兼容多人模式,客户端读取服务器发送的配置

支持多种工具

目前工具需求的代码有点硬编码的意思,需要改进此处的代码使其可以方便添加新工具类型,例如识别原版中的多种锤子来进行建造

优化代码结构

目前代码结构仍需优化调整,很多地方并不完善,仍在调整

Sliding doors?

I'm not familiar enough with Lua, and I wasn't able to find where the submenu for Doors is set. I'm interested in allowing these doors:

image

关于载入存档时会弹出ERROR的报告

游戏为最新正式版本,且验证过游戏完整性
仅启用了MoreBuild模组,在进入存档的时候会弹出一个ERROR(不论是新开存档还是载入旧档)
目前并未发现其他的触发方法
禁用所有模组,使用纯原版进入档则没有ERROR提示

以下为录频
https://user-images.githubusercontent.com/35412032/153756731-6affbeb8-abeb-4786-a52a-415ff9abe458.mp4
以下为日志(仅包含录频期间产生的log)
13-02-22_22-00-45_DebugLog.txt

我并不清除是否系个人电脑原因引起的问题,如果真是如此,我对此感到十分抱歉👀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.