Almost complete English DefInjected for 15.1284-3

Started by Latta, August 23, 2016, 11:46:40 PM

Previous topic - Next topic

Latta

Use this as your translation's template.

Includes new defs for A15:
ChemicalDefs, InstructionDefs

Changed following folders to what they should be:

  • Bodies (BodyDefs, BodyPartDefs, BodyPartGroupDefs)
  • Drugs (ChemicalDefs, HediffDefs, NeedDefs, ThingDefs, ThoughtDefs)
  • Incidents (IncidentDefs, RaidStrategyDefs)
  • Joy (JoyKindDefs)
  • KeyBindings (KeyBindingCategoryDefs, KeyBindingDefs)
  • PawnKindDefs_Humanlike (PawnKindDefs)
  • Rooms (RoomRoleDefs, RoomStatDefs)
  • Scenarios (ScenarioDefs, ScenPartDefs)
  • Stats (StatCategoryDefs, StatDefs)
  • ThingDefs_* (PawnKindDefs, ThingDefs)
  • Tutor (ConceptDefs, InstructionDefs)
  • (Please stop this madness Tynan why is it keep getting worse)

Download

It might contain a few untranslatable parts or missing ones. I did my check but make sure to look at it again.

pluhi

#1
Wow, thanks a lot! Is there any info on the location restrictions? Like drug related defs cannot be in separate folder, those have to be in ThingsDef, etc.

Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label

Latta

Quote from: pluhi on August 24, 2016, 10:21:59 AM
Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label

They are intended, as (I don't know why but) they actually has nothing in the first list. It's just <li></li>.

Latta

Updated to 1277: ConceptDefs and ThingCategoryDefs.

pluhi

#4
Not sure when was this added, but found some useLabels (I really should disable auto update on steam :))). You have to  reference them like this:

Buildings_Misc:
<FirefoamPopper.comps.1.useLabel>Trigger firefoam popper</FirefoamPopper.comps.1.useLabel>

Items_Artifacts:
<PsychicInsanityLance.comps.1.useLabel>Activate</PsychicInsanityLance.comps.1.useLabel>
<PsychicShockLance.comps.1.useLabel>Activate</PsychicShockLance.comps.1.useLabel>
<PsychicAnimalPulser.comps.1.useLabel>Activate</PsychicAnimalPulser.comps.1.useLabel>
<PsychicSoothePulser.comps.1.useLabel>Activate</PsychicSoothePulser.comps.1.useLabel>

Items_exotic:
<Neurotrainer.comps.1.useLabel>Use neurotrainer to learn {0}</Neurotrainer.comps.1.useLabel>

Latta

#5
Well uhh, I'm doing it by running a program, and as those have 'Label' in them it should've included. Guess its added recently and I didn't update yet.

Edit: Oh god they are in a abstract def! :'( :'( :'( :'(

Latta

Updated to 1280. Added useLabel, again lots of thanks to pluhi...

Sakuukuli

Hey, I have been doing almost the same thing on GitHub: https://github.com/Sakuukuli/RimWorld-Templates

I haven't updated it to alpha 15 yet because I have been busy, and my code needs rewriting, too. You can try my scripts if you have Python 3.2 installed. What's this mythical 'program' you are using?

capiqua

Alpha 15c changues in DefInjected:
DifficultyDef\
InstructionDefs\

Latta

Quote from: Sakuukuli on September 01, 2016, 07:07:23 AM
What's this mythical 'program' you are using?

C# Windows console program :P which uses regex. It would be better if it can really dig into RW's Assembly-CSharp.dll, its Defs, and find all strings but...

ykoehler

Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.

Latta


  • Removed instructionClass and beginLetterType.

Quote from: ykoehler on October 03, 2016, 11:22:24 PM
Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.
I don't know... I didn't get any.