Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Adding medcine and turret fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhrocks11 committed Apr 1, 2020
1 parent 5b6dc57 commit 26bff75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Binary file modified Assemblies/CombatExtended.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions Languages/English/Keyed/LoadoutGeneric.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@

<CE_Generic_Ammo>Any Ammo for {0}</CE_Generic_Ammo>

<CE_Generic_Medicine>Any Medicine</CE_Generic_Medicine>

<CE_Generic_Divider>/</CE_Generic_Divider>
</LanguageData>
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ static LoadoutGenericDef()
generic.description = "Generic Loadout for Medicine. Intended for pawns which will handle triage activities.";
generic.label = "CE_Generic_Medicine".Translate();
generic.thingRequestGroup = ThingRequestGroup.Medicine;

generic.isBasic = true;
defs.Add(generic);
// now for the guns and ammo...

// Get a list of guns that are player acquireable (not menuHidden but could also go with not dropOnDeath) which have expected comps/compProperties/verbs.
List<ThingDef> guns = everything.Where(td => !td.menuHidden &&
td.HasComp(typeof(CompAmmoUser)) && td.GetCompProperties<CompProperties_AmmoUser>() != null &&
Expand Down

0 comments on commit 26bff75

Please sign in to comment.