边缘世界 RimWorld

边缘世界 RimWorld

97 个评价
[ZAV] Glowstone
4
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
469.361 KB
2024 年 4 月 25 日 上午 7:41
7 月 21 日 上午 3:28
15 项改动说明 ( 查看 )

订阅以下载
[ZAV] Glowstone

在 Alexander Zagirov 的 1 个合集中
My mods
8 件物品
描述
Disclaimer
This is a rebalanced and fixed version of an existing mod. I claim no ownership of the mod!
Originally created by cuproPanda.

Description
First of all, this is not simply an update but a “fork”! It means that a significant number of fixes and changes took place according to my personal vision. If you don't like it, I'm open to discussion and with some solid arguments may even change something.

Cleanup
It felt like no one actually done anything with this mod from the time of 1.0 release. Had to look through and crosscheck all of the mod’s files, reorganize them, cleanup a lot of outdated xml code and duplicates of vanilla def’s with minimal changes to them. It seems like the original author didn’t really had a good grasp on how the whole def system works and a way to forbid inheritance of properties from existing abstract def’s. I felt mentally tired after finally finishing everything…

Glowstone
  • “Glowstone” tab have been removed from the architect menu.
  • Two glowstone deposits (small and large) merged into one that drops glowstone clusters to minimize resource nodes clutter.
  • For the same reason both small and large glowstones have been removed from the deep resources spawn.
  • Recipes from stonecutting table (to cut and crush glowstones) have been added to crafting spot.
  • If Vanilla Iron and Steel (Continued) mod is installed - recipes from electric smelter (to weld glowstone and make glowstone tiles) will be available at a bloomery.
  • Fixed “weld 4 glowstone cluster” recipe. It produced 8 instead of 4.
  • Patched Long-Range Mineral Scanner. Now it can be used to look for glowstone clusters.
  • By popular demand added normal / darklight toggle to all glowstone lams, sculptures, etc…
Sculptures
  • Fixed small glowstone sculpture recipe. For some reason it had a stuff category assigned to it.
  • Ideology DLC: added missing StyleDominance property to all sculptures.
  • Ideology DLC: used XML Extensions to automatically patch compatibility for all sculptures with all available ideology styles. Writing those patches by hand is too time consuming and tedious. Obviously, this patch requires XML Extensions to work.
Glowstone-plated tiles
  • Added compatibility with Designator Shapes for 2 tiles (strip and double strip). Both are designated as “draggable” (like normal walls) which for some reason makes it impossible to rotate them when used together with the “Designator Shapes” mod. Had to patch out “draggable” property from the tiles in case “Designator Shapes” is also installed.
  • Moved all tiles to the “Floors” tab and grouped them together into one dropdown menu to minimize clutter.
lamps
  • Glowstone lamp and Pylon moved to the “Furniture” tab.
  • Removed “flickable” comp from both of them. Can’t imagine how someone can “Turn Off” a glowing rock.
  • Added visible light radius to both of them.
  • Changed Glowstone lamp’s glowRadius from 7 to 8 to be the same as small glowstone chandelier.
Сeiling lamps
Custom assembly in charge of ceiling mounted laps still works… I tested it excessively for a couple of days on a heavily modded game to see if something breaks, but surprisingly it just works. I also didn’t notice any drops in TPS which can happen with older assemblies. So, All Hail the original creator for this robust piece of code. If this thing breaks I as sure as hell won’t be the one trying to fix it. I don’t have much time for games, even less so for moddind, and dubbing into programming for Rimworld is out of the question. So, pray it never happens.
  • Ceiling lamps aren’t stuffable anymore. Partly because their texture didn’t support color changes anyway, and partly because it’s impossible to group stuffable items into a dropdown menu.
  • And you guessed it - I moved ceiling lamps to the “Furniture” tab and grouped them together into one dropdown menu to minimize clutter.
  • Added visible light radius to all of them.
  • Changed large glowstone chandelier’s glowRadius from 13 to 12.
  • If used together with the “Simple Utilities: Ceiling” mod, replaces all ceiling lamps with a better versions based off Owlchemist’s custom def’s and comp's for a ceiling-mounted fixtures, and also moves them to a dropdown category from his mod.
Glowstone EMP shell & Glowstone IED
Removed. Never found a use for this cr*p. Don’t ever ask me to return it.
Glowstone column
  • Added glowstone columns.
  • Patched ideology room and royal titles to accept glowstone columns as a valid “column”. Requires VE Framework to work. I could’ve written a more complex patch to not rely on VEF, but didn’t want to overcomplicate things. Practically everyone uses it anyway.
  • As with glowstone sculptures used XML Extensions to automatically patch compatibility for glowstone columns with all available ideology styles.

Compatibility
IDs
ID: 3231900626 Mod ID: zav.glowstoneForked
110 条留言
Alexander Zagirov  [作者] 9 月 10 日 下午 12:10 
@Olfan before saying anything can you read mod description? Especially “Сeiling lamps” part where I explained things about this mod’s assembly. Source code is inside mod folder.
Olfan 9 月 10 日 下午 12:01 
Of course when you disable error checking you will no longer see the errors. But wouldn't you want to know that they exist even if they don't break anything yet? I know maintaining mods for video games is not the same as building backend software for a bank, but I'd never publish something that could be flagged by an error checker.

I'd have a look at the code myself and see how the error checker comes to believe there's a reference to a non-existing method, but I couldn't find a link to a public repo for this mod.
Alexander Zagirov  [作者] 9 月 3 日 上午 7:35 
@ましろ *facepalm* you’re using “Mod Error Checker”? Remove it and VERY LIKELY there will be no more errors. This thing is a tool for developers and errors it shows often not errors but missing optional arguments and so on. I really need to put a big red alert somewhere on a mod page for people to stop reporting errors from this mod.
ましろ 9 月 3 日 上午 7:26 
Hi,
I investigated the issue using Mod Error Checker, and it points to Glowstone.dll, specifically the method:

public virtual void Minify()

inside CompChandelier. The error is a System.MissingMethodException for MinifyUtility.MakeMinified(Verse.Thing).
Alexander Zagirov  [作者] 9 月 2 日 下午 12:33 
@ましろ never seen this error. Probably a conflict with some other mod. Firs try loading only this mod with prerequisites and see if this error persists. If not then disable mods from you list one by one until you find the culprit. Based on error text itself it should be something related to minifying building.
ましろ 9 月 2 日 上午 7:50 
Error in [ZAV] Glowstone, assembly name: Glowstone, method: CompChandelier:Minify, exception: System.MissingMethodException: Method not found: RimWorld.MinifiedThing RimWorld.MinifyUtility.MakeMinified(Verse.Thing)
Pewter HailStorm 7 月 22 日 下午 4:40 
I got it back in 1.4, but then i sopped playing, when i came back (right as Odessy and 1.6 was released) Glowstone was outdated. And my foolish self didn't consider looking for it because i have been busy updating my mods. But now that i have time. i happily learned that, from my perspective, it's back!

And that makes me happy <3
Alexander Zagirov  [作者] 7 月 22 日 下午 2:01 
@Copper Boltwire it’s "been back" since 1.4
Pewter HailStorm 7 月 22 日 下午 12:44 
Omg, it's back <3
Jirki88 7 月 20 日 下午 9:05 
Yay, thanks! :)

I think it may mostly have been overlooked since you could get the big / small glowstones straight from mining before, so you'd only encounter the problem if you wanted tiles. Now, with getting the clusters from mining, it becomes a little more obvious.