边缘世界 RimWorld

边缘世界 RimWorld

39 个评价
CCRT Item Tags
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4
文件大小
发表于
更新日期
1.314 MB
2022 年 10 月 24 日 下午 4:21
2022 年 11 月 11 日 上午 4:28
11 项改动说明 ( 查看 )

订阅以下载
CCRT Item Tags

描述
An item tagging system by Chief_Curtains

GitHub Repo: https://github.com/ChiefCurtains/CCRT_itemTags_RimworldMod.git

Coding is based on TagIt by Colinfang and Favourites by XeoNovaDan

I created this mod following several hours of frustration when dealing with my Pawns equipping, eating, storing, and just generally being frustrating in regards to items that I would like more specific control over. Specifically when it comes to infusions from Infused 2 with stats that are irrelevant to the pawn that decided to equip them.

This C# in this mod is HEAVILY inspired by the work of Colinfang's "TagIt" and XeoNovaDan's "Favourites!". I added comments in the source file referencing code that was borrowed from XeoNovaDan's work. Thank you again for sharing your source online!

All C# coding was done by me. The icons are the Rimworld star art.

Description and Compatibility

- Twelve tags have been added which can be applied to Pawns, Items, Minified Buildings, Cat Girls, Manure, whatever works for you!
- These tags can be renamed in the mod setting menu.
- As of this version, the tags are static A through L. The visibility of these tags can be individually toggled in the mod settings menu. I will look into support for adding more tags in the future.
- The stockpile, apparel, and food restrictions work as expected. If you tag it, they will come (or not come, I guess).
- The mod is safe to add mid game. I would not recommend removal, but I doubt it will have any major negative effects. That is your risk to take.
- The mod has a very light influence on the save file. It will simply add a value to any tagged item, following the format <color=green><b> "ccrt_itemATag" </b></color>. This was to make save cleaning easier and I wish more modders would follow this standard when their code scribes to the save file.
- I don't play Rimworld: Combat Extended, so I don't know. Don't ask.

Follow-Up

I plan to update the mod over time based on suggestions and feedback. I enjoy the challenge of finding new ways to weasel features into the game code so let me know in the comments if you have anything you would like to see added or additional options you would like and I will see what I can do (within reason).

I know that Auto-Favoriting was a huge bonus in Favourites by ZeoNovaDan. Now (11Nov22) that I consider this mod's foundation to be complete, I am going to look into adding that feature. It will likely take some time since the vanilla sources that Dan called on for this feature have changed significantly.

If you have any issues, hit me up on Steam and I will try to help after pretending I am too busy to reply to your message.

Enjoy!
热门讨论 查看全部(2)
11
2023 年 11 月 10 日 下午 4:21
置顶: Suggestions!
Chief_Curtains
3
2022 年 11 月 5 日 上午 6:02
Github?
RobertPaulson
65 条留言
Macanaki 8 月 5 日 上午 7:30 
In 1.6 the tags are not shown in the objects and the settings are broken. However, if you mark an object with a tag, while the tag isn't shown, the logic still works. So you can't easily see what's tagged and what's not, and you can't change the settings, but otherwise it works.
Count 7 月 21 日 下午 7:45 
Loved the mod!
Would leave to see it revived (seems to have issues in 1.6)
Sicroto 6 月 28 日 下午 4:48 
over bloated, no need for so many tags.
Luke Vale 6 月 22 日 上午 8:38 
I'm just going to force run this in 1.5 and see if I run into any issues.
Teamson 5 月 3 日 上午 7:15 
@OP its great that we can disable some of the tags - but in the stockpile those are still there: which makes for a lot of bloat.
Fatal 2024 年 6 月 11 日 上午 9:56 
Would love to see this for 1.5!
Three 2024 年 4 月 28 日 下午 3:53 
Is it safe to use this in version 1.5? :guard:
Chief_Curtains  [作者] 2024 年 4 月 8 日 上午 2:05 
I'm planning to get back into working on this with Ritual coming out soon. My goal is to get this better integrated with the UI to allow for the ability to modify the tags which are visible on the storage list. I've been working a lot with C# and XML on a private project and I can probably lean on ChatGPT a little to help me figure out how to get the storage UI to update custom names.

The main issue I was having when I last worked on it was the permanence of the storage list. Once the game loads storage categories from XML, it locks them in for the duration of that session. I wanted to avoid having to restart the game just to update a Tag name on the UI. Hopefully I can either find a solution to that or at the very least make the Tag category collapsible.

Thanks to everyone who has been using the mod and providing feedback!
Luke Vale 2024 年 3 月 18 日 上午 6:13 
I believe it's because it's using the games stock system for "Allow type of X" which doesn't support collapsing. You'd need to probably just disable tags not being used in the settings.
Rexstriker 2023 年 11 月 23 日 下午 2:24 
Can you make the tag list for stockpiles collapsible? It takes up a lot of space.