-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Initialize() (virtual) and InjectionSet (field) for ModConfigurationMenu + Examples for facility and trader kind (stock generator) injectors [fixes] + Small bugs in the facility and trader kind (stock generator) injectors [changes] + Library version to 0.12.7.2
- Loading branch information
ForsakenShell
committed
Apr 2, 2016
1 parent
a1c40c3
commit ea9dc8d
Showing
19 changed files
with
153 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+512 Bytes
(100%)
_Mod/Modders Resource/Community Core Library/Assemblies/Community Core Library.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
_Mod/Modders Resource/Examples/ModHelpers/Facility Injector/About/About.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ModMetaData> | ||
<name>Facility Injector</name> | ||
<author>RimWorld CCL Team</author> | ||
<url>n/a</url> | ||
<targetVersion>Community Core Library v0.12.7</targetVersion> | ||
<description> | ||
This is an example of how to inject facilities into buildings. | ||
|
||
Demonstrates: | ||
ModHelperDef Facilities | ||
</description> | ||
</ModMetaData> |
24 changes: 24 additions & 0 deletions
24
...s Resource/Examples/ModHelpers/Facility Injector/Defs/ModHelperDefs/Facility_Injector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<ModHelperDef> | ||
<defName>FacilityInjector</defName> | ||
|
||
<ModName>Facility Injector</ModName> | ||
|
||
<version>0.12.7</version> | ||
|
||
<Facilities> | ||
<li> | ||
<facility>ToolCabinet</facility> | ||
|
||
<targetDefs> | ||
<li>Bed</li> | ||
<li>RoyalBed</li> | ||
</targetDefs> | ||
</li> | ||
</Facilities> | ||
|
||
</ModHelperDef> | ||
|
||
</Defs> |
13 changes: 13 additions & 0 deletions
13
_Mod/Modders Resource/Examples/ModHelpers/Trader Injector/About/About.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ModMetaData> | ||
<name>Trader Injector</name> | ||
<author>RimWorld CCL Team</author> | ||
<url>n/a</url> | ||
<targetVersion>Community Core Library v0.12.7</targetVersion> | ||
<description> | ||
This is an example of how to inject stock generators into traders. | ||
|
||
Demonstrates: | ||
ModHelperDef TraderKinds | ||
</description> | ||
</ModMetaData> |
29 changes: 29 additions & 0 deletions
29
...dders Resource/Examples/ModHelpers/Trader Injector/Defs/ModHelperDefs/Trader_Injector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<ModHelperDef> | ||
<defName>TraderInjector</defName> | ||
|
||
<ModName>Trader Injector</ModName> | ||
|
||
<version>0.12.7</version> | ||
|
||
<TraderKinds> | ||
<li> | ||
<targetDef>PirateMerchant</targetDef> | ||
|
||
<stockGenerators> | ||
<li Class="StockGenerator_SingleDef"> | ||
<thingDef>Silver</thingDef> | ||
<countRange> | ||
<min>100000</min> | ||
<max>200000</max> | ||
</countRange> | ||
</li> | ||
</stockGenerators> | ||
</li> | ||
</TraderKinds> | ||
|
||
</ModHelperDef> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+512 Bytes
(100%)
_Mod/User Release/Community Core Library/Assemblies/Community Core Library.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters