Skip to content

Releases: RimWorldCCLTeam/CommunityCoreLibrary

Alpha 12 Release

23 Aug 04:06
Compare
Choose a tag to compare

This is the RimWorld Alpha 12 update of the Community Core Library.

Users should download the User Release below.
Modders should download the Modders Resource below.
Advanced modders should download the source below.

Bug fixes and Repository Movement

01 Aug 18:56
Compare
Choose a tag to compare

This release fixes save/load bugs with CompRefrigerated, now buildings using this don't need a power toggle on game load. Also fixed is some instances when lights and growers can't share information through linker type.

Created RimWorldCCLTeam and move repository from my personal account to this team account. New members to follow (mipen is cooking up something cool).

Alert! Something has collapsed because it's support has been removed!

09 Jul 21:07
Compare
Choose a tag to compare

This release is built against RimWorld Alpha 11b.

v0.11.3

[adds]

  • RestrictedPlacement_Comp now ticks (normal(1:250) and rare(1:1)) and destoys the Thing if it's support disappears, an alert is also thrown to the player

[changes]

  • PlaceWorker_WallAttachment should only work as intended on natural and man-made walls (use edifice AND graphic linker to validate)

Place This

07 Jul 22:36
Compare
Choose a tag to compare

This release is built against RimWorld Alpha 11b.

v0.11.2

[added]

  • CompLifespanPowered, similar to CompLifespan but only ticks when powered, credit: Vas
  • Building_Hydroponic, work-around to Building_PlantGrower not calling the base TickRare and thus comps not getting ticks
  • RestrictedPlacement_Properties (CompProperties), used by the various PlaceWorker restrictions
  • RestrictedPlacement_Comp (ThingComp), used by the various PlaceWorker restrictions
  • Lots of idea from mrofa:
  • Lockable advanced research
  • PlaceWorker_NotOnTerrain
  • PlaceWorker_OnlyOnTerrain
  • PlaceWorker_NotOnThing
  • PlaceWorker_OnlyOnThing (Use this if you want to place on a steam geyser)
  • PlaceWorker_RestrictedCount
  • CompColoredLight now has gizmos for setting other lights too
  • CompNeighbourlyGrower, gizmos for hydroponics to share sown plant

[changed]

  • Hydroponics Basin now is a power cycler and has gizmos to share plant sown between basins
  • Geothermal Generator now uses PlaceWorker_OnlyOnThing

Research & PlaceWorker Restrictions

02 Jul 02:41
Compare
Choose a tag to compare

[added]

  • PlaceWorker_NotOnTerrain
  • PlaceWorker_OnlyOnTerrain
  • PlaceWorker_RestrictedCount
  • RestrictedPlacement_Properties
  • RestrictedPlacement_Comp

[changed]

  • Advanced Research can now hide recipes and buildings as well has Action callbacks
  • Advanced Research now has a priority value to control flow of modifications

[Modders Resources]

  • Replacing Tech
  • PlaceWorker_Restrictions

Community Core Library

29 Jun 20:02
Compare
Choose a tag to compare

This is a basic set of functions which modders can use to enhance their RimWorld mods. Most of the library can be used from xml.

If you are a user which has a mod needing CCL, download the zip below and make sure it is enabled right after the 'Core' mod and before any mod requiring CCL.

If you are a modder, download the source and be sure to take a look in the 'Modders Resources' directory for examples on how to use the mod.

What the basic CCL mod offers:

Most buildings will not draw power when they are not in use. This includes the cookstove, machining table, etc. Some exceptions include the comms console.
Auto Doors draw less power when they are no actually opening or closing.
Artillery Shells require both 'Mortars' and 'Machining' research before they are available to be crafted at the machining table.
One standing lamp is available and the rest of the core lamps are hidden. This single lamp takes advantage of a new comp which allows for dynamic color changes on a single building, reducing the architects menu clutter.

As a modder, you will be interested in:

Advanced Research - Allows recipes and buildings to be hidden behind multiple research requirements.
Low Idle Power (ThingComp) - Allows tables which shouldn't use power when not in use to draw less.
Refrigeration (ThingComp) - Allows any Building_Storage to prevent foods from rotting. Does not magically heal the food but prevents further decay so long as the building has power.
Colored Lights (ThingComp) - One building style, multiple colors and a button to cycle through the options. The cycle button is hidden until the appropriate research is complete (by default "ColoredLights").
Placement restrictions (PlaceWorkers) - 'OnlyUnderRoof,' 'OnlyOnSurface' and 'WallAttachment.'