RimWorld

RimWorld

Not enough ratings
Player's Only Lib
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
1.590 MB
16 Jul @ 12:27pm
18 Jul @ 12:34pm
3 Change Notes ( view )

Subscribe to download
Player's Only Lib

Description
Quick 'About':
Allows to specify things, hediffs, traits and backstories that are player specifics only.
No more NPCs or structures generated in the world.

How to Players:
You only need to sub to this and enable it, follow the sort rules, and enjoy.
Can be added midgame - Only NEW stuff won't be generated with the materials.

How to Modders:
Add
<modExtensions><li Class="PlayersOnly.PlayerOnly" MayRequire="CopperBoltwire.PlayersOnlyLib" /></modExtensions>
To any ThingDef, BackstoryDef, TraitDef or HediffDef
And the NPC generation and World generation will not use the stuff you added it to.

You can also use patch operations, examples are in the "Source and example patches.zip".

Now you can enjoy those OP mods as long as they have the above added to their things, and NPCs/Buildings won't generate with them.

Credits:
Taranchuk Made the main code. I paid and had the idea (for years). It's now FINALLY a reality.

Discord server:
Click here to join my server.[discord.gg]
12 Comments
Copper Boltwire  [author] 17 Jul @ 9:57am 
Had someone else test this mod to see if it works. And it works just fine.
So DeathGun, you just did things incorrectly.

OP-G Already has the lines of text on the items.
Copper Boltwire  [author] 17 Jul @ 9:00am 
Alright, the crafting issue, and storage zone issue SHOULD have been solved.
Copper Boltwire  [author] 17 Jul @ 7:51am 
Okay, in that case something weird is going on, because all you need to do is enable the mod, load it before OverPowered Gaming and that should be that. Done deal.

Now it won't remove building that has already been generated, only prevent future generation.

So if you start a new temp game, and enable dev mode, use "basegen..." then select settlement.
then just mark a huge area, and it should not generate anything with my mod.
DeathGun 17 Jul @ 4:28am 
I'm not trying to modify the mod in any way.

I just thought that if I just add the library, the mod items (OPG walls, interior items, etc.) will stop appearing.

But no... They still appear during world generation.

And, as I understood from the description you attached to the library in the workshop, you need to add some line...

So I'm trying to understand... What and how do I need to fix...

Either I just didn't understand the purpose of the library... or the initial generation can't be fixed... I don't know...
Copper Boltwire  [author] 17 Jul @ 3:59am 
NOTICE: There is a bug discovered with the mod that i'm waiting for Taranchuk to help patch.
Any item marked "Players only" are also removed from crafting ingredient lists and storage zone lists. And possibly more.
I reached out to Taranchuk, but they are not yet online. Most likely at work as of writing this.
Copper Boltwire  [author] 17 Jul @ 3:55am 
Let me ask this question: What are you trying to do here?
Are you trying to mod your own stuff, or someone elses mod?
If you come to my Discord server i might be able to help you more directly - Link above

(Yeah i just added the link, because i realized i had forgotten to do that lol)
DeathGun 17 Jul @ 3:32am 
Dude, forgive my stupidity. But I'd rather ask 1000 questions to figure it out, and maybe it will help those who decide.

1. In the library folder there is an archive called "Source code and sample patches". Do I need to unpack it?

2. If I unpack it, then to the library folder or to the mod folder?

3. If there is a folder hierarchy in the unpacking, then specify the path...

Sorry, buddy, if I finish you off...
Copper Boltwire  [author] 17 Jul @ 3:09am 
Okay i see the flaw in my thinking.
Put that line of text into the Thingdef.
Example:
<ThingDef>
<defName>CB745_PointlessDoodad</defName>
<label>Blabhlbahdfhg</label>
<modExtensions><li Class="PlayersOnly.PlayerOnly" MayRequire="CopperBoltwire.PlayersOnlyLib" /></modExtensions>
</ThingDef>
DeathGun 17 Jul @ 1:52am 
Dude... I, who have no idea about codes at all... Where should I even insert that line from the example?
DeathGun 17 Jul @ 1:28am 
Okay... Okay... As always, I didn't check the description... So I'll have to write the exceptions myself?