边缘世界 RimWorld

边缘世界 RimWorld

79 个评价
Configurable Techprints
4
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
455.692 KB
2022 年 10 月 18 日 上午 2:09
7 月 19 日 下午 9:21
11 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Configurable Techprints

在 MakeItSo 的 1 个合集中
Behold: My stuff! (MakeItSo's Mods)
2 件物品
描述
A Rimworld mod to give players the ability to generate techprints for any research and modify their values to customise the gameplay experience.

It's a niche market, yeah, but about as lightweight as you can get for some extra customisability for those more RP games, so why not?

Intro


A list of possibilities with this mod:
  • Do you want to set a hard barrier between industrial technology and more primitive tech? Make electricity require 5 techprints and cost 5x the research - you can also prevent it from generating in trader's stock to make it quest-only.

  • Spaceship ending too easy? Lock off all spacer tech.

  • Want to make certain guns or armour upgrades a little harder to come by? A techprint limit on those techs but a lower research cost'll do ya.

  • You can also remove native/modded techprints and change the research cost if that's more your style. May be redundant if all you want to do is remove *all* techprints though. This mod just lets you set the values without XML patches on a research-by-research basis.

  • Modders may find it useful to try out techprint viability without XML patches or modifying defs.
Basically it cuts out the need for personal XML patches for most techprint related stuff, but does require a little bit of know-how and a willingness to tweak and test values to find your own balance. More beginner-friendly features are planned to make setting up scenarios with specific techprints easier in the future.

Description


Configurable Techprints leverages the existing integration of techprints in vanilla/royalty, using them as valid gifts or quest rewards and showing up in trader's inventories if they were already set up to sell them.
They can also be used to speed up research if you have extras after unlocking the project, a much more likely event with the number and range of techprints this mod can unlock.

Techprints can be generated for any research project, with price, number and rarity based on the project's research cost, tech level and a number of modifiers that can be changed in the settings.
Players can choose to auto-generate techprints by tech level this way, set custom techprint values for any project they wish, or any combination of the two.

As adding dozens of techprints to the game can somewhat change the parameters of their possible stock, techprint traders are also handled by this mod and are also customizeable to a smaller extent.
The settings page allows players to modify trader stock counts to accommodate the techprints that have been generated, or to add techprints to traders and factions who do not stock them by default (including any mod-added traders).
This can be used just to extend techprint trading to modded factions, or change which faction has access to which techprint on a more finely-tuned basis.

Comes with a heavily documented settings page to give players the information they need to modify the technologies and traders they wish.


Changelog


See Change notes

Planned Features/Future Plans:


See Future Plans.

Compatibility:


  • Should be compatible with everything that doesn't touch the vanilla usage of techprints or research progression

  • Probably not compatible or fully compatible with mods that do do those things - Techshards, Randomized Research, etc. Test and let me know what you find and I'll put it here.
    - WVC-Core (?) Got a report that it doesn't work, but may be able to have techprint code turned off for that mod, please let me know if doing that solves the issue.
    - VFE Tribals - messes with research heavily, looking into compatibility but not yet.

  • Might also have issues with anything that modifies traders's stock generation significantly - most importantly the TechprintUtility C# Class, and the StockGenerator_Techprints class that are used to select techprints by a weight value.

  • Not yet tested with all of the various research screen/layout mods but if they handle techprints dynamically we should be fine.

  • Doesn't allow generation of techprints for research projects whose defName ends in a digit (Rimworld engine limitation). It does handle those projects gracefully though (no errors, just no techprints for those projects either).

Why does it do that?


  • Why does the mod start with everything enabled? I only want to add a couple of techprints. Consider it an initial startup test. If something throws an error the first time you run the mod, better to know on game load than after you've spent time editing techprints and traders how you like them. Turning techprints off, ignoring traders and restarting is a one-time-only process and lets you know if things are working correctly.

  • Why don't you just override those research projects with defNames you say you can't handle? Short answer: compatibility. Long answer: Other mods do this, but I don't want to add a feature that could lead to even greater compatibility issues. If you really want that project to work with techprints, speak to that mod's author (just be aware it might not be possible for various reasons). It may also be possible for you to change the research project's name yourself with an XML patch, but if that mod relies on the name elsewhere you may be out of luck.

Notes:


This is not the first mod I've made, but it's the first that I could call ready for public consumption. I'd wanted to do my own version of this for a long time but hadn't gotten the inspiriation to make it until I saw a similar mod on the workshop - Lost Technology 1/2/World. It's a great mod but didn't do exactly what I wanted; but all of the source was provided with no licence, and digging through that code gave me the idea for this. The project therefore started as a fork of 'Lost Technology' but has been rewritten so extensively to the point where maybe only a reference in a meta-file exists somewhere. Why didn't I contribute to that mod, you may ask? This started as tinkering late at night with what was available and grew quickly to be a very different mod, both technically and in scope and it just didn't seem like the right move. Never-the-less I would very much like to thank YAYO, telardo and any other contributors to that mod for setting me on the path to making my own. Cheers wonderful people!

Ready for translation, send me a PR and I'll happily add it in. Or just make a translation mod, either way the spice flows lol.

Links:


Github[github.com]
173 条留言
тетеря, блин 7 月 30 日 下午 4:08 
👍🙏
MakeItSo  [作者] 7 月 30 日 下午 4:07 
тетеря, блин: Yeah that mod looks to be the culprit from looking at the gist -> all the techprints with errors have 'USH' in the title. Seeing that vanilla techprints don't cause errors I'd expect there is something wrong with the way the techprint records have been created, but that is a complete guess.
тетеря, блин 7 月 30 日 下午 3:18 
also, not sure if it's related, but there are some errors with techprints:

https://gist.github.com/HugsLibRecordKeeper/ca09a7c7bc107ae8262845de23e7541b

Config error in Techprint_USH_FleshBreakerOperationRes: label contains illegal character(s): "[]{}". This can cause issues during grammar resolution. If this was intended, you can use the "ignoreIllegalLabelCharacterConfigError" flag.

possibly connected:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3221550806
MakeItSo  [作者] 7 月 30 日 上午 3:45 
тетеря, блин: Not a bad idea but I'm in maintenance mode with my 2 mods atm while I work on other stuff
тетеря, блин 7 月 30 日 上午 3:05 
Would be great to have an option for making another mod with it, like a patch to share with saved dependencies, so you could reorganize the research tree having different mods making it messy. A global wish:

https://psteamcommunity.yuanyoumao.com/workshop/discussions/18446744073709551615/600785448933028183/?appid=294100
MakeItSo  [作者] 7 月 29 日 下午 4:14 
@Nate700: study items works differently and are out of scope for this mod sorry. Also, many people seem to dislike it when a mod requires multiple DLCs lol
Nate700 7 月 29 日 上午 7:15 
also can add a no study item research toggle too?
MakeItSo  [作者] 7 月 25 日 下午 5:06 
@Nate700: Been a while since I changed this mod at all, but I'll consider it, it's not a bad idea.
Nate700 7 月 25 日 上午 3:45 
Can you add a remove all techprints toggle?
MakeItSo  [作者] 7 月 23 日 上午 12:57 
Thanks for the thanks y'all. *happy modder noises*