Ludeon Forums

RimWorld => Mods => Help => Topic started by: RemingtonRyder on December 26, 2014, 08:45:24 PM

Title: Single-tile battery gauge
Post by: RemingtonRyder on December 26, 2014, 08:45:24 PM
I added a single-tile battery for a mod I'm working on. However, obviously, the gauge fills as if the battery is two tiles big. Do I need an assembly to fix this?
Title: Re: Single-tile battery gauge
Post by: JuliaEllie on December 27, 2014, 02:28:46 PM
Quote from: marvinkosh on December 26, 2014, 08:45:24 PM
I added a single-tile battery for a mod I'm working on. However, obviously, the gauge fills as if the battery is two tiles big. Do I need an assembly to fix this?

yes because the drawer for the battery gauge is hard coded to two squares. You will have to write your own and make it only draw one square long.